Fix powerpc fmax, fmin sNaN handling (bug 20947).
[glibc.git] / ChangeLog
blobcf798fb84f0cf01558e2ddfad25bf4345c94646b
1 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20947]
4         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5         either is a signaling NaN.
6         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10         [BZ #20947]
11         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12         when either is a signaling NaN.
13         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
15         * bits/long-double.h: New file.
16         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
17         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
18         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
19         * sysdeps/mips/bits/long-double.h: Likewise.
20         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
21         * math/Makefile (headers): Add bits/long-double.h.
22         * misc/sys/cdefs.h: Include <bits/long-double.h>.
23         * stdlib/strtold.c: Include <bits/long-double.h> instead of
24         <bits/wordsize.h>.
25         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
26         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
27         * math/math.h: Do not include <bits/mathdef.h>.
28         * sysdeps/aarch64/bits/mathdef.h: Remove file.
29         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
30         inclusion.
31         * sysdeps/ia64/bits/mathdef.h: Remove file.
32         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
33         * sysdeps/mips/bits/mathdef.h: Likewise.
34         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35         * sysdeps/s390/bits/mathdef.h: Likewise.
36         * sysdeps/sparc/bits/mathdef.h: Likewise.
37         * sysdeps/x86/bits/mathdef.h: Likewise.
38         * sysdeps/s390/s390-32/bits/wordsize.h
39         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
40         conditional code.
41         * sysdeps/s390/s390-64/bits/wordsize.h
42         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
43         Likewise.
44         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
45         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
46         Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
48         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
49         Likewise.
50         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
51         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
52         Likewise.
54         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
55         <linux/falloc.h>.
56         (FALLOC_FL_KEEP_SIZE): Remove.
57         (FALLOC_FL_PUNCH_HOLE): Likewise.
58         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
59         (FALLOC_FL_ZERO_RANGE): Likewise.
61 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
63         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
65 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
67         * sysdeps/unix/sysv/linux/renameat.c: New file.
68         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
70         * sysdeps/unix/sysv/linux/rename.c: New file.
71         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
73 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
75         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
76         * string/strtok.c (strtok): Change to tailcall __strtok_r.
77         * string/strtok_r.c (__strtok_r): Optimize for performance.
78         * string/string-inlines.c (__old_strtok_r_1c): New function.
79         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
81 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
83         * math/Makefile (gen-libm-calls): Add w_log1pF.
84         (libm-calls): Remove w_log1pF.
85         * math/w_log1p.c: Remove.
86         * math/w_log1pf.c: Likewise.
87         * math/w_log1pl.c: Likewise.
88         * math/w_log1p_template.c: New file with type-generic
89         implementation based on math/w_log1p.c.
90         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
91         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
93 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
95         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
97 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
99         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
100         kernel version to 4.9.
102 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
104         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
105         ($(inst_libdir)/libm.a): Fix rule to create the target only.
107 2016-12-13  Andreas Schwab  <schwab@suse.de>
109         * sysdeps/powerpc/dl-procinfo.c: Don't define
110         _dl_powerpc_platforms.
111         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
112         constants instead of referencing _dl_powerpc_platforms.
113         (_dl_platform_string): Remove.
115 2016-12-13  Florian Weimer  <fweimer@redhat.com>
117         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
119 2016-12-13  Florian Weimer  <fweimer@redhat.com>
121         * Rules (binaries-shared-tests, binaries-pie-tests)
122         (binaries-static-tests): Link with $(link-extra-libs-tests).
123         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
124         Remove $(link-extra-libs-tests).
126 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
128         * sysdeps/powerpc/powerpc64/multiarch/Makefile
129         (sysdep_routines): Add strncmp_power9.
130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
131         (strncmp): Add __strncmp_power9 to list of strncmp functions.
132         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
133         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
134         (strncmp): Add __strncmp_power9 to ifunc list.
135         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
137 2016-12-12  Florian Weimer  <fweimer@redhat.com>
139         [BZ #17252]
140         Add getentropy, getrandom.
141         * stdlib/sys/random.h: New file.
142         (headers): Add it.
143         * stdlib/Makefile (routines): Add getentropy, getrandom.
144         (tests): Add tst-getrandom.
145         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
146         * stdlib/getentropy.c: New file.
147         * stdlib/getrandom.c: Likewise.
148         * stdlib/tst-getrandom.c: Likewise.
149         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
150         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
151         * manual/crypt.texi (Unpredictable Bytes): New section.
152         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
153         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
154         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
162         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
163         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
169         Likewise.
170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
171         Likewise.
172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
178         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
185 2016-12-10  Florian Weimer  <fweimer@redhat.com>
187         [BZ #20956]
188         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
189         as additional compiler barriers.
190         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
191         (fn2, do_test): Declare with external linkage.
192         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
193         (do_test): Declare with external linkage.
194         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
195         (do_test): Declare with external linkage.
196         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
197         (do_test): Declare with external linkage.
199 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
201         * support/support_test_main.c (support_test_main): Use correct
202         timeout.
204 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
205             Florian Weimer  <fweimer@redhat.com>
207         [BZ #16421]
208         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
209         and __u6_addr32 members.
210         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
211         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
212         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
213         Use __u6_addr32.
214         * inet/tst-checks.c: Use <support/test-driver.c>
215         * inet/tst-checks-posix.c: New file.
216         * inet/Makefile (tests): Add it.
217         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
219 2016-12-09  Florian Weimer  <fweimer@redhat.com>
221         New subdirectory support for build and test infrastructure.
222         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
223         setting install-lib.
224         * Makeconfig (link-extra-libs-tests): Define.
225         (+link-pie-tests, +link-static-tests, +link-tests): Use
226         link-extra-libs-tests.
227         (rpath-dirs, all-subdirs): Add support.
228         (built-modules): Add libsupport.
229         (libsupport): Define.
230         * support: New directory.
231         * support/Makefile: New file.
232         * support/check.c: Likewise.
233         * support/check.h: Likewise.
234         * support/delayed_exit.c: Likewise.
235         * support/ignore_stderr.c: Likewise.
236         * support/oom_error.c: Likewise.
237         * support/set_fortify_handler.c: Likewise.
238         * support/support.h: Likewise.
239         * support/temp_file-internal.h: Likewise.
240         * support/temp_file.c: Likewise.
241         * support/test-driver.c: Likewise.
242         * support/test-driver.h: Likewise.
243         * support/test_main.c: Likewise.
244         * support/write_message.c: Likewise.
245         * support/xasprintf.c: Likewise.
246         * support/xcalloc.c: Likewise.
247         * support/xmalloc.c: Likewise.
248         * support/xpthread_barrier_destroy.c: Likewise.
249         * support/xpthread_barrier_init.c: Likewise.
250         * support/xpthread_barrier_wait.c: Likewise.
251         * support/xpthread_cancel.c: Likewise.
252         * support/xpthread_check_return.c: Likewise.
253         * support/xpthread_cond_wait.c: Likewise.
254         * support/xpthread_create.c: Likewise.
255         * support/xpthread_detach.c: Likewise.
256         * support/xpthread_join.c: Likewise.
257         * support/xpthread_mutex_lock.c: Likewise.
258         * support/xpthread_mutex_unlock.c: Likewise.
259         * support/xpthread_sigmask.c: Likewise.
260         * support/xpthread_spin_lock.c: Likewise.
261         * support/xpthread_spin_unlock.c: Likewise.
262         * support/xrealloc.c: Likweise.
263         * support/xsignal.h: Likewise.
264         * support/xthread.h: Likewise.
265         * support_tempfile.h: Likewise.
266         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
267         (TEST_DATA_LIMIT): Remove unused macro.
268         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
269         <support/check.h>.
270         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
271         (ignore_stderr, set_fortify_handler): Remove.  Now in
272         <support/support.h>.
273         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
274         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
275         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
276         (xpthread_join): Remove.  Now in <support/xthread.h>.
277         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
278         Introduce legacy wrappers.
279         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
280         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
281         (write_message): Remove.
282         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
283         test-skeleton.c.
284         * io/test-open-tmpfile: Likewise.
285         * io/tst-posix_fallocate-common.c: Likewise.
286         * libio/tst-fseek.c: Likewise.
287         * malloc/tst-malloc-backtrace.c: Likewise.
288         * malloc/tst-malloc-fork-deadlock.c: Likewise.
289         * malloc/tst-malloc-thread-exit.c: Likewise.
290         * nptl/tst-cancel7.c: Likewise.
291         * nptl/tst-cleanup0.c: Likewise.
292         * posix/tst-posix_fadvise-common.c: Likewise.
293         * rt/tst-shm.c: Likewise.
294         * time/bug-getdate1.c: Likewise.
295         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
296         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
297         * elf/Makefile (tst-piemod1.so): Link against libsupport.
299 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
301         * Rules [$(run-built-tests) != no] (tests-expected): Add
302         $(tests-printers).
303         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
305 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
307         [BZ #20539]
308         * math/Makefile (install-lib-ldscripts): Add libm.a.
309         (install_subdir): Remove.
310         (install-others): Add.
311         ($(inst_libdir)/libm.a): Add rule for installation as
312         linker script.
313         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
315 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
317         * INSTALL: Regenerated.
318         * Makeconfig: Add comments and whitespace to make the control flow
319         clearer.
320         (+link-printers-tests, +link-pie-printers-tests,
321         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
322         built-rtld-LDFLAGS, link-libc-rpath,
323         link-libc-tests-after-rpath-link,
324         link-libc-printers-tests): New.
325         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
326         link-libc-tests): Use the new variables as required.
327         * Makerules ($(py-const)): New rule.
328         generated: Add $(py-const).
329         * README.pretty-printers: New file.
330         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
331         (others): Depend on $(py-const).
332         (tests): Depend on $(tests-printers-programs) or
333         $(tests-printers-out),
334         as required.  Pass $(tests-printers) to merge-test-results.sh.
335         * manual/install.texi: Add requirements for testing the pretty
336         printers.
337         * nptl/Makefile (gen-py-const-headers, pretty-printers,
338         tests-printers, CFLAGS-test-mutexattr-printers.c
339         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
340         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
341         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
342         * nptl/nptl-printers.py: New file.
343         * nptl/nptl_lock_constants.pysym: Likewise.
344         * nptl/test-cond-printers.c: Likewise.
345         * nptl/test-cond-printers.py: Likewise.
346         * nptl/test-condattr-printers.c: Likewise.
347         * nptl/test-condattr-printers.py: Likewise.
348         * nptl/test-mutex-printers.c: Likewise.
349         * nptl/test-mutex-printers.py: Likewise.
350         * nptl/test-mutexattr-printers.c: Likewise.
351         * nptl/test-mutexattr-printers.py: Likewise.
352         * nptl/test-rwlock-printers.c: Likewise.
353         * nptl/test-rwlock-printers.py: Likewise.
354         * nptl/test-rwlockattr-printers.c: Likewise.
355         * nptl/test-rwlockattr-printers.py: Likewise.
356         * scripts/gen-py-const.awk: Likewise.
357         * scripts/test_printers_common.py: Likewise.
358         * scripts/test_printers_exceptions.py: Likewise.
360 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
362         * scripts/build-many-glibcs.py (Context.__init__): Take strip
363         argument.
364         (Glibc.build_glibc): Strip installed shared libraries if
365         requested.
366         (get_parser): Add --strip option.
367         (main): Update Context call.
369 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
370             Dominik Vogt  <vogt@linux.vnet.ibm.com>
372         [BZ #20847]
373         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
374         array bounds for else branch.
375         (__execvpe): Style fixes.
376         * posix/tst-vfork3.c (run_script): New function.
377         (create_script): Likewise.
378         (do_test): Use run_script internal function.
379         (do_prepare): Use create_script internal function.
381 2016-12-07  Andreas Schwab  <schwab@suse.de>
383         * sysdeps/unix/sysv/linux/x86/elision-conf.h
384         (__elision_available): Don't declare.
385         * sysdeps/unix/sysv/linux/x86/elision-conf.c
386         (__elision_available): Don't define.
387         (elision_init): Don't set __elision_available.
389 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
391         [BZ #20940]
392         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
393         return Inf for arguments Inf and sNaN.
394         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
395         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
396         Likewise.
397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
398         Likewise.
399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
400         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
401         for arguments Inf and sNaN.  When returning a NaN, compute it by
402         arithmetic on the arguments.
403         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
404         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
405         arguments.
407 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
409         [BZ #20916]
410         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
411         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
412         to compute result.
413         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
414         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
416 2016-12-05  Torvald Riegel  <triegel@redhat.com>
418         * include/atomic.h (__atomic_check_size_ls): New.
419         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
420         atomic_store_release): Use it.
421         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
422         (elision_adapt, ELIDE_LOCK): Use atomics.
423         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
424         atomics and improve code comments.
425         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
426         (__lll_trylock_elision): Likewise.
428 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
430         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
431         programs.
433 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
435         [BZ #20916]
436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
437         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
438         arguments to compute result.
439         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
440         1 for arguments (sNaN, 0) or (1, sNaN).
441         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
444         [BZ #20919]
445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
446         NaN first argument when raised to power 0.
447         * math/w_pow.c (__pow): Do not check for NaN or zero results from
448         raising to power zero.
449         * math/w_powf.c (__powf): Likewise.
450         * math/w_powl.c (__powl): Likewise.
451         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
452         pow (0, 0) or pow (NaN, 0).
454 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
456         [BZ #20918]
457         * configure.ac: Test for static NSS cryptographic libraries and set
458         libc_cv_static_nss_crypt.
459         * configure: Regenerate.
460         * config.make.in (static-nss-crypt): Define.
461         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
462         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
463         (CFLAGS-tst-linkall-static.c): Define.
464         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
465         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
466         ($(objpfx)tst-linkall-static): Define.
467         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
468         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
470 2016-12-02  Florian Weimer  <fweimer@redhat.com>
472         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
473         (one-hundred, tst-tls-many-dynamic-modules): Define.
474         (modules-names): Add $(tst-tls-many-dynamic-modules).
475         (tst-tls-manydynamic%mod.os): Build with special preprocessor
476         macros.
477         (tst-tls-manydynamic): Link against libdl, libpthread.
478         (tst-tls-manydynamic.out): The test needs the test modules at run
479         time.
480         * elf/tst-tls-manydynamic.c: New file.
481         * elf/tst-tls-manydynamic.h: Likewise.
482         * elf/tst-tls-manydynamicmod.c: Likewise.
484 2016-12-02  Florian Weimer  <fweimer@redhat.com>
486         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
487         (TLS_DTV_UNALLOCATED): Add.
488         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
489         offsets.
491 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
493         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
495 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
497         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
498         Add -fno-optimize-sibling-calls.
500 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
502         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
503         New declaration.
504         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
505         macro.
506         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
507         New macro.
508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
510         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
511         (llogbf): Likewise.
512         (llogbl): Likewise.
513         * math/Makefile (gen-libm-calls): Add w_llogbF.
514         (tests): Add test-fp-llogb-constants.
515         * math/w_llogb_template.c: New file.  Based on
516         math/w_ilogb_template.c.
517         * math/libm-test.inc (llogb_test_data): New array.
518         (llogb_test): New function.
519         (main): Call llogb_test.
520         * math/test-fp-llogb-constants.c: New file.  Based on
521         math/test-fp-ilogb-constants.c.
522         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
523         (do_test): Call check_return_llogb.
524         * math/test-tgmath.c (NCALLS): Increase to 126.
525         (F(compile_test)): Call llogb.
526         (F(llogb)): New function.
527         * manual/math.texi (Exponents and Logarithms): Document llogb,
528         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
529         * manual/libm-err-tab.pl (@all_functions): Add llogb.
530         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
531         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
532         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
533         (CFLAGS-nldbl-llogb.c): New variable.
534         * sysdeps/nacl/libm.abilist: Update.
535         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
548         Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
550         Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
552         Likewise.
553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
554         Likewise.
555         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
556         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
561         Likewise.
562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
563         Likewise.
564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
565         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
568 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
570         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
571         _Float128 instead of long double.
572         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
574         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
575         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
576         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
577         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
578         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
579         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
580         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
581         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
583         Likewise.
585 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
587         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
588         Remove redirection to __strrchr_ppc.
590 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
592         * sysdeps/powerpc/powerpc64/multiarch/Makefile
593         (sysdep_routines): Add strcmp_power9.
594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
595         (strcmp): Add __strcmp_power9 to list of strcmp functions.
596         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
597         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
598         (strcmp): Add __strcmp_power9 to ifunc list.
599         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
601 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
603         * bits/fp-logb.h: New file.
604         * sysdeps/ia64/bits/fp-logb.h: Likewise.
605         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
606         * sysdeps/x86/bits/fp-logb.h: Likewise.
607         * math/Makefile (headers): Add bits/fp-logb.h.
608         * math/math.h: Include <bits/fp-logb.h>.
609         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
610         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
611         * bits/mathdef.h (FP_ILOGB0): Remove.
612         (FP_ILOGBNAN): Likewise.
613         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
614         (FP_ILOGBNAN): Likewise.
615         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
616         (FP_ILOGBNAN): Likewise.
617         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
618         (FP_ILOGBNAN): Likewise.
619         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
620         (FP_ILOGBNAN): Likewise.
621         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
622         (FP_ILOGBNAN): Likewise.
623         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
624         (FP_ILOGBNAN): Likewise.
625         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
626         (FP_ILOGBNAN): Likewise.
627         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
628         (FP_ILOGBNAN): Likewise.
629         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
630         (FP_ILOGBNAN): Likewise.
632         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
633         time module.
634         (Context.__init__): Initialize self.logsdir_old.
635         (Context.run_builds): Handle bot action.
636         (Context.bot_cycle): Copy logs directory before running builds.
637         (Context.bot_run_self): Take argument for whether to check
638         subprocess result.  Flush stdout before running subprocess.
639         (Context.bot): New function.
640         (get_parser): Allow bot action.
642 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
644         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
645         Import email.mime.text, email.utils and smtplib modules.
646         (Context.__init__): Initialize self.bot_config_json.
647         (Context.run_builds): Handle bot-cycle action.
648         (Context.load_bot_config_json): New function.
649         (Context.part_build_old): Likewise.
650         (Context.bot_cycle): Likewise.
651         (Context.bot_build_mail): Likewise.
652         (Context.bot_run_self): Likewise.
653         (get_parser): Allow bot-cycle action.
655 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
658         Remove redirection to __stpcpy_ppc.
660 2016-11-30  Florian Weimer  <fweimer@redhat.com>
662         Remove __libc_memalign from ld.so because it is unused.
663         * elf/dl-minimal.c: Update comment on the malloc implementation.
664         (malloc): Renamed from __libc_memalign, replacing the original
665         malloc implementation.  Replace the align parameter with
666         MALLOC_ALIGNMENT.
667         * elf/Versions (ld): Update comment and remove __libc_memalign.
668         * sysdeps/nacl/ld.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
678         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
679         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
693         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
694         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
695         * sysdeps/generic/localplt.data (ld.so): Likewise.
696         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
697         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
698         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
699         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
700         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
701         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
702         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
703         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
704         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
706         (ld.so): Likewise.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
708         (ld.so): Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
710         Likewise.
711         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
712         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
713         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
714         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
715         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
717 2016-11-30  Florian Weimer  <fweimer@redhat.com>
719         [BZ #16628]
720         Implement _dl_catch_error, _dl_signal_error in libc.so.
721         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
722         (catch_hook): Define as thread-local or regular variable,
723         depending on DL_ERROR_BOOTSTRAP.
724         (CATCH_HOOK): Remove.
725         (dl_signal_error, _dl_catch_error): Use
726         catch_hook.  Add hidden definition for libc.
727         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
728         for DL_ERROR_BOOTSTRAP only.
729         * elf/dl-error.c: New file.
730         * elf/dl-error-minimal.c: Likewise.
731         * elf/tst-latepthread.c: Likewise.
732         * elf/tst-latepthreadmod.c: Likewise.
733         * elf/Makefile (routines): Add dl-error.
734         (dl-routines): Remove dl-error.
735         (rtld-routines): Add dl-error-minimal.
736         [build-shared] (tests): Add tst-latepthread.
737         (module-names): Add tst-latepthreadmod.
738         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
739         symbol.
740         (tst-latepthreadmod.so): Link against libpthread.
741         (tst-latepthread): Link against libdbl.
742         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
743         _dl_catch_error.
744         [ld] (GLIBC_PRIVATE): Likewise.
745         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
746         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
747         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
748         directly.
749         * elf/dl-tsd.c: Remove file.
750         * elf/rtld.c (_rtld_global_ro): Remove initializers for
751         _dl_catch_error, _dl_signal_error.
752         (_dl_initial_error_catch_tsd): Remove definition.
753         (do_preload): Remove initialization of dl_error_catch_tsd.
754         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
755         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
756         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
757         * dlfcn/dlopen.c (dlopen_doit): Likewise.
758         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
759         set dl_error_catch_tsd.
760         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
761         _dl_error_catch_tsd member.
762         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
763         members.
764         (_dl_initial_error_catch_tsd): Remove declaration.
765         (_dl_dprintf): Provide definition for use outside of ld.so.
766         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
767         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
768         prototype for libc.
769         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
770         _dl_catch_error.
771         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
772         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
773         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
774         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
775         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
776         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
777         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
778         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
779         Likewise.
780         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
782         (ld.so): Likewise.
783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
784         (ld.so): Likewise.
785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
786         Likewise.
787         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
788         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
789         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
790         Likewise.
791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
792         Likewise.
793         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
795 2016-11-30  Florian Weimer  <fweimer@redhat.com>
797         [BZ #4099]
798         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
799         _IO_BUFSIZ (8192).
801 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
803         * PROJECTS: Remove file.
805 2016-11-29  Florian Weimer  <fweimer@redhat.com>
807         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
809 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
810             Steve Ellcey  <sellcey@caviumnetworks.com>
812         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
813         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
814         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
815         fxstatat.
816         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
817         lxstat.
818         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
819         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
820         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
821         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
822         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
823         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
824         __xstat.
826 2016-11-29  Florian Weimer  <fweimer@redhat.com>
828         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
829         Define.
830         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
831         definition.
833 2016-11-29  Florian Weimer  <fweimer@redhat.com>
835         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
836         version and turn into strong alias.  Remove compat symbol.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
839         (__longjmp): Remove.
841 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
843         * bits/fp-fast.h: New file.
844         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
845         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
846         * math/Makefile (headers): Add bits/fp-fast.h.
847         * math/math.h: Include <bits/fp-fast.h>.
848         * bits/mathdef.h (FP_FAST_FMA): Remove.
849         (FP_FAST_FMAF): Likewise.
850         (FP_FAST_FMAL): Likewise.
851         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
852         (FP_FAST_FMAF): Likewise.
853         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
854         (FP_FAST_FMAF): Likewise.
855         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
856         (FP_FAST_FMAF): Likewise.
857         (FP_FAST_FMAL): Likewise.
858         * sysdeps/arm/bits/mathdef.h: Remove file.
859         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
860         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
861         * sysdeps/tile/bits/mathdef.h: Likewise.
863 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
865         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
866         * math/w_ilogb.c: Remove.
867         * math/w_ilogbf.c: Likewise.
868         * math/w_ilogbl.c: Likewise.
869         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
870         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
871         * math/Makefile (gen-libm-calls): Add w_ilogbF.
872         (libm-calls): Remove w_ilogbF.
873         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
874         (LDOUBLE_ilogbl_libm_version): New macro.
876         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
878         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
879         [!__STRICT_ANSI__ && !__cplusplus].
881 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
883         [BZ #20750]
884         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
885         of PIC.
887 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
888             Yury Norov  <ynorov@caviumnetworks.com>
889             Steve Ellcey  <sellcey@caviumnetworks.com>
891         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
892         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
893         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
894         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
895         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
896         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
897         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
898         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
899         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
900         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
901         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
902         to get correct reg name for ILP32.
903         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
904         (RELA_SIZE): New Macro.
905         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
906         to support ILP32.
907         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
908         cast for ILP32 mode.
909         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
910         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
911         * sysdeps/aarch64/memset.S (__memset): Ditto.
912         * sysdeps/aarch64/strchr.S (strchr): Ditto.
913         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
914         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
915         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
916         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
917         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
918         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
919         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
920         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
921         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
922         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
923         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
924         change PTR_MANGLE call to use register numbers instead of names.
925         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
926         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
927         ILP32 mode, change PTR_MANGLE calls to use register numbers.
928         * sysdeps/aarch64/start.S (_start): Ditto.
929         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
930         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
931         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
932         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
933         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
934         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
935         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
936         Make defined values dependent on __ILP32__.
937         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
938         (sem_t): Change __align type.
939         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
940         PTR_SIZE): New Macros.
941         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
942         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
943         Set when in ILP32 mode.
944         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
945         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
946         Set elf flags for ILP32.
947         (add_system_dir): Set ILP32 library directories.
948         * sysdeps/unix/sysv/linux/aarch64/init-first.c
949         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
950         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
951         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
952         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
953         New Macros.
954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
956 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
958         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
959         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
960         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
962 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
964         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
965         <asm/cachectl.h>.
967 2016-11-27  Zack Weinberg  <zackw@panix.com>
969         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
970         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
972 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
974         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
975         error_t to fix usage in C++ programs.
977 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
979         * scripts/build-many-glibcs.py: Import datetime module.
980         (Context.__init__): Load JSON build state.  Initialize list of
981         status logs.
982         (Context.run_builds): Update saved build state.
983         (Context.add_makefile_cmdlist): Update list of status logs.
984         (Context.load_build_state_json): New function.
985         (Context.store_build_state_json): Likewise.
986         (Context.clear_last_build_state): Likewise.
987         (Context.update_build_state): Likewise.
988         (CommandList.status_logs): Likewise.
990 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
992         * scripts/build-many-glibcs.py (Context.__init__): Save text of
993         script being executed.
994         (Context.get_script_text): New function.
995         (Context.exec_self): Likewise.
996         (Context.checkout): Re-exec script if changed by checkout process.
998 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1000         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1001         (setpayloadsig): New declaration.
1002         * math/Versions (setpayloadsig): New libm symbol at version
1003         GLIBC_2.25.
1004         (setpayloadsigf): Likewise.
1005         (setpayloadsigl): Likewise.
1006         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1007         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1008         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1009         (setpayloadsig_test_data): New array.
1010         (setpayloadsig_test): New function.
1011         (main): Call setpayloadsig_test.
1012         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1013         setpayloadsigf and setpayloadsigl.
1014         * manual/libm-err-tab.pl: Update comment on interfaces without
1015         ulps tabulated.
1016         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1017         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1021         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1022         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1023         setpayloadsig.
1024         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1025         * sysdeps/nacl/libm.abilist: Update.
1026         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1030         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1031         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1039         Likewise.
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1041         Likewise.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1043         Likewise.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1045         Likewise.
1046         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1052         Likewise.
1053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1054         Likewise.
1055         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1059         * scripts/build-many-glibcs.py: Import json module.
1060         (Context.__init__): Take replace_sources argument.  Load
1061         versions.json.
1062         (Context.load_versions_json): New function.
1063         (Context.store_json): Likewise.
1064         (Context.store_versions_json): Likewise.
1065         (Context.set_component_version): Likewise.
1066         (Context.checkout): Update versions.json.  Check for and handle
1067         changes of version.  Prefer previously explicitly specified
1068         version to default version.
1069         (Context.checkout_vcs): Return a revision identifier.
1070         (Context.git_checkout): Likewise.
1071         (Context.gcc_checkout): Likewise.
1072         (get_parser): Add --replace-sources option.
1073         (main): Pass replace_sources argument to Context call.
1075 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1077         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1078         * nptl/allocatestack.c (allocate_stack): Likewise.
1079         (__reclaim_stacks): Likewise.
1080         (setxid_signal_thread): Obtain pid through syscall.
1081         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1082         (sighandle_setxid): Likewise.
1083         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1084         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1085         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1086         Likewise.
1087         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1088         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1089         comment.
1090         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1091         * nptl/descr.h (struct pthread): Change comment about pid value.
1092         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1093         pid assert.
1094         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1095         Do not set pid value.
1096         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1097         pid cache check.
1098         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1099         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1100         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1101         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1102         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1103         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1104         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1105         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1106         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1107         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1108         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1109         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1110         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1111         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1112         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1113         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1114         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1115         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1116         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1117         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1118         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1119         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1120         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1121         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1122         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1125         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1126         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1127         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1128         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1129         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1130         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1131         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1132         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1133         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1134         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1135         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1136         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1137         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1138         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1139         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1140         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1143         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1144         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1145         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1146         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1148         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1149         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1150         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1151         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1152         struct access.
1153         (clone_test): Remove function.
1154         (do_test): Rewrite to take in consideration pid is not cached anymore.
1156 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1158         * bits/flt-eval-method.h: New file.
1159         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1160         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1161         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1162         * math/Makefile (headers): Add bits/flt-eval-method.h.
1163         * math/math.h: Include <bits/flt-eval-method.h>.
1164         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1165         [__USE_ISOC99] (double_t): Likewise.
1166         * bits/mathdef.h (float_t): Remove.
1167         (double_t): Likewise.
1168         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1169         (double_t): Likewise.
1170         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1171         (double_t): Likewise.
1172         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1173         (double_t): Likewise.
1174         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1175         (double_t): Likewise.
1176         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1177         (double_t): Likewise.
1178         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1179         (double_t): Likewise.
1180         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1181         (double_t): Likewise.
1182         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1183         (double_t): Likewise.
1184         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1185         (double_t): Likewise.
1186         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1187         (double_t): Likewise.
1188         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1189         (double_t): Likewise.
1190         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1191         (double_t): Likewise.
1192         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1193         (double_t): Likewise.
1195 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1197         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1198         instead of PIC.
1200 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #20859]
1203         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1204         (-0x7fffffff) instead of 0x80000001.
1205         * math/test-fp-ilogb-constants.c: New file.
1206         * math/Makefile (tests): Add test-fp-ilogb-constants.
1208 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1210         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1211         (_init): Use it in place of hardcoded R_MIPS_JALR.
1212         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1213         (_init): Use it in place of hardcoded R_MIPS_JALR.
1214         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1215         (_init): Use it in place of hardcoded R_MIPS_JALR.
1217 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1219         [BZ #20787]
1220         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1221         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1222         (double_t): Do not define to double if [__x86_64__] when
1223         __FLT_EVAL_METHOD__ is nonzero.
1224         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1225         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1226         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1227         test-flt-eval-method-387 and test-flt-eval-method-sse.
1228         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1229         variable.
1230         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1232 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1234         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1235         use of -fno-isolate-erroneous-paths options for tilepro.
1237 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1239         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1240         structure initialization is no longer needed.
1242 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1244         [BZ #20855]
1245         * bits/mathdef.h (float_t): Define to float.
1246         * math/test-flt-eval-method.c: New file.
1247         * math/Makefile (tests): Add test-flt-eval-method.
1248         (CFLAGS-test-flt-eval-method.c): New variable.
1250 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1252         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1253         and __fstatfs.  Make them aliases of __fstatfs64 if
1254         STATFS_IS_STATFS64 is set to non-zero.
1255         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1256         and __statfs64.
1257         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1258         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1259         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1260         for __statfs and statfs.
1261         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1262         to 0.
1263         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1264         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1265         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1266         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1267         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1268         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1271         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1272         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1273         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1274         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1276 2016-11-22  Andreas Schwab  <schwab@suse.de>
1278         * misc/mkstemp.c: Include <fcntl.h>.
1279         * misc/mkstemps.c: Likewise.
1280         * misc/mkostemp.c: Likewise.
1281         * misc/mkostemps.c: Likewise.
1283 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1285         [BZ #20847]
1286         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1287         array bounds.
1288         (__execvpe): Likewise.
1290 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1292         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1293         -fno-isolate-erroneous-paths options for tilepro.
1295 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1297         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1298         to 0 when in 32 bit mode.
1299         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1300         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1301         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1302         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1304         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1305         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1306         XSTAT_IS_XSTAT64 test.
1307         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1308         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1309         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1310         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1311         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1312         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1313         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1314         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1315         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1316         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1317         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1319 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1321         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1322         (setpayload): New declaration.
1323         * math/Versions (setpayload): New libm symbol at version
1324         GLIBC_2.25.
1325         (setpayloadf): Likewise.
1326         (setpayloadl): Likewise.
1327         * math/Makefile (libm-calls): Add s_setpayloadF.
1328         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1329         test_Ff_b1_data.
1330         (RUN_TEST_Ff_b1): New macro.
1331         (RUN_TEST_LOOP_Ff_b1): Likewise.
1332         (canonicalize_test_data): Update type.
1333         (setpayload_test_data): New array.
1334         (setpayload_test): New function.
1335         (main): Call setpayload_test.
1336         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1337         setpayloadf and setpayloadl.
1338         * manual/libm-err-tab.pl: Update comment on interfaces without
1339         ulps tabulated.
1340         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1341         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1342         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1343         Likewise.
1344         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1345         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1350         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1352         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1353         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1354         setpayload.
1355         (CFLAGS-nldbl-setpayload.c): New variable.
1356         * sysdeps/nacl/libm.abilist: Update.
1357         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1362         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1365         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1366         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1370         Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1374         Likewise.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1376         Likewise.
1377         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1383         Likewise.
1384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1385         Likewise.
1386         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1390 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1392         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1393         * include/unistd.h: Extend comment about __access_noerrno return
1394         semantics.
1395         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1396         (access_common): Correct typo for EACCES.
1398 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1400         * sysdeps/tile/math-tests.h: New file.
1402         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1403         (__old_set_dataplane): Rename from set_dataplane and make a
1404         compatibility symbol.
1405         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1406         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1407         sys/dataplane.h.
1409 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1411         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1412         script quote words in command output to log suitably for input to
1413         the shell.
1415 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1416             Maciej W. Rozycki  <macro@imgtec.com>
1418         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1419         `.Lno_weak_fn' label.
1420         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1421         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1423 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1424             Yury Norov  <ynorov@caviumnetworks.com>
1426         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1427         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1428         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1429         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1430         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1432         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1434         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1436         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1437         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1438         (sysdep_routines): Remove oldgetrlimit64.
1439         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1440         (sysdep_routines): Likewise.
1441         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1442         (sysdep_routines): Likewise.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1444         [$(subdir) = resource] (sysdep_routines): Likewise.
1445         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1446         [$(subdir) = resource] (sysdep_routines): Likewise.
1447         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1448         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1449         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1450         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1451         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1452         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1453         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1454         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1455         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1456         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1457         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1458         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1459         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1460         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1461         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1462         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1463         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1464         setrlimit and getrlimit.
1465         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1466         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1467         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1470         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1472         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1473         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1474         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1475         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1476         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1477         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1478         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1479         (__old_getrlimit64): Add compatibility symbol.
1480         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1482 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1484         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1485         newly built gmp, mpfr and mpc.
1487         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1489 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1491         * conform/Makefile (linknamespace-libs): Rename to
1492         linknamespace-libs-thr.
1493         (linknamespace-libs-posix): New variable.
1494         (linknamespace-libs-xsi): Likewise.
1495         (linknamespace-libs-XPG3): Include libcrypt.a.
1496         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1497         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1498         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1499         (linknamespace-libs-XOPEN2K): Likewise.
1500         (linknamespace-libs-XOPEN2K8): Likewise.
1501         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1503         [BZ #20829]
1504         * stdio-common/Versions (__snprintf): Add to version
1505         GLIBC_PRIVATE.
1506         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1507         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1508         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1509         of snprintf.
1510         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1512 2016-11-16  Zack Weinberg  <zackw@panix.com>
1514         * string/string.h: Remove obsolete comment stating that
1515         strcoll_l and strxfrm_l have not yet been standardized.
1517 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1519         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1520         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1521         __access_noerrno.
1522         * io/access.c (__access_noerrno): New function.
1523         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1524         (hurd_fail_seterrno): Likewise.
1525         (access_common): Likewise.
1526         (__access_noerrno): Likewise.
1527         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1528         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1529         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1530         macro.
1532 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1534         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1535         Only declare fpregs if [__SH_FPU_ANY__].
1537 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1539         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1540         Make code unconditional.
1541         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1543 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1545         * manual/sysinfo.texi (S_APPEND): Delete.
1546         (S_IMMUTABLE): Likewise.
1548 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1549             Magnus Granberg  <zorry@gentoo.org>
1550             Mike Frysinger  <vapier@gentoo.org>
1552         [BZ #20662]
1553         * configure.ac (libc_cv_predef_stack_protector): Also check for
1554         __stack_chk_fail_local symbols.
1555         * configure: Regenerated.
1557 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1559         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1560         (libc_hidden_def): Remove redefinition.
1561         (__sigsetjmp): Add hidden definition.
1562         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1563         (libc_hidden_def): Remove redefinition.
1564         (__sigsetjmp): Add hidden definition.
1566 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1568         * scripts/build-many-glibcs.py (os.path): Do not import.
1569         (Context): Inherit explicitly from object.  Remove blank line
1570         between class and docstring.
1571         (Config): Likewise.
1572         (Glibc): Likewise.
1573         (Command): Likewise.
1574         (CommandList): Likewise.
1575         (Context.write_files): Store chmod mode in a variable.
1577         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1578         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1579         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1581 2016-11-14  Zack Weinberg  <zackw@panix.com>
1583         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1584         creating or re-creating it.
1586         * string/bits/string2.h: Fix typo in comment.
1588 2016-11-14  Zack Weinberg  <zackw@panix.com>
1590         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1591         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1592         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1593         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1594         of redirected function names.
1596         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1597         as well.  Document that MESSAGE must be a single string literal.
1599 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1601         * scripts/build-many-glibcs.py: New file.
1603         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1604         (do_test): Disable -Wmaybe-uninitialized around uses of
1605         except_mask.
1607         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1609 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1611         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1612         (atomic_store_release): Provide tilepro-specific implementations.
1614 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1616         * math/math.h (__MATH_TG): New macro.
1617         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1618         [__USE_ISOC99] (signbit): Likewise.
1619         [__USE_ISOC99] (isfinite): Likewise.
1620         [__USE_ISOC99] (isnan): Likewise.
1621         [__USE_ISOC99] (isinf): Likewise.
1622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1625         __MATH_TG and __MATH_EVAL_FMT2.
1626         * sysdeps/generic/math_private.h (fabs_tg): Define using
1627         __MATH_TG.
1628         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1629         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1630         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1631         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1632         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1633         macro.
1634         (__iscanonical): Likewise.
1635         (iscanonical): Define using __MATH_TG.
1637 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1639         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1640         guards.
1642         * sysdeps/unix/sysv/linux/access.c: New file.
1643         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1645 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1647         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1648         and __WORDSIZE32_PTRDIFF_LONG.
1650 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1652         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1654 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1656         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1657         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1658         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1659         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1660         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1662         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1663         * sysdeps/unix/sysv/linux/truncate.c: New file.
1664         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1665         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1666         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1667         Remove.
1668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1669         Likewise.
1671         * posix/tst-truncate-common.c: New file.
1672         * posix/tst-truncate.c: Use tst-truncate-common.c.
1673         * posix/tst-truncate64.c: Likewise and add LFS tests.
1674         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1675         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1676         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1677         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1678         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1680         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1681         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1682         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1683         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1684         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1685         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1686         Remove.
1687         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1688         Likewise.
1690 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1692         [BZ #20790]
1693         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1694         to MAXLINESIZE.
1695         * sunrpc/bug20790.x: New file.
1696         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1697         variable.
1698         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1699         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1701         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1703         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1705         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1706         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1707         calloc, realloc, free, memalign and __libc_memalign rather than
1708         making them optional.
1710         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1711         for libc.so.
1713 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1715         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1716         ptw-lseek64.
1717         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1718         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1719         Likewise.
1720         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1721         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1722         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1723         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1724         * sysdeps/unix/sysv/linux/lseek.c: New file.
1725         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1726         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1727         __libc_lseek64 from auto-generation.
1728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1731 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1733         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1734         * nptl/tst-cleanup1.c (do_test): Likewise.
1735         * nptl/tst-cleanup3.c (do_test): Likewise.
1736         * nptl/tst-key1.c (do_test): Likewise.
1737         * nptl/tst-key2.c (tf, do_test): Likewise.
1738         * nptl/tst-key3.c (tf, do_test): Likewise.
1739         * nptl/tst-stdio1.c (do_test): Likewise.
1740         * nptl/tst-stdio2.c (do_test): Likewise.
1742         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1743         * nptl/tst-kill6.c (handler): Likewise.
1744         * nptl/tst-tls2.c (CB): Likewise.
1745         * nptl/tst-tls3.c (CB): Likewise.
1747 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1749         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1751 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1752             Steve Ellcey  <sellcey@caviumnetworks.com>
1754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1755           __ASSUME_ST_INO_64_BIT as 0
1756         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1757         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1758           over the code where __ASSUME_ST_INO_64_BIT is used.
1759         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1760         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1761         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1763 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1765         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1766         Document ABI exposure of the __kind offset.
1767         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1768         Mention reason for the __kind offset exposure in the ABI.
1769         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1770         Likewise.
1771         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1772         Likewise.
1773         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1774         Likewise.
1775         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1776         (struct __pthread_mutex_s): Likewise.
1777         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1778         Likewise.
1779         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1780         Likewise.
1781         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1782         Likewise.
1783         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1784         Likewise.
1785         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1786         Likewise.
1787         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1788         Likewise.
1789         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1790         (struct __pthread_mutex_s): Likewise.
1791         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1792         (struct __pthread_mutex_s): Likewise.
1793         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1794         Likewise.
1796 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1798         * test-skeleton.c: Document do_test usage.
1800 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1802         * iconv/gconv.h (__gconv_info): Define __data element using a
1803         zero-length array.
1805 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1807         * math/test-tgmath2.c: Split up test function.
1809 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1811         * Rules (tests-expected): New variable, depending on
1812         $(run-built-tests).
1813         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1814         $(tests).
1816         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1817         $(tests-unsupported).
1819 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1821         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1822         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1824 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1826         [BZ #20768]
1827         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1828         __fegetenv instead of fegetenv.
1830         [BZ #14139]
1831         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1832         (find_files): Obtain platform name from libm-test-ulps-name and
1833         store in %pplatforms.
1834         (canonicalize_platform): Remove.
1835         (print_platforms): Use $pplatforms directly.
1836         (by_platforms): Do not allow for platforms missing from
1837         %pplatforms.
1838         * sysdeps/aarch64/libm-test-ulps-name: New file.
1839         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1840         * sysdeps/arm/libm-test-ulps-name: Likewise.
1841         * sysdeps/generic/libm-test-ulps-name: Likewise.
1842         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1843         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1844         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1845         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1846         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1847         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1848         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1849         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1850         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1851         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1852         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1853         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1854         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1855         * sysdeps/sh/libm-test-ulps-name: Likewise.
1856         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1857         * sysdeps/tile/libm-test-ulps-name: Likewise.
1858         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1860         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1862         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1863         (test-xfail-check-execstack): New variable.
1865         * sysdeps/mips/localplt.data: New file.
1867 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1868             Steve Ellcey  <sellcey@caviumnetworks.com>
1870         * bits/wordsize.h: Add documentation.
1871         * sysdeps/aarch64/bits/wordsize.h : New file
1872         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1873         definitions.
1874         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1875         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1876         with #if instead of #ifdef.
1877         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1878         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1879         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1880         Add or change defines.
1881         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1882         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1883         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1884         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1885         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1886         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1887         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1888         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1889         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1891         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1892         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1893         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1894         * sysdeps/x86/bits/wordsize.h: Likewise.
1896 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1897             Kevin Petit  <kevin.petit@arm.com>
1899         * sysdeps/aarch64/memchr.S (__memchr): New file.
1901 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1903         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1905 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1907         [BZ #19398]
1908         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1909         $(linknamespace-symlists-tests).
1911 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1913         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1915 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1916             Carlos O'Donell  <carlos@redhat.com>
1918         [Bug #20729]
1919         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1920         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1921         for -Os related change.
1923 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1925         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1927 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1929         [BZ #19673]
1930         * manual/math.texi (Exponents and Logarithms): Correct description
1931         of clog10.
1933 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1935         [Bz #20729]
1936         * locale/weight.h: Include libc-internal.h.
1937         * locale/weightwc.h: Likewise.
1938         * nptl/nptl_dbP.h: Likewise.
1940 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1942         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1943         when it is MACH_PORT_NULL.
1945 2016-10-31  Andreas Schwab  <schwab@suse.de>
1947         [BZ #20707]
1948         * posix/glob.c (glob): Initialize pglob before checking for
1949         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1950         valid brace expression despite GLOB_BRACE.
1951         * posix/globtest.sh: Test it.
1953 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1955         [BZ #20729]
1956         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1957         Define.
1958         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1959         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1960         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1961         for seq2.back_us and seq1.back_us only for -Os compiles.
1962         * locale/weightwc.h (findix): Likewise.
1963         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1964         DB_GET_FIELD_ADDRESS only for -Os compiles.
1965         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1966         for slen only for -Os compiles.
1967         * string/strcoll_l.c (get_next_seq): Ignore
1968         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1969         for -Os compiles.
1971         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1972         * include/crypt.h: New file.
1974 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1976         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1977         from test-skeleton.c.
1978         (statclass): Replace calls to write with calls to write_message.
1980 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1982         * math/math.h
1983         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1984         New macro.
1985         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1986         Likewise.
1987         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1988         Likewise.
1989         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1990         SNANL.
1991         * math/test-double.h (snan_value_MACRO): New macro.
1992         * math/test-float.h (snan_value_MACRO): Likewise.
1993         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1994         * math/libm-test.inc (issignaling_test_data): Add tests of
1995         snan_value_MACRO.
1997 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1999         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2000         behavior when eliding a lock not held by the current thread.
2001         * sysdeps/powerpc/nptl/elide.h: Likewise.
2003 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2005         [BZ #20728]
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2007         branch to _exit() by a function call.
2009 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2011         * malloc/malloc.c: Update chunk layout comments.
2012         (chunk_main_arena): Update comment.
2014 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2016         * crypt/sha256.c, crypt/sha256-block.c,
2017         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2018         sha256_process_block to __sha256_process_block.
2019         * crypt/sha512.c, crypt/sha512-block.c,
2020         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2021         sha512_process_block to __sha512_process_block.
2023 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2025         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2027         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2029 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2031         [BZ #20019]
2032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2033         definition in unrelocated shared library.
2034         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2036 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2038         [BZ #20729]
2039         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2040         * sysdeps/unix/sysv/linux/i386/Makefile
2041         (uses-6-syscall-arguments): Define.
2042         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2043         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2044         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2045         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2046         Likewise.
2047         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2048         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2049         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2050         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2051         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2052         (CFLAGS-fallocate64.os): Likewise.
2053         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2054         (CFLAGS-pthread_rwlock_timedrdlock.os)
2055         (CFLAGS-pthread_rwlock_timedwrlock.o)
2056         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2057         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2058         (CFLAGS-sem_timedwait.os): Likewise.
2060 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2062         * elf/tst-linkall-static.c: New file.
2063         * elf/Makefile (tests-static): Add tst-linkall-static.
2064         (tst-linkall-static): Link against static libraries.
2066 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2068         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2069         mmaped chunks.
2071 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2073         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2074         members to mchunk_prev_size, mchunk_size.
2075         (chunk_main_arena): Reverse sense and rename from
2076         chunk_non_main_arena.
2077         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2078         mchunk_size instead of size.
2079         (set_non_main_arena): Define.
2080         (chunksize): Use chunksize_nomask instead of direct member access.
2081         (chunksize_nomask): Define.
2082         (next_chunk): Use chunksize instead of direct member access.
2083         (prev_size, set_prev_size): Define.
2084         (prev_chunk): Use prev_size instead of direct member access.
2085         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2086         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2087         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2088         (mchunk_prev_size, mchunk_size): Poison tokens.
2089         (unlink): Use chunksize_nomask, prev_size accessors.
2090         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2091         (do_check_free_chunk): Use prev_size accessor.
2092         (sysmalloc): Use set_prev_size, set_head accessors.
2093         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2094         (__libc_free): Use chunksize_nomask accessor.
2095         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2096         chunk_main_arena accessors.
2097         (_int_free): Use chunksize_nomask, prev_size accessors.
2098         (malloc_consolidate): Use chunksize, prev_size accessors.
2099         (_int_realloc): Use chunksize_nomask accessor.
2100         (_int_memalign): Use set_prev_size accessor.
2101         (__malloc_info): Use chunksize_nomask accessor.
2102         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2103         accessors.
2104         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2105         (heap_trim): Use chunksize_nomask, prev_size accessors.
2107 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2109         [BZ #19380]
2110         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2111         for inexact results.
2112         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2113         of inexact result where mpfr_subnormalize is the only inexact
2114         step.
2115         * stdlib/tst-strtod-round-data.h: Regenerated.
2116         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2117         Define to 0.
2118         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2120 2016-10-27  David S. Miller  <davem@davemloft.net>
2122         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2124 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2126         * malloc/malloc.c (do_set_mallopt_check): New function.
2127         (do_set_mmap_threshold): Likewise.
2128         (do_set_mmaps_max): Likewise.
2129         (do_set_top_pad): Likewise.
2130         (do_set_perturb_byte): Likewise.
2131         (do_set_trim_threshold): Likewise.
2132         (do_set_arena_max): Likewise.
2133         (do_set_arena_test): Likewise.
2134         (__libc_mallopt): Use them.
2136 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2138         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2139         (canonicalize): New declaration.
2140         * math/Versions (canonicalize): New libm symbol at version
2141         GLIBC_2.25.
2142         (canonicalizef): Likewise.
2143         (canonicalizel): Likewise.
2144         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2145         * math/s_canonicalize_template.c: New file.
2146         * math/libm-test.inc: Update comment on functions tested and
2147         testing of NaN payloads.
2148         (TEST_NAN_PAYLOAD): New macro.
2149         (NO_TEST_INLINE): Update value.
2150         (XFAIL_TEST): Likewise.
2151         (ERRNO_UNCHANGED): Likewise.
2152         (ERRNO_EDOM): Likewise.
2153         (ERRNO_ERANGE): Likewise.
2154         (IGNORE_RESULT): Likewise.
2155         (NON_FINITE): Likewise.
2156         (TEST_SNAN): Likewise.
2157         (NO_TEST_MATHVEC): Likewise.
2158         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2159         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2160         (struct test_Ffp_b1_data): New type.
2161         (RUN_TEST_Ffp_b1): New macro.
2162         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2163         (canonicalize_test_data): New array.
2164         (canonicalize_test): New function.
2165         (main): Call canonicalize_test.
2166         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2167         canonicalizef and canonicalizel.
2168         * manual/libm-err-tab.pl: Update comment on interfaces without
2169         ulps tabulated.
2170         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2171         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2172         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2173         canonicalize.
2174         (CFLAGS-nldbl-canonicalize.c): New variable.
2175         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2176         to ...
2177         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2178         ... here.
2179         (do_test): Also test canonicalizel.
2180         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2181         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2182         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2183         file.
2184         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2185         Use libm_hidden_def.
2186         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2187         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2188         (do_test): Also test canonicalizel.
2189         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2190         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2191         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2192         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2193         libm_hidden_def.
2194         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2195         macro.
2196         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2197         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2198         * sysdeps/nacl/libm.abilist: Update.
2199         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2208         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2209         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2210         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2212         Likewise.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2214         Likewise.
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2220         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2221         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2225         Likewise.
2226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2227         Likewise.
2228         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2229         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2230         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2232         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2233         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2234         getpayload.
2235         (CFLAGS-nldbl-getpayload.c): New variable.
2237 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2239         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2240         integer from the format string.
2242 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2244         [BZ #19473]
2245         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2246         declarations.
2247         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2248         weak aliases.
2249         * malloc/hooks.c (__malloc_get_state): Remove definition.
2250         (malloc_get_state): New stub implementation as
2251         compatibility symbol.
2252         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2253         compat symbol.
2254         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2255         malloc_set_state.
2256         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2258 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2260         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2261         (names): Turn into concatenation of strings.
2262         (gconv_init): Adapt iteration over names.
2264 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2266         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2267         make const.
2268         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2269         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2270         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2271         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2272         character in sbconv.
2273         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2274         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2275         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2277 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2279         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2281         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2282         (M_TRIM_THRESHOLD): Likewise.
2284         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2285         (M_ARENA_MAX): Likewise.
2286         * malloc/malloc.c: Remove obsolete comment.
2288         * manual/memory.texi: Add environment variable alternatives to
2289         setting mallopt parameters.
2291 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2293         * include/atomic.h
2294         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2295         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2297 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2299         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2300         * stdlib/tst-strfrom.h: New file.
2301         * stdlib/tst-strfrom.c: New file.
2302         * stdlib/tst-strfrom-locale.c: New file.
2304         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2305         * stdlib/bug-strtod2.c: Likewise.
2306         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2307         * stdlib/tst-strtod6.c: Likewise.
2308         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2310 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2312         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2313         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2314         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2315         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2316         * stdlib/stdlib.h (strfromd): New declaration.
2317         (strfromf): Likewise.
2318         (strfroml): Likewise.
2319         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2320         strfrom.
2321         * stdlib/strfromd.c: New file.
2322         * stdlib/strfromf.c: Likewise.
2323         * stdlib/strfroml.c: Likewise.
2324         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2325         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2326         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2327         * sysdeps/arm/nacl/libc.abilist: Update.
2328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2357 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2359         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2360         instead of cmpli.
2361         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2362         instead of cmpli.
2364 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2366         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2367         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2368         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2369         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2370         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2371         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2373 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2375         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2376         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2377         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2378         SYSCALL_LL64_PRW.
2379         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2380         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2381         __ASSUME_PRW_DUMMY_ARG.
2382         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2383         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2384         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2385         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2386         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2387         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2389 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2391         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2393 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2395         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2396         "C++", to override a potential extern "C" directive around the
2397         header file inclusion.
2399 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2401         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2403 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2405         * sysdeps/powerpc/fpu/fenv_private.h:
2406         (_FPU_MASK_ALL): Rename to...
2407         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2408         XE FPSCR bits.
2410         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2412         (_FPU_MASK_ROUNDING): Rename to...
2413         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2414         NI bits.
2416         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2417         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2418         bits and rounding bits.
2420         (__libc_feholdbits_ppc): New inline function to mask, set,
2421         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2422         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2423         (libc_feholdexcept_setround_ppc): Likewise.
2425         (__libc_femergeenv_ppc): New function to dynamically mask both
2426         old and new FP environments and merge.
2427         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2428         (libc_feresetround_ppc): Likewise.
2429         (libc_feupdateenv_test_ppc): Likewise.
2430         (libc_feupdateenv_ppc): Likewise.
2432         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2433         of ISA RN bits, and update macro names.
2434         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2435         effectively the same as the previously mentioned function.
2437         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2438         usage with fe_resetround_ppc.
2440         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2441         to be used.
2442         (libc_feholdexcept_setround_ctxf): Likewise.
2443         (libc_feholdexcept_setround_ctxl): Likewise.
2445 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2447         [BZ #20715]
2448         * math/math.h [__cplusplus] (iszero): Define as function template.
2449         * math/Makefile [CXX] (tests): Add test-math-iszero.
2450         (CFLAGS-test-math-iszero.cc): Set.
2451         * math/test-math-iszero.cc: New file.
2453 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2455         [BZ #20660]
2456         * sysdeps/arm/e_sqrt.c: New file.
2457         * sysdeps/arm/e_sqrtf.c: Likewise.
2459 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2461         [BZ #20718]
2462         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2463         not use floating-point comparisons to test sign.
2464         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2465         Likewise.
2467         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2468         (getpayload): New declaration.
2469         * math/Versions (getpayload): New libm symbol at version
2470         GLIBC_2.25.
2471         (getpayloadf): Likewise.
2472         (getpayloadl): Likewise.
2473         * math/Makefile (libm-calls): Add s_getpayloadF.
2474         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2475         (struct test_f_f_data): Add comment.
2476         (RUN_TEST_fp_f): New macro.
2477         (RUN_TEST_LOOP_fp_f): Likewise.
2478         (getpayload_test_data): New array.
2479         (getpayload_test): New function.
2480         (main): Call getpayload_test.
2481         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2482         descriptor.
2483         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2484         getpayloadf and getpayloadl.
2485         * manual/libm-err-tab.pl: Update comment on interfaces without
2486         ulps tabulated.
2487         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2488         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2489         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2492         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2493         * sysdeps/nacl/libm.abilist: Update.
2494         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2507         Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2509         Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2511         Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2515         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2516         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2520         Likewise.
2521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2522         Likewise.
2523         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2525         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2527 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2529         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2530         tst-fallocate{64}.
2531         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2532         on syscall return.
2534 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2536         [BZ #20689]
2537         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2538         usable.
2540 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2542         * sysdeps/generic/nan-high-order-bit.h: New file.
2543         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2544         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2545         * sysdeps/hppa/math_private.h: Remove file.
2546         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2547         not define here.
2548         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2549         <nan-high-order-bit.h>.
2550         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2551         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2552         <nan-high-order-bit.h>.
2553         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2554         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2555         <nan-high-order-bit.h>.
2556         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2557         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2558         <nan-high-order-bit.h>.
2559         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2560         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2561         <nan-high-order-bit.h>.
2562         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2563         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2564         <nan-high-order-bit.h>.
2565         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2566         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2567         <nan-high-order-bit.h>.
2568         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2569         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2570         <nan-high-order-bit.h>.
2571         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2572         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2573         <nan-high-order-bit.h>.
2574         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2575         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2576         <nan-high-order-bit.h>.
2577         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2578         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2579         <nan-high-order-bit.h>.
2580         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2581         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2582         <nan-high-order-bit.h>.
2583         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2584         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2585         <nan-high-order-bit.h>.
2586         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2587         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2588         <nan-high-order-bit.h>.
2589         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2590         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2591         <nan-high-order-bit.h>.
2592         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2593         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2594         <nan-high-order-bit.h>.
2595         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2596         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2597         <nan-high-order-bit.h>.
2598         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2599         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2600         <nan-high-order-bit.h>.
2601         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2603 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2605         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2607 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2609         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2610         abort-instr.h.
2611         (EFAULT): Remove conditional define.
2612         (ENOSYS): Likewise.
2613         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2614         instead of conditional branch instructions.
2616 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2618         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2619         (totalordermag): New declaration.
2620         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2621         New macro.
2622         * math/Versions (totalordermag): New libm symbol at version
2623         GLIBC_2.25.
2624         (totalordermagf): Likewise.
2625         (totalordermagl): Likewise.
2626         * math/Makefile (libm-calls): Add s_totalordermagF.
2627         * math/libm-test.inc (totalordermag_test_data): New array.
2628         (totalordermag_test): New function.
2629         (main): Call totalordermag_test.
2630         * math/test-tgmath.c (NCALLS): Increase to 125.
2631         (F(compile_test)): Call totalordermag.
2632         (F(totalordermag)): New function.
2633         * manual/arith.texi (FP Comparison Functions): Document
2634         totalordermag, totalordermagf and totalordermagl.
2635         * manual/libm-err-tab.pl: Update comment on interfaces without
2636         ulps tabulated.
2637         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2638         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2639         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2640         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2641         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2642         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2643         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2644         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2645         totalordermag.
2646         (CFLAGS-nldbl-totalordermag.c): New variable.
2647         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2648         (do_test): Also test totalordermagl.
2649         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2650         Likewise.
2651         * sysdeps/nacl/libm.abilist: Update.
2652         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2655         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2657         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2658         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2659         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2660         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2663         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2667         Likewise.
2668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2669         Likewise.
2670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2671         Likewise.
2672         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2678         Likewise.
2679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2680         Likewise.
2681         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2685 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2687         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2688         boolean.
2690 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2692         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2693         raising FE_INVALID with feraisexcept in case where part of
2694         argument is infinite, subtract that part of argument from itself.
2695         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2696         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2697         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2699 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2701         * math/libm-test.inc (totalorder_test_data): Add more tests.
2703 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2705         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2706         Undefine weak_alias and add a comment why mips64 require
2707         versioning.
2709 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2711         [BZ #20647]
2712         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2713         maximum CPUID level is less than 2.
2715 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2717         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2718         (totalorder): New declaration.
2719         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2720         New macro.
2721         * math/Versions (totalorder): New libm symbol at version
2722         GLIBC_2.25.
2723         (totalorderf): Likewise.
2724         (totalorderl): Likewise.
2725         * math/Makefile (libm-calls): Add s_totalorderF.
2726         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2727         string.
2728         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2729         (qnan_value_pl): Likewise.
2730         (snan_value_pl): Likewise.
2731         (qnan_value): Define using qnan_value_pl.
2732         (snan_value): Define using snan_value_pl.
2733         (struct test_ff_i_data): Add comment about which tests use this
2734         structure.
2735         (RUN_TEST_ff_b): New macro.
2736         (RUN_TEST_LOOP_ff_b): Likewise.
2737         (totalorder_test_data): New array.
2738         (totalorder_test): New function.
2739         (main): Call totalorder_test.
2740         * math/test-tgmath.c (NCALLS): Increase to 122.
2741         (F(compile_test)): Call totalorder.
2742         (F(totalorder)): New function.
2743         * manual/arith.texi (FP Comparison Functions): Document
2744         totalorder, totalorderf and totalorderl.
2745         * manual/libm-err-tab.pl: Update comment on interfaces without
2746         ulps tabulated.
2747         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2748         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2749         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2751         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2752         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2753         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2754         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2755         totalorder.
2756         (CFLAGS-nldbl-totalorder.c): New variable.
2757         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2758         file.
2759         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2760         Add test-totalorderl-ldbl-128ibm.
2761         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2762         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2763         test-totalorderl-ldbl-96.
2764         * sysdeps/nacl/libm.abilist: Update.
2765         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2770         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2771         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2772         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2773         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2774         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2775         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2776         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2778         Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2780         Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2782         Likewise.
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2784         Likewise.
2785         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2786         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2787         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2789         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2793         Likewise.
2794         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2795         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2796         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2798 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2800         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2801         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2802         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2803         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2804         remove ENOSYS implementation.
2805         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2806         Consolidate all Linux implementations.
2808 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2810         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2811         * resolv/herror.c (herror): Cast away const-ness.
2812         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2813         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2815 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2817         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2818         instead of M_NAN + M_NAN.
2819         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2821 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2823         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2824         unused variable 'p'.
2826 2016-10-09  Alan Modra  <amodra@gmail.com>
2827             Andreas Schwab  <schwab@linux-m68k.org>
2829         [BZ #20554]
2830         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2831         [PIC && !SHARED]: Set up PIC register for PLT call.
2833 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2835         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2836         conditional on value of [__FLT_EVAL_METHOD__].
2837         * math/test-iseqsig-excess-precision.c: New file.
2838         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2840 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2842         * math/s_iseqsig_template.c: Include math-private.h.
2844         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2845         * posix/tst-posix_fadvise.c: New file.
2846         * posix/tst-posix_fadvise64.c: Likewise.
2847         * posix/tst-posix_fadvise-common.c: Likewise.
2848         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2849         (__ASSUME_FADVISE64_64_6ARG): Define.
2850         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2851         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2853         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2854         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2855         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2856         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2857         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2858         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2859         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2860         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2861         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2864         Likewise.
2865         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2866         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2867         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2868         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2869         Alias to __posix_fadvise64_l32.
2870         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2871         Add compat definition to posix_fadvise64.
2872         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2873         Add versioned definition to posix_fadvise64.
2874         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2875         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2876         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2877         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2878         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2880         * io/Makefile (tests): Add tst-posix_fallocate and
2881         tst-posix_fallocate64.
2882         * io/tst-posix_fallocate-common.c: New file.
2883         * io/tst-posix_fallocate.c: Likewise.
2884         * io/tst-posix_fallocate64.c: Likewise.
2885         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2886         file.
2887         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2888         Likewise.
2889         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2890         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2893         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2894         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2895         SYSCALL_LL to pass both offset and len arguments.
2896         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2897         Likewise.
2898         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2899         __libc_pwrite64 alias used by posix_fallocate64.
2901         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2902         tst-fallocate64.
2903         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2904         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2905         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2906         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2907         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2908         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2909         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2910         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2911         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2912         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2913         macro on offset argument.
2914         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2915         SYSCALL_LL64 on offset argument.
2917         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2918         tst-fallocate64.
2919         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2920         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2921         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2922         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2923         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2924         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2925         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2926         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2927         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2928         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2929         macro on offset argument.
2930         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2931         SYSCALL_LL64 on offset argument.
2932         * test-skeleton.c (FAIL_RET): Add macro.
2933         (FAIL_EXIT): Likewise.
2934         (FAIL_EXIT1): Likewise.
2935         (_FAIL): Likewise.
2937 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2939         [BZ #20629]
2940         resolv: Remove RES_USEBSTRING and its implementation.
2941         * resolv/resolv.h (RES_USEBSTRING): Remove.
2942         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2943         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2944         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2945         (labellen): Remove extended label types support.
2946         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2947         * resolv/res_init.c (res_setoptions): Likewise.
2948         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2950 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2952         resolv: Remove RES_NOIP6DOTINT and its implementation.
2953         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2954         (RES_NOIP6DOTINT): Remove.
2955         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2956         handling.
2957         * resolv/res_debug.c (p_option): Likewise.
2958         * resolv/res_init.c (res_setoptions): Likewise.
2959         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2961 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2963         resolv: Deprecate unimplemented flags.
2964         * misc/sys/cdefs.h (__glibc_macro_warning1)
2965         (__glibc_macro_warning): Define.
2966         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2967         (RES_KEEPTSIG): Mark as deprecated.
2968         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2969         RES_NOCHECKNAME, RES_KEEPTSIG.
2970         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2972 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2974         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2975         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2976         Use strong_alias to create symbols for glibc verison 2.19.
2978 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2980         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2982 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2984         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2986 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2988         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2990 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2992         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2993         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2994         in header for using it as type for ifunc function because __GI_* symbols
2995         for ppc32 do not target the ifunc symbols.
2996         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2998 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3000         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3001         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3002         libc_ifunc_hidden_def.
3003         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3004         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3005         Redirect ifunced function in header for using it as type of ifunc'ed
3006         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3007         function for __GI_* symbol.
3008         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3009         * include/libc-symbols.h
3010         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3012 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3014         [BZ #20478]
3015         * sysdeps/s390/multiarch/ifunc-resolve.h
3016         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3017         to create ifunc symbols.
3018         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3019         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3020         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3021         for using it as type for ifunc function.
3022         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3023         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3024         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3025         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3026         * sysdeps/s390/multiarch/strcat.c: Likewise.
3027         * sysdeps/s390/multiarch/strchr.c: Likewise.
3028         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3029         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3030         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3031         * sysdeps/s390/multiarch/strlen.c: Likewise.
3032         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3033         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3034         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3035         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3036         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3037         * sysdeps/s390/multiarch/strspn.c: Likewise.
3038         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3039         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3040         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3041         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3042         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3043         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3044         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3045         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3046         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3047         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3048         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3049         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3051 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3053         * include/libc-symbols.h (__ifunc_resolver):
3054         New macro is used by __ifunc* macros.
3055         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3056         depending on HAVE_GCC_IFUNC.
3057         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3058         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3060         Redirect ifunced function in header for using as type for ifunc function.
3061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3067         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3068         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3069         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3070         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3071         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3074         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3080         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3081         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3082         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3083         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3084         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3085         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3086         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3087         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3088         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3089         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3090         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3091         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3092         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3093         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3095         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3096         instead of libc_ifunc() macro.
3097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3100 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3102         * config.h.in (HAVE_GCC_IFUNC): New undef.
3103         * configure.ac: Add check if gcc supports attribute ifunc feature.
3104         * configure: Regenerated.
3105         * manual/install.texi: Add recommendation for gcc with
3106         indirect-function support.
3107         * INSTALL: Regenerated.
3109 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3111         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3112         macro.
3113         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3114         (__iseqsig): New declaration.
3115         * math/s_iseqsig_template.c: New file.
3116         * math/Versions (__iseqsigf): New libm symbol at version
3117         GLIBC_2.25.
3118         (__iseqsig): Likewise.
3119         (__iseqsigl): Likewise.
3120         * math/libm-test.inc (iseqsig_test_data): New array.
3121         (iseqsig_test): New function.
3122         (main): Call iseqsig_test.
3123         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3124         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3125         * manual/libm-err-tab.pl: Update comment on interfaces without
3126         ulps tabulated.
3127         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3128         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3129         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3130         * sysdeps/nacl/libm.abilist: Update.
3131         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3132         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3133         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3134         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3135         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3136         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3137         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3138         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3139         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3144         Likewise.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3146         Likewise.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3148         Likewise.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3150         Likewise.
3151         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3157         Likewise.
3158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3159         Likewise.
3160         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3164 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3166         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3167         do_sincos_2, sloww, sloww1): Update comments.
3169         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3170         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3172         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3173         K boolean and rename it.
3174         (__sin): Adjust.
3175         (__cos): Adjust.
3177 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3178             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3180         * manual/nss.texi: Fix typos in the manual.
3182 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3184         * manual/contrib.texi: Fix typos in the manual.
3186         * manual/maint.texi: Fix typos in the manual.
3188         * manual/install.texi: Fix typos in the manual.
3189         * INSTALL: Regenerated.
3191         * manual/lang.texi: Fix typos in the manual.
3193         * manual/probes.texi: Fix typos in the manual.
3195         * manual/threads.texi: Fix typos in the manual.
3197         * manual/debug.texi: Fix typos in the manual.
3199         * manual/crypt.texi: Fix typos in the manual.
3201         * manual/conf.texi: Fix typos in the manual.
3203         * manual/sysinfo.texi: Fix typos in the manual.
3205         * manual/users.texi: Fix typos in the manual.
3207         * manual/job.texi: Fix typos in the manual.
3209         * manual/process.texi: Fix typos in the manual.
3211         * manual/argp.texi: Fix typos in the manual.
3212         * manual/getopt.texi: Likewise.
3213         * manual/startup.texi: Likewise.
3215         * manual/signal.texi: Fix typos in the manual.
3217         * manual/setjmp.texi: Fix typos in the manual.
3219         * manual/resource.texi: Fix typos in the manual.
3221         * manual/time.texi: Fix typos in the manual.
3223         * manual/arith.texi: Fix typos in the manual.
3225         * manual/math.texi: Fix typos in the manual.
3227         * manual/syslog.texi: Fix typos in the manual.
3229         * manual/terminal.texi: Fix typos in the manual.
3231         * manual/socket.texi: Fix typos in the manual.
3233         * manual/filesys.texi: Fix typos in the manual.
3235         * manual/llio.texi: Fix typos in the manual.
3237         * manual/stdio.text: Fix typos in the manual.
3239 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3241         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3242         instead of K1.
3244         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3245         SHIFT_QUADRANT and make it bool.
3246         (do_sincos_2): Likewise.
3247         (sloww): Likewise.
3248         (sloww1): Likewise.
3249         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3250         (__cos): Likewise.
3252 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3254         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3256 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3258         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3259         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3260         0x7fffffffL].
3261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3263 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3265         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3266         inline by __inline__.
3267         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3268         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3269         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3271         sigset_t from signal.h.
3272         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3273         which is already required.
3275 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3277         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3279 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3281         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3282         (struct tcp_repair_window): New type.
3284 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3286         * libio/tst-memstream3.c: Include string.h.
3288 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3290         [BZ #18241]
3291         [BZ #20181]
3292         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3293         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3294         write position is at the end the buffer.
3295         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3296         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3297         (_IO_str_seekoff): Set correct offset from negative displacement and
3298         set EINVAL for invalid ones.
3299         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3300         buffer length.
3301         (_IO_wstr_switch_to_get_mode): New function.
3302         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3303         set EINVAL for invalid ones.
3304         * libio/tst-memstream3.c: New file.
3305         * libio/tst-wmemstream3.c: Likewise.
3306         * manual/examples/memstrm.c: Remove warning when priting size_t.
3308 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3310         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3311         macro to use __builtin_fma.
3312         * sysdeps/x86_64/fpu/dla.h: Remove file.
3314         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3315         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3316         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3318 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3320         [BZ #20292]
3321         * elf/Makefile (routines): Add dl-addr-obj.
3322         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3323         tst-_dl_addr_inside_object.
3324         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3325         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3326         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3327         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3328         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3329         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3330         * elf/dl-open.c: Likewise.
3331         * elf/dl-addr-obj.c: New file.
3332         * elf/tst-_dl_addr_inside_object.c: New file.
3334 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3336         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3337         <bits/iscanonical.h>.
3338         * bits/iscanonical.h: New file.
3339         * math/s_iscanonicall.c: Likewise.
3340         * math/Versions (__iscanonicall): New libm symbol at version
3341         GLIBC_2.25.
3342         * math/libm-test.inc (iscanonical_test_data): New array.
3343         (iscanonical_test): New function.
3344         (main): Call iscanonical_test.
3345         * math/Makefile (headers): Add bits/iscanonical.h.
3346         (type-ldouble-routines): Add s_iscanonicall.
3347         * manual/arith.texi (Floating Point Classes): Document
3348         iscanonical.
3349         * manual/libm-err-tab.pl: Update comment on interfaces without
3350         ulps tabulated.
3351         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3352         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3354         Likewise.
3355         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3356         test-iscanonical-ldbl-128ibm.
3357         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3358         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3359         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3360         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3361         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3362         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3367         Likewise.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3369         Likewise.
3370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3371         Likewise.
3372         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3373         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3375 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3377         * string/bits/string3.h: Remove C++ style comments.
3379 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3381         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3382         instead of ternary condition.
3383         (do_sincos_2): Likewise.
3384         (__sin): Likewise.
3385         (__cos): Likewise.
3386         (slow): Likewise.
3387         (sloww): Likewise.
3388         (sloww1): Likewise.
3389         (bsloww): Likewise.
3390         (bsloww1): Likewise.
3392         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3393         instead of ternary condition.
3394         (do_sin_slow): Likewise.
3395         (do_sincos_1): Likewise.
3396         (do_sincos_2): Likewise.
3397         (__cos): Likewise.
3398         (sloww): Likewise.
3399         (sloww1): Likewise.
3400         (sloww2): Likewise.
3401         (bsloww): Likewise.
3402         (bsloww1): Likewise.
3403         (bsloww2): Likewise.
3405         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3406         check from here...
3407         (slow2): ... and here...
3408         (__sin): ... to here.
3410 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3412         * math/math.h
3413         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3414         Cast argument to its own type.
3415         * math/test-iszero-excess-precision.c: New file.
3416         * math/Makefile (tests): Add test-iszero-excess-precision.
3417         (CFLAGS-test-iszero-excess-precision.c): New variable.
3419 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3421         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3422         field, add err field.
3423         (__spawni_child): Report error through err member instead of pipe.
3424         (__spawnix): Likewise.
3426 2016-09-28  Zack Weinberg  <zackw@panix.com>
3428         * scripts/check-installed-headers.sh: Generalize treatment of
3429         sys/elf.h to all target architectures.
3431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3432         deleted typedef ucontext_t.
3434 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3436         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3437         (__INTERNAL_SYSCALL1): Likewise.
3438         (__INTERNAL_SYSCALL2): Likewise.
3439         (__INTERNAL_SYSCALL3): Likewise.
3440         (__INTERNAL_SYSCALL4): Likewise.
3441         (__INTERNAL_SYSCALL5): Likewise.
3442         (__INTERNAL_SYSCALL6): Likewise.
3443         (__INTERNAL_SYSCALL7): Likewise.
3444         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3445         (__INTERNAL_SYSCALL_NARGS): Likewise.
3446         (__INTERNAL_SYSCALL_DISP): Likewise.
3447         (INTERNAL_SYSCALL_CALL): Likewise.
3448         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3449         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3450         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3451         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3452         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3453         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3454         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3455         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3456         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3457         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3458         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3459         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3460         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3462 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3464         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3465         macro.
3466         * math/libm-test.inc (iszero_test_data): New array.
3467         (iszero_test): New function.
3468         (main): Call iszero_test.
3469         * manual/arith.texi (Floating Point Classes): Document iszero.
3470         * manual/libm-err-tab.pl: Update comment on interfaces without
3471         ulps tabulated.
3473 2016-09-23  Zack Weinberg  <zackw@panix.com>
3475         * scripts/check-installed-headers.sh: New script.
3476         * Rules: In each directory that defines header files to be installed,
3477         run check-installed-headers.sh on them as a special test.
3478         * Makefile: Likewise for the headers installed at top level.
3480         * include/aliases.h, include/alloca.h, include/argz.h
3481         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3482         * include/elf.h, include/envz.h, include/err.h
3483         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3484         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3485         * include/link.h, include/malloc.h, include/mcheck.h
3486         * include/mntent.h, include/netinet/ether.h
3487         * include/nss.h, include/obstack.h, include/printf.h
3488         * include/pty.h, include/resolv.h, include/rpc/auth.h
3489         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3490         * include/rpc/clnt.h, include/rpc/des_crypt.h
3491         * include/rpc/key_prot.h, include/rpc/netdb.h
3492         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3493         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3494         * include/rpc/rpc_msg.h, include/rpc/svc.h
3495         * include/rpc/svc_auth.h, include/rpc/xdr.h
3496         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3497         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3498         * include/rpcsvc/ypupd.h, include/shadow.h
3499         * include/stdio_ext.h, include/sys/epoll.h
3500         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3501         * include/sys/prctl.h, include/sys/profil.h
3502         * include/sys/statfs.h, include/sys/sysctl.h
3503         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3504         * sysdeps/arm/nacl/include/bits/setjmp.h
3505         * sysdeps/mips/include/sys/asm.h
3506         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3507         * sysdeps/unix/sysv/linux/include/sys/timex.h
3508         * sysdeps/x86/fpu/include/bits/fenv.h:
3509         Add #ifndef _ISOMAC guard around internal declarations.
3510         Add multiple-inclusion guard if not already present.
3512 2016-09-23  Zack Weinberg  <zackw@panix.com>
3514         * sysdeps/generic/sys/ucontext.h
3515         * sysdeps/arm/sys/ucontext.h
3516         * sysdeps/i386/sys/ucontext.h
3517         * sysdeps/m68k/sys/ucontext.h
3518         * sysdeps/mips/sys/ucontext.h
3519         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3520         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3521         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3522         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3523         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3524         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3525         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3526         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3527         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3528         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3529         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3530         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3531         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3532         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3533         Include both bits/sigcontext.h and bits/sigstack.h.
3534         Fix grammar error in comment, if present.
3536         * bits/sigstack.h
3537         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3538         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3539         * sysdeps/unix/sysv/linux/bits/sigstack.h
3540         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3541         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3542         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3543         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3544         * bits/sigcontext.h
3545         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3546         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3547         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3548         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3549         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3550         as well as signal.h, if this was not already allowed.  Request
3551         definition of size_t if necessary.  Minimize semantically-null
3552         differences across files.
3554 2016-09-23  Zack Weinberg  <zackw@panix.com>
3556         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3557         Remove all logic conditional on __need macros.  Move all the
3558         conditionally defined types to their own headers...
3559         * time/bits/types/clock_t.h: Define clock_t here.
3560         * time/bits/types/clockid_t.h: Define clockid_t here.
3561         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3562         * time/bits/types/struct_timespec.h: Define struct timespec here.
3563         * time/bits/types/struct_timeval.h: Define struct timeval here.
3564         * time/bits/types/struct_tm.h: Define struct tm here.
3565         * time/bits/types/time_t.h: Define time_t here.
3566         * time/bits/types/timer_t.h: Define timer_t here.
3567         * time/Makefile: Install the new headers.
3569         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3570         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3571         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3572         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3573         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3574         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3575         * sysdeps/unix/sysv/linux/bits/resource.h
3576         * sysdeps/unix/sysv/linux/bits/timex.h
3577         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3578         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3579         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3580         * sysdeps/unix/sysv/linux/sys/acct.h
3581         * sysdeps/unix/sysv/linux/sys/timerfd.h
3582         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3583         * time/sys/time.h, time/sys/timeb.h
3584         Use the new bits/types headers.
3586         * include/time.h: Remove __need logic.
3587         * include/bits/time.h
3588         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3589         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3590         * include/bits/types/struct_itimerspec.h
3591         * include/bits/types/struct_timespec.h
3592         * include/bits/types/struct_timeval.h
3593         * include/bits/types/struct_tm.h:
3594         New wrapper headers.
3596 2016-09-23  Zack Weinberg  <zackw@panix.com>
3598         * sysdeps/mach/hurd/net/if_ppp.h
3599         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3600         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3601         if __USE_MISC is defined, to ensure struct ifreq is declared.
3603         * inet/netinet/ether.h: Condition all function prototypes
3604         on __USE_MISC, to ensure struct ether_addr is declared.
3606         * socket/bits/types/struct_osockaddr.h: New header.
3607         * include/bits/types/struct_osockaddr.h: New wrapper.
3608         * socket/Makefile: Install the new header.
3609         * socket/sys/socket.h, inet/protocols/talkd.h:
3610         Refer to bits/types/struct_osockaddr.h for the definition of
3611         struct osockaddr.
3613 2016-09-23  Zack Weinberg  <zackw@panix.com>
3615         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3616         * inet/protocols/routed.h, inet/protocols/talkd.h
3617         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3618         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3619         * sysdeps/generic/netinet/if_ether.h
3620         * sysdeps/generic/netinet/in_systm.h
3621         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3622         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3623         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3624         * sysdeps/mach/hurd/net/if_arp.h
3625         * sysdeps/mach/hurd/net/if_ppp.h
3626         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3627         * sysdeps/unix/sysv/linux/bits/in.h
3628         * sysdeps/unix/sysv/linux/net/ethernet.h
3629         * sysdeps/unix/sysv/linux/net/if_arp.h
3630         * sysdeps/unix/sysv/linux/net/if_ppp.h
3631         * sysdeps/unix/sysv/linux/net/if_shaper.h
3632         * sysdeps/unix/sysv/linux/net/route.h
3633         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3634         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3635         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3636         * sysdeps/unix/sysv/linux/netipx/ipx.h
3637         * sysdeps/unix/sysv/linux/sys/acct.h
3638         * include/arpa/nameser.h, include/resolv.h:
3639         Change all uses of u_char to unsigned char,
3640         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3641         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3642         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3643         and u_int64_t and u_quad_t to uint64_t.
3645         * mach/sys/reboot.h: Remove two casts of integer literals
3646         to the types they already have.
3648         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3649         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3650         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3651         from referring to 'unsigned char' to 'uint8_t' for consistency with
3652         the macro definition below.
3654         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3655         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3656         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3657         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3658         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3659         * sysdeps/unix/sysv/linux/sys/acct.h
3660         * include/arpa/nameser.h, include/resolv.h:
3661         Fix indentation disrupted by mechanical edits.
3663         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3664         * sysdeps/generic/netinet/in_systm.h
3665         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3666         * sysdeps/gnu/netinet/udp.h
3667         * sysdeps/unix/sysv/linux/net/ethernet.h
3668         * sysdeps/unix/sysv/linux/net/if_arp.h
3669         * sysdeps/unix/sysv/linux/net/if_ppp.h
3670         * sysdeps/unix/sysv/linux/net/if_shaper.h
3671         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3672         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3673         * sysdeps/unix/sysv/linux/netipx/ipx.h
3674         * sysdeps/unix/sysv/linux/sys/acct.h
3675         Include stdint.h for uintNN_t definitions.
3676         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3678 2016-09-23  Zack Weinberg  <zackw@panix.com>
3680         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3681         * sysdeps/unix/sysv/linux/netrose/rose.h:
3682         Include sys/socket.h and netax25/ax25.h.
3684         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3685         * resolv/arpa/nameser_compat.h:
3686         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3688         * sysdeps/unix/sysv/linux/sys/quota.h:
3689         Use __caddr_t instead of caddr_t.
3690         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3691         Use __clockid_t instead of clockid_t.
3693         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3695         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3696         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3697         expanding it.
3699         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3700         Define __glibc_c99_flexarr_available to 1 when the compiler
3701         supports C99-compatible flexible array members, 0 otherwise.
3702         * sysdeps/unix/sysv/linux/bits/socket.h
3703         * sysdeps/mach/hurd/bits/socket.h
3704         * bits/socket.h: Use __glibc_c99_flexarr_available in
3705         definitions of struct cmsghdr and CMSG_DATA.
3707 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3709         * manual/nss.texi (NSS Modules Interface): Adjust function return
3710         type to enum nss_status.  Document errnop argument.  Clarify
3711         h_errnop semantics.  Fix cross-reference formatting.
3712         (NSS Module Function Internals): Mention that *errnop needs to be
3713         set on failure, but not to zero.
3715 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3717         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3718         (get_random_name): New functions.
3719         (check_wrapper_flags_mode): Use linkat to give the new file a name
3720         determined by get_random_name.
3721         (do_test): Add calls to test open64 and openat64.
3723 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3725         * test-skeleton.c: Remove #include <stdarg.h>.
3727 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3729         [BZ #19826]
3730         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3731         initialization of static TLS entries.
3732         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3733         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3735 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3737         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3738         _hurd_malloc_fork_prepare.
3739         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3740         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3741         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3742         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3743         (_hurd_fork_child_hook): Drop malloc_fork_child.
3744         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3745         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3746         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3747         after locking locks (notably hurd_dtable_lock). Call
3748         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3749         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3750         __malloc_fork_unlock_child.
3751         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3753 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3755         * soft-fp/extendhftf2.c: New.
3756         * soft-fp/fixhfti.c: Likewise.
3757         * soft-fp/fixunshfti.c: Likewise.
3758         * soft-fp/floattihf.c: Likewise.
3759         * soft-fp/floatuntihf.c: Likewise.
3760         * soft-fp/half.h: Likewise.
3761         * soft-fp/trunctfhf2.c: Likewise.
3763 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3765         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3766         macro.
3767         * math/libm-test.inc (issubnormal_test_data): New array.
3768         (issubnormal_test): New function.
3769         * manual/arith.texi (Floating Point Classes): Document
3770         issubnormal.
3771         * manual/libm-err-tab.pl: Update comment on interfaces without
3772         ulps tabulated.
3774         * sysdeps/generic/stdint.h: Define
3775         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3776         <bits/libc-header-start.h> instead of including <features.h>.
3777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3810         * manual/arith.texi (Integers): Document these macros for types
3811         specified by width properties.
3812         * manual/lang.texi (Width of Type): Document these macros for
3813         other standard typedefs.
3814         * stdlib/tst-width-stdint.c: New file.
3815         * stdlib/Makefile (tests): Add tst-width-stdint.
3817 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3819         [BZ #20016]
3820         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3821         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3822         Move ...
3823         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3824         ... here, as compatibility symbols in a new file.
3825         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3826         * resolv/res_init.c (__res_vinit): Adjust member names.
3827         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3828         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3829         (res_send_rhook): Remove.
3830         (struct __res_state): Rename qhook, rhook members.
3832 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3834         malloc: Use __libc_lock wrappers.
3835         * malloc/arena.c (list_lock, free_list_lock): Define using
3836         __libc_lock_define_initialized.
3837         (arena_lock): Adjust formatting.
3838         * malloc/malloc.c (struct malloc_state): Define mutex using
3839         __libc_lock_define.
3840         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3841         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3842         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3843         (mutex_unlock, mutex_trylock): Remove.
3844         (__pthread_initialize): Remove unused macro.
3845         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3846         (mutex_unlock, mutex_trylock): Remove.
3848 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3850         [BZ #20592]
3851         Remove RR type classification macros.
3852         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3853         (ns_t_udp_p, ns_t_xfr_p): Remove.
3855 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3857         Remove misleading version information.
3858         * resolv/arpa/nameser.h (__NAMESER): Remove.
3859         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3861 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3863         Remove the always-defined BIND_4_COMPAT macro.
3864         * resolv/arpa/nameser.h: Unconditionally include
3865         <arpa/nameser_compat.h>.
3866         (BIND_4_COMPAT): Remove.
3867         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3869 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3871         [BZ #20591]
3872         Remove obsolete DNSSEC support.
3873         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3874         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3875         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3876         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3877         (ns_cert_types): Add comment.
3878         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3879         separately.
3880         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3881         (dst_s_dns_key_id): Remove.
3882         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3883         variables.
3885 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3887         [BZ #20524]
3888         * manual/string.texi (String/Array Comparison): Clarify the
3889         strverscmp behavior.
3891 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3893         * test-skeleton.c (xasprintf): Add function.
3894         * io/tst-open-tmpfile.c: New test.
3895         * io/Makefile (tests): Add it.
3897 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3899         Avoid running $(CXX) during build to obtain header file paths.
3900         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3901         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3902         * Makerules (cstdlib, cmath): Remove variables.  Use
3903         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3904         * configure: Regenerate.
3906 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3908         * Makeconfig (all-object-suffixes): Include .op only if
3909         $(build-profile).
3911 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3913         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3914         conditionals.  Do not define PATH_MAX.
3916 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3918         * posix/Makefile (tests): Add tst-spawn3.
3919         * posix/tst-spawn3.c: New file.
3920         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3921         if it is already opened for open action.
3923         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3924         all signals when executing the clone vfork child.
3925         (SIGALL_SET): Remove macro.
3927         * nptl/Makefile (tests): Add tst-exec5.
3928         * nptl/tst-exec5.c: New file.
3929         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3930         asynchronous cancellation.
3932 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3934         * hurd/exc2signal.c: #include <hurd/signal.h>
3935         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3936         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3937         accordingly.
3938         * mach/mach_error.c (mach_error): Fix old-style function definition.
3939         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3941 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3943         * math/Makefile (libm-calls): Remove s_nanF.
3944         (gen-libm-calls): Add s_nanF.
3946         * math/s_nan.c: Refactor into ...
3947         * math/s_nan_template.c: New file.
3949         * math/s_nanf.c: Removed.
3950         * math/s_nanl.c: Removed.
3951         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3952         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3954         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3955         (LDOUBLE_nanl_libm_version): New macro.
3957         * sysdeps/generic/math-type-macros-double.h:
3958         (M_STRTO_NAN): New macro.
3959         * sysdeps/generic/math-type-macros-float.h: Likewise.
3960         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3962         * sysdeps/generic/math-type-macros.h: Document
3963         M_STRTO_NAN.
3965 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3967         * math/s_nanf.c: Remove __nanf undef.
3968         * math/s_nan.c: Remove __nan undef.
3969         * math/s_nanl.c: Remove __nanl undef.
3971         * sysdeps/generic/math_private.h (__nan): Remove macro
3972         override.
3973         (__nanf): Likewise.
3974         (__nanl): Likewise.
3976 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3978         * math/Makefile (gen-all-calls): New variable.
3979         (generated): Replace gen-libm-calls with gen-all-calls.
3980         (gen-libm-templates.stmp): Likewise.  Also, ensure
3981         the output directory exists or is created and add
3982         dependency on the Makefile.
3983         (calls): Move s_ldexpF into gen-calls.
3984         (gen-calls): New variable.
3986         * math/s_ldexpf.c: Removed.
3987         * math/s_ldexpl.c: Removed.
3988         * math/s_ldexp.c: Refactored into ...
3989         * math/s_ldexp_template.c: New file.
3991         * sysdeps/generic/math-type-macros-double.h: Remove
3992         redundant fall-through definition of declare_mgen_alias.
3993         (declare_mgen_alias_2): New macro.
3995         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3996         New macro for function aliased to two exported symbols.
3998         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3999         new template file.
4000         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4002 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4004         * Makeconfig (all-object-suffixes): Remove .og.
4005         * Makerules (elide-routines.og): Remove.
4006         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4007         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4008         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4010 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4012         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4013         .os objects.
4015 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4017         [BZ #20615]
4018         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4019         fpu directory by non-fpu.
4020         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4021         on non-fpu directory from a fpu directory.
4023 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4025         * include/limits.h: Define
4026         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4027         <bits/libc-header-start.h> instead of including <features.h>.
4028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4039         * manual/lang.texi (Width of Type): Document these macros.
4040         * stdlib/tst-width.c: New file.
4041         * stdlib/Makefile (tests): Add tst-width.
4043 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4045         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4046         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4048 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4050         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4051         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4052         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4054 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4056         [BZ #18243]
4057         * rt/Makefile (test): Add tst-shm-cancel.
4058         * rt/tst-shm-cancel.c: New file.
4059         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4061         [BZ #18243]
4062         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4063         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4064         definition.
4065         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4066         uncontended case.
4067         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4068         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4069         (tf): Fix check for uncontended case.
4070         (do_test): Likewise.
4071         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4072         (tf): Fix check for uncontended case.
4073         (do_test): Likewise.
4074         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4075         (tf): Fix check for uncontended case.
4076         (do_test): Likewise.
4077         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4078         (tf): Fix check for uncontended case.
4079         (do_test): Likewise.
4081         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4082         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4084         [BZ #15765]
4085         * nptl/Makefile (tests): Add tst-sem16.
4086         * nptl/tst-sem16.c: New file.
4087         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4089         * nptl/sem_open.c (sem_open): Init pad value to 0.
4090         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4091         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4093 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4095         [BZ #20611]
4096         * inet/Makefile (routines): Add inet6_scopeid_pton.
4097         (tests): Add tst-inet6_scopeid_pton.
4098         * inet/inet6_scopeid_pton.c: New file.
4099         * inet/net-internal.h: Likewise.
4100         * inet/tst-inet6_scopeid_pton.c: New test.
4101         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4102         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4105 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4107         Remove support for compiling wrappers with PTW.
4108         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4109         * nptl/Makefile (pthread-compat-wrappers): Define.
4110         (libpthread-routines): Use pthread-compat-wrappers.
4111         * sysdeps/unix/sysv/linux/alpha/Makefile
4112         (libpthread-routines, libpthread-shared-only-routines): Remove
4113         ptw- prefix.
4114         * sysdeps/s390/nptl/Makefile
4115         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4116         * sysdeps/ia64/nptl/Makefile
4117         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4118         * sysdeps/nacl/Makefile (libpthread-routines): Use
4119         pthread-compat-wrappers to filter the routines list instead of the
4120         ptw- prefix.
4122 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4124         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4125         with L() and remove explicit suffix, convert real literals
4126         which can be equivalentally substituted with integers, and
4127         transform -L(x) to L(-x).
4129         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4163         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4164         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4165         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4167         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4168         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4170         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4171         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4172         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4174         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4175         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4177         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4180 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4182         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4184 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4186         * malloc/Makefile (tests): Remove individual static test names
4187         and just add all of tests-static.
4189         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4191 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4193         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4194         file.
4196         * sysdeps/sparc/fpu/fegetmode.c: New file.
4197         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4199         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4200         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4202         * sysdeps/s390/fpu/fegetmode.c: New file.
4203         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4205         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4206         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4207         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4208         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4209         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4210         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4212         * sysdeps/mips/fpu/fegetmode.c: New file.
4213         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4215         * sysdeps/m68k/fpu/fegetmode.c: New file.
4216         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4218         * sysdeps/ia64/fpu/fegetmode.c: New file.
4219         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4221         * sysdeps/hppa/fpu/fegetmode.c: New file.
4222         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4224         * sysdeps/arm/fegetmode.c: New file.
4225         * sysdeps/arm/fesetmode.c: Likewise.
4227         * sysdeps/alpha/fpu/fegetmode.c: New file.
4228         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4230         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4231         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4233         * math/fegetmode.c: New file.
4234         * math/fesetmode.c: Likewise.
4235         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4236         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4237         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4238         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4239         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4241         declaration.
4242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4243         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4244         typedef.
4245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4246         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4247         (femode_t): New typedef.
4248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4249         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4250         (femode_t): New typedef.
4251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4252         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4253         (femode_t): New typedef.
4254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4255         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4256         (femode_t): New typedef.
4257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4258         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4259         (femode_t): New typedef.
4260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4261         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4262         (femode_t): New typedef.
4263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4264         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4265         (femode_t): New typedef.
4266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4267         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4268         (femode_t): New typedef.
4269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4270         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4271         (femode_t): New typedef.
4272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4273         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4274         (femode_t): New typedef.
4275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4276         declaration.
4277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4278         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4279         (femode_t): New typedef.
4280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4281         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4282         (femode_t): New typedef.
4283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4284         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4285         (femode_t): New typedef.
4286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4287         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4288         (femode_t): New typedef.
4289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4290         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4291         (femode_t): New typedef.
4292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4293         * manual/arith.texi (FE_DFL_MODE): Document macro.
4294         (fegetmode): Document function.
4295         (fesetmode): Likewise.
4296         * math/Versions (fegetmode): New libm symbol at version
4297         GLIBC_2.25.
4298         (fesetmode): Likewise.
4299         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4300         (tests): Add test-femode and test-femode-traps.
4301         * math/test-femode-traps.c: New file.
4302         * math/test-femode.c: Likewise.
4303         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4304         alias for __fe_dfl_env.
4305         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4306         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4307         (__fe_dfl_mode): Likewise.
4308         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4309         version GLIBC_2.25.
4310         * sysdeps/nacl/libm.abilist: Update.
4311         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4312         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4314         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4315         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4316         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4317         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4318         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4319         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4320         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4321         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4324         Likewise.
4325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4326         Likewise.
4327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4328         Likewise.
4329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4330         Likewise.
4331         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4332         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4333         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4334         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4335         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4339         Likewise.
4340         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4344 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4346         [BZ #20495]
4347         [BZ #20508]
4348         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4349         processors, set Use_dl_runtime_resolve_slow and set
4350         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4351         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4352         New.
4353         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4354         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4355         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4356         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4357         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4358         if Use_dl_runtime_resolve_opt is set.  Use
4359         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4360         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4361         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4362         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4363         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4364         New.
4365         (_dl_runtime_resolve_opt): Likewise.
4366         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4367         defined.
4369 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4371         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4372         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4374 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4376         Convert malloc to __libc_lock.  Automated part, using this Perl
4377         s/// command:
4378           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4379             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4380         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4381         conversion.
4383 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4385         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4386         (linknamespace-symlists-tests): Likewise.
4387         (linknamespace-header-tests): Likewise.
4389 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4391         [BZ #19810]
4392         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4393         * elf/tst-noload.c: New test case.
4394         * elf/Makefile (tests): Add tst-noload.
4396 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4398         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4400         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4401         not any more.
4403         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4405 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4407         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4408         (do_cos_slow): Likewise.
4409         (do_sin): Likewise.
4410         (do_sin_slow): Likewise.
4411         (slow): Likewise.
4412         (slow1): Likewise.
4413         (slow2): Likewise.
4414         (sloww): Likewise.
4415         (sloww1): Likewise.
4416         (sloww2): Likewise.
4417         (bsloww): Likewise.
4418         (bsloww1): Likewise.
4419         (bsloww2): Likewise.
4420         (cslow2): Likewise.
4422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4424         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4425         arguments.  Consolidate input partitioning from callers here.
4426         (do_cos_slow): Likewise.
4427         (do_sin): Likewise.
4428         (do_sin_slow): Likewise.
4429         (do_sincos_1): Remove the no longer necessary input partitioning.
4430         (do_sincos_2): Likewise.
4431         (__sin): Likewise.
4432         (__cos): Likewise.
4433         (slow1): Likewise.
4434         (slow2): Likewise.
4435         (sloww1): Likewise.
4436         (sloww2): Likewise.
4437         (bsloww1): Likewise.
4438         (bsloww2): Likewise.
4439         (cslow2): Likewise.
4441 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4443         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4444         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4445         outside of allocated array.
4447 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4449         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4450         instead of MB_CUR_MAX to avoid variable-length array.
4452 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4454         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4455         (type-double-routines): Add k_rem_pio2.
4456         (type-float-routines): Add k_rem_pio2f.
4458         * sysdeps/generic/math_private.h:
4459         (__kernel_rem_pio2l): Removed.
4461         * math/k_rem_pio2l.c: Removed.
4462         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4463         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4464         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4465         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4467 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4469         * math/Makefile (gen-libm-calls): Add s_fmin
4470         (libm-calls): Remove above.
4472         * math/s_fmin.c: Refactor into ...
4473         * math/s_fmin_template.c: New file.
4475         * math/s_fminf.c: Removed.
4476         * math/s_fminl.c: Removed.
4477         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4478         (LDOUBLE_fmin_libm_version): New macro.
4480         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4481         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4483 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4485         * math/Makefile: (gen-libm-calls): Add s_fmax.
4486         (libm-calls): Remove above.
4488         * math/s_fmax.c: Refactor into ...
4489         * math/s_fmax_template.c: New file.
4490         * math/s_fmaxf.c: Removed.
4491         * math/s_fmaxl.c: Removed.
4493         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4494         (LDOUBLE_fmaxl_libm_version): New macro.
4496         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4497         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4499         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4500         s_fmin.c to pick the aarch64 version of the file.
4501         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4502         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4504 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4506         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4507         (libm-calls): Remove above.
4509         * math/s_nextdown.c: Refactor into ...
4510         * math/s_nextdown_template.c: New file.
4511         * math/s_nextdownf.c: Removed.
4512         * math/s_nextdownl.c: Removed.
4514         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4516 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4518         * math/Makefile (gen-libm-calls): Add s_fdim.
4519         (libm-calls): Move to above.
4521         * math/s_fdim.c: Renamed and refactored into to ...
4522         * math/s_fdim_template.c: New file.
4523         * math/s_fdiml.c: Removed.
4524         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4525         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4527         * sysdeps/generic/math-type-macros-double.h:
4528         (declare_mgen_alias): Don't declare if already declared.
4529         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4530         Likewise.
4532         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4533         (declare_mgen_alias): Don't declare if already declared.
4534         (M_LIBM_NEED_COMPAT): Likewise.
4535         (declare_mgen_libm_compat): Likewise.
4536         (LDOUBLE_fdiml_libm_version): New macro.
4538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4539         Include math/s_fdim.c now that ldbl-opt version is not needed.
4540         (declare_mgen_alias): New macro to disable aliasing.
4542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4543         (declare_mgen_alias): Likewise.
4544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4545         (declare_mgen_alias): Likewise.
4546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4547         (declare_mgen_alias): Likewise.
4548         (M_LIBM_NEED_COMPAT): Likewise.
4550 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4552         [BZ #20525]
4553         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4554         Include <linux/quota.h>.
4555         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4556         and btodb.
4557         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4558         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4559         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4560         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4561         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4562         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4563         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4564         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4565         types.
4566         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4567         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4569 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4572         (gammal_positive): Fix spacing.
4573         (__ieee754_gammal_r): Likewise.
4575 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4577         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4578         (_Float128): Define as long double, always.
4579         (L): Apply long double type suffix, always.
4581         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4582         _Float128, excepting comments.
4584         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4585         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4586         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4587         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4588         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4591         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4592         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4593         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4594         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4595         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4596         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4598         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4599         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4600         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4601         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4602         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4603         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4605         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4606         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4607         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4608         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4610         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4613         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4615         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4616         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4619         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4620         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4621         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4622         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4623         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4624         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4625         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4626         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4627         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4628         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4638         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4639         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4640         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4642         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4643         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4644         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4645         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4646         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4647         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4648         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4649         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4650         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4653         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4654         _Float128, and include math_private.h.
4655         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4658         long double semantics.
4659         (_Float128): Likewise.
4660         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4662         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4663         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4665 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4667         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4668         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4669         * sysdeps/s390/configure: Regenerated.
4670         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4671         instruction for raising over-/underflow if z196 zarch is supported
4672         by default.
4673         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4675 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4677         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4678         it point to a dumb buffer for RPC to fill it.
4680 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4682         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4683         instead of if/else.
4684         (do_sin_slow): Likewise.
4685         (do_sincos_1): Use fabs instead of if/else.
4686         (do_sincos_2): Likewise.
4687         (__sin): Likewise.
4688         (__cos): Likewise.
4689         (slow2): Likewise.
4690         (sloww): Likewise.
4691         (sloww1): Likewise.  Drop argument M.
4692         (sloww2): Use fabs instead of if/else.
4693         (bsloww): Likewise.
4694         (bsloww1): Likewise.
4695         (bsloww2): Likewise.
4697         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4698         fall through comment.
4699         (do_sincos_1): Likewise.
4701         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4702         Consolidate switch cases 0 and 2.
4704 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4706         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4707         (libm-calls): Remove the above.
4709         * math/s_cexp_template.c: Update using type-generic macros.
4710         * math/s_clog10_template.c: Likewise.
4711         * math/s_cpow_template.c: Likewise.
4712         * math/s_clog_template.c: Likewise.
4713         * math/s_cproj_template.c: Likewise.
4714         * math/s_csqrt_template.c: Likewise.
4716         * math/s_cexp.c: Removed.
4717         * math/s_cexpf.c: Removed.
4718         * math/s_cexpl.c: Removed.
4719         * math/s_clog10.c: Removed.
4720         * math/s_clog10f.c: Removed.
4721         * math/s_clog10l.c: Removed.
4722         * math/s_cpow.c: Removed.
4723         * math/s_cpowf.c: Removed.
4724         * math/s_cpowl.c: Removed.
4725         * math/s_clog.c: Removed.
4726         * math/s_clogf.c: Removed.
4727         * math/s_clogl.c: Removed.
4728         * math/s_cproj.c: Removed.
4729         * math/s_cprojf.c: Removed.
4730         * math/s_cprojl.c: Removed.
4731         * math/s_csqrt.c: Removed.
4732         * math/s_csqrtf.c: Removed.
4733         * math/s_csqrtl.c: Removed.
4735         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4736         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4737         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4738         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4739         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4740         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4742         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4743         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4744         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4745         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4746         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4747         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4748         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4749         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4750         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4751         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4752         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4754         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4755         version.
4757         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4758         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4759         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4760         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4762 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4764         * s_cexp_template.c: Copy of s_cexp.c.
4765         * s_clog_template.c: Copy of s_clog.c.
4766         * s_clog10_template.c: Copy of s_clog10.c.
4767         * s_cpow_template.c: Copy of s_cpow.c.
4768         * s_cproj_template.c: Copy of s_cproj.c.
4769         * s_csqrt_template.c: Copy of s_csqrt.c.
4771 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4773         [BZ #20517]
4774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4775         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4776         exported.
4778 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4780         * math/fetestexceptflag.c: New file.
4781         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4782         Stefan Liebler.
4783         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4784         (fetestexceptflag): New function declaration.
4785         * manual/arith.texi (fetestexceptflag): Document function.
4786         * math/Versions (fetestexceptflag): New libm symbol at version
4787         GLIBC_2.25.
4788         * math/Makefile (libm-support): Add fetestexceptflag.
4789         (tests): Add test-fetestexceptflag.
4790         * math/test-fetestexceptflag.c: New file.
4791         * sysdeps/nacl/libm.abilist: Update.
4792         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4802         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4803         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4809         Likewise.
4810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4811         Likewise.
4812         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4818         Likewise.
4819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4820         Likewise.
4821         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4825 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4827         [BZ #20432]
4828         Avoid strong references to malloc-internal symbols when linking
4829         statically, to support statically interposed mallocs.
4830         * include/libc-symbols.h (call_function_static_weak): New macro.
4831         * malloc/Makefile (tests): Add tst-interpose-nothread,
4832         tst-interpose-thread, tst-interpose-static-nothread,
4833         tst-interpose-static-thread.
4834         (tests-static): Add tst-interpose-static-nothread,
4835         tst-interpose-static-thread.
4836         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4837         tst-interpose-aux-thread.o.
4838         (test-extras): Add tst-interpose-aux-nothread,
4839         tst-interpose-aux-thread.
4840         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4841         tst-interpose-aux-nothread.o.
4842         (tst-interpose-thread, tst-interpose-static-thread): Link with
4843         tst-interpose-aux-thread.o and libthread.
4844         * malloc/tst-interpose-aux-nothread.c: New file.
4845         * malloc/tst-interpose-aux-thread.c: Likewise.
4846         * malloc/tst-interpose-aux.c: Likewise.
4847         * malloc/tst-interpose-aux.h: Likewise.
4848         * malloc/tst-interpose-nothread.c: Likewise.
4849         * malloc/tst-interpose-skeleton.c: Likewise.
4850         * malloc/tst-interpose-static-nothread.c: Likewise.
4851         * malloc/tst-interpose-static-thread.c: Likewise.
4852         * malloc/tst-interpose-thread.c: Likewise.
4853         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4854         * sysdeps/mach/hurd/fork.c (__fork): Only call
4855         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4856         __malloc_fork_unlock_child if defined.
4857         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4859 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4861         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4862         timespec C99 designated initialization.
4864 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4866         [BZ #19946]
4867         Avoid expected SIGALRM signals.
4868         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4869         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4870         (xpthread_create, xpthread_detach, xpthread_join)
4871         (delayed_exit_thread, delayed_exit): New functions.
4872         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4873         (tf): Use xpthread_cond_wait.
4874         (do_test): Likewise.  Replace alarm with delayed_exit.
4875         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4876         (do_test): Call delayed_exit.  Report failure.
4877         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4878         (do_test): Call delayed_exit.
4879         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4880         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4881         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4882         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4883         error.
4884         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4885         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4886         error.
4887         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4888         (do_test): Call delayed_exit.
4889         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4890         (do_test): Call delayed_exit.
4891         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4892         (do_test): Call delayed_exit instead of alarm.  Use
4893         xpthread_mutex_lock.
4894         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4895         (do_test): Call delayed_exit instead of alarm.  Use
4896         xpthread_mutex_lock.
4897         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4898         (do_test): Call delayed_exit instead of alarm.
4899         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4900         (do_test): Call delayed_exit instead of alarm.  Use
4901         xpthread_spin_lock.
4902         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4903         (do_test): Call delayed_exit instead of alarm.  Use
4904         xpthread_join.
4906 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4908         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4909         adjust CFA when allocating register save area on re-aligned
4910         stack.
4912 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4914         * string/tst-cmp.c: New test.
4915         * string/Makefile (tests): Add it.
4917 2016-08-25  Mark Wielaard  <mark@klomp.org>
4919         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4920         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4921         (check_tree_recurse): Use newly defined accessors.
4922         (check_tree): Likewise.
4923         (maybe_split_for_insert): Likewise.
4924         (__tfind): Likewise.
4925         (__tdelete): Likewise.
4926         (trecurse): Likewise.
4927         (tdestroy_recurse): Likewise.
4928         (__tsearch): Likewise. And add asserts for malloc alignment.
4929         (__twalk): Cast root to node in case CHECK_TREE is defined.
4931 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4933         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4935 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4937         * math/Makefile (libm-gen-calls): Add
4938         catan, catanh, ctan, ctanh.
4939         (libm-calls): Remove the above.
4941         * math/s_catan_template.c: Update using type-generic macros.
4942         * math/s_catanh_template.c: Likewise.
4943         * math/s_ctan_template.c: Likewise.
4944         * math/s_ctanh_template.c: Likewise.
4946         * math/s_catanf.c: Removed.
4947         * math/s_catan.c: Removed.
4948         * math/s_catanl.c: Removed.
4949         * math/s_catanhf.c: Removed.
4950         * math/s_catanh.c: Removed.
4951         * math/s_catanhl.c: Removed.
4952         * math/s_ctanf.c: Removed.
4953         * math/s_ctan.c: Removed.
4954         * math/s_ctanl.c: Removed.
4955         * math/s_ctanhf.c: Removed.
4956         * math/s_ctanh.c: Removed.
4957         * math/s_ctanhl.c: Removed.
4959         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4960         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4961         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4962         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4963         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4964         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4966         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4967         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4968         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4969         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4971 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4973         * s_catan_template.c: Copy of s_catan.c.
4974         * s_catanh_template.c: Copy of s_catanh.c.
4975         * s_ctan_template.c: Copy of s_ctan.c.
4976         * s_ctanh_template.c: Copy of s_ctanh.c.
4978 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4980         * math/Makefile (gen-libm-calls): Move
4981         casin, casinh, csin, csinh here.
4982         (libm-calls): Remove the above.
4984         * math/s_casin_template.c: Update using type-generic macros.
4985         * math/s_casinh_template.c: Likewise.
4986         * math/s_csin_template.c: Likewise.
4987         * math/s_csinh_template.c: Likewise.
4988         * math/k_casinh_template.c: Likewise.
4990         * math/s_casinf.c: Removed.
4991         * math/s_casin.c: Removed.
4992         * math/s_casinl.c: Removed.
4993         * math/s_casinh.c: Removed.
4994         * math/s_casinhf.c: Removed.
4995         * math/s_casinhl.c: Removed.
4996         * math/s_csin.c: Removed.
4997         * math/s_csinf.c: Removed.
4998         * math/s_csinl.c: Removed.
4999         * math/s_csinh.c: Removed.
5000         * math/s_csinhf.c: Removed.
5001         * math/s_csinhl.c: Removed.
5002         * math/k_casinh.c: Removed.
5003         * math/k_casinhf.c: Removed.
5004         * math/k_casinhl.c: Removed.
5006         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5007         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5008         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5009         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5011         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5012         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5013         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5014         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5015         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5016         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5017         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5018         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5020         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5021         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5022         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5023         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5025         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5026         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5027         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5028         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5030 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5032         * s_casin_template.c: Copy of s_casin.c.
5033         * s_casinh_template.c: Copy of s_casinh.c.
5034         * s_csin_template.c: Copy of s_csin.c.
5035         * s_csinh_template.c: Copy of s_csinh.c.
5036         * k_casinh_template.c: Copy of k_casinh.c.
5038 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5040         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5042 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5044         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5045         (mul_split) Remove, rename as mul_splitl, remove
5046         redundant float.h include, and include via mul_splitl.h
5048         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5049         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5050         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5051         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5052         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5054         * math/mul_splitl.h: New file.
5056         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5057         Move into mul_split.h, and remove redundant float.h include.
5059         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5060         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5061         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5062         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5064         * math/mul_split.h: New file.
5066 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5068         * math/Makefile (libm-gen-calls): Move
5069         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5070         (libm-calls): Remove above.
5072         * math/s_cacos_template.c: Update using type-generic macros.
5073         * math/s_cacosh_template.c: Likewise.
5074         * math/s_ccos_template.c: Likewise.
5075         * math/s_ccosh_template.c: Likwise.
5077         * math/s_cacosf.c: Removed.
5078         * math/s_cacos.c: Removed.
5079         * math/s_cacosl.c: Removed.
5080         * math/s_cacoshf.c: Removed.
5081         * math/s_cacosh.c: Removed.
5082         * math/s_cacoshl.c: Removed.
5083         * math/s_ccosf.c: Removed.
5084         * math/s_ccos.c: Removed.
5085         * math/s_ccosl.c: Removed.
5086         * math/s_ccoshf.c: Removed.
5087         * math/s_ccosh.c: Removed.
5088         * math/s_ccoshl.c: Removed.
5090         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5091         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5092         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5093         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5094         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5095         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5097         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5098         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5099         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5100         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5102         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5103         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5104         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5105         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5107 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5109         * s_cacos_template.c: Copy of s_cacos.c.
5110         * s_cacosh_template.c: Copy of s_cacosh.c.
5111         * s_ccos_template.c: Copy of s_ccos.c.
5112         * s_ccosh_template.c: Copy of s_ccosh.c.
5114 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5116         * stdlib/tst-strtod-round-skeleton.c:
5117         Refactored from tst-strtod-round.c.
5119         (L_): New macro to apply literal modifier.
5120         (FNPFX): New macro to select str or wcs prefix.
5121         (CHAR): New macro to choose wchar_t or char.
5122         (STRM): New macro to choose printf for tested character type.
5124         (STRTO): New macro to choose appropriate string -> real function.
5125         (FNPFXS): Stringitized version of FNPFX.
5126         (STR): Support for above macro.
5127         (STRX): Likewise.
5129         (TEST): Update with above macros.
5130         (test): Likewise.
5131         (GEN_ONE_TEST): Likewise.
5132         (test_in_one_mode): Likewise.
5134         * stdlib/tst-strtod-round.c: New file.
5135         * wcsmbs/tst-wcstod-round.c: New file.
5137         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5138         (tst-wcstod-round): Add libm depencency for fesetround.
5140 2016-08-19  Zack Weinberg  <zackw@panix.com>
5142         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5144 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5146         [BZ #20477]
5147         * resolv/res_hconf.c (do_init): Use atomic access.
5148         * resolv/res_hconf.h: Add comments.
5149         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5150         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5153 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5156         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5157         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5158         Likewise.
5160 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5162         [BZ #16907]
5163         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5164         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5165         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5166         (__attribute__): Remove definition.
5168 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5170         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5171         Remove unused sqrtl declaration.
5173 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5175         * math/Makefile: (gen-libm-templates.stmp): New rule.
5176         (libm-calls): Move carg conj cimag and cabs into ...
5177         (gen-libm-calls): New variable.
5178         (generated): Inform Make objects from gen-libm-calls
5179         may be generated.
5181         * sysdeps/generic/math-type-macros.h: New file.
5182         * sysdeps/generic/math-type-macros-float.h: Likewise.
5183         * sysdeps/generic/math-type-macros-double.h: Likewise.
5184         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5185         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5186         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5188         * math/cabs.c: Refactor into
5189         * math/cabs_template.c: new file.
5190         * math/cabsf.c: Removed.
5191         * math/cabsl.c: Removed.
5192         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5193         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5195         * math/carg.c: Refactor into
5196         * math/carg_template.c: new file.
5197         * math/cargf.c: Removed.
5198         * math/cargl.c: Removed.
5199         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5200         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5202         * math/conj.c: Refactor into
5203         * math/conj_template.c: new file.
5204         * math/conjf.c: Removed.
5205         * math/conjl.c: Removed.
5206         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5207         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5209         * math/cimag.c: Refactor into
5210         * math/cimag_template.c: new file.
5211         * math/cimagf.c: Removed.
5212         * math/cimagl.c: Removed.
5213         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5214         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5216         * math/cimag.c: Refactor into
5217         * math/cimag_template.c: new file.
5218         * math/cimagf.c: Removed.
5219         * math/cimagl.c: Removed.
5220         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5221         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5223 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5225         Reduce time to expected nptl/tst-once5 failure.
5226         * nptl/tst-once5.cc (TIMEOUT): Define.
5228 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5230         [BZ #20452]
5231         Avoid additional copies of objects in libc.a in static libraries.
5232         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5233         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5234         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5235         rt-sysdep.
5236         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5237         Add nptl-sysdep.
5238         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5239         Add ptw-sysdep.
5240         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5241         rt-sysdep.
5242         * sysdeps/unix/sysv/linux/alpha/Makefile
5243         (libpthread-shared-only-routines): Add ptw-sysdep,
5244         ptw-sigprocmask, ptw-rt_sigaction.
5245         * sysdeps/unix/sysv/linux/ia64/Makefile
5246         (librt-shared-only-routines): Add rt-sysdep.
5247         * sysdeps/unix/sysv/linux/i386/Makefile
5248         (libpthread-shared-only-routines): Add libc-do-syscall.
5249         * sysdeps/unix/sysv/linux/microblaze/Makefile
5250         (libpthread-shared-only-routines): Add sysdep.
5251         * sysdeps/unix/sysv/linux/powerpc/Makefile
5252         (librt-shared-only-routines): Add rt-sysdep.
5253         (libpthread-shared-only-routines): Add sysdep.
5254         * sysdeps/unix/sysv/linux/s390/Makefile
5255         (librt-shared-only-routines): Add rt-sysdep.
5256         * sysdeps/unix/sysv/linux/sparc/Makefile
5257         (librt-shared-only-routines): Add rt-sysdep.
5258         (libpthread-shared-only-routines): Add sysdep.
5259         * sysdeps/unix/sysv/linux/tile/Makefile
5260         (libpthread-shared-only-routines): Likewise.
5262 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5264         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5265         Mask implicit bit out of unpacked value.
5266         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5270         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5272         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5274         * sysdeps/s390/fpu/fesetexcept.c: New file.
5276         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5277         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5278         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5280         * sysdeps/mips/fpu/fesetexcept.c: New file.
5282         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5284         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5286         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5288         * sysdeps/arm/fesetexcept.c: New file.
5290         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5292         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5294         * math/fesetexcept.c: New file.
5295         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5296         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5297         * math/fenv.h: Define
5298         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5299         <bits/libc-header-start.h> instead of including <features.h>.
5300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5301         declaration.
5302         * manual/arith.texi (fesetexcept): Document function.
5303         * math/Versions (fesetexcept): New libm symbol at version
5304         GLIBC_2.25.
5305         * math/Makefile (libm-support): Add fesetexcept.
5306         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5307         * math/test-fesetexcept.c: New file.
5308         * math/test-fesetexcept-traps.c: Likewise.
5309         * sysdeps/nacl/libm.abilist: Update.
5310         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5314         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5315         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5317         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5318         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5320         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5323         Likewise.
5324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5325         Likewise.
5326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5327         Likewise.
5328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5331         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5332         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5334         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5336         Likewise.
5337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5338         Likewise.
5339         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5341         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5343 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5345         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5346         New.
5347         (do_test): Apply default_stack_size_in_mb if not set.
5348         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5350 2016-08-15  Andreas Schwab  <schwab@suse.de>
5352         [BZ #20435]
5353         CVE-2016-6323
5354         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5355         as .cantunwind.
5357 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5359         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5360         comment from fraiseexcpt.c.
5362         * math/test-fexcept.c (feraiseexcept_exact): New function.
5363         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5364         (test_except): Likewise.
5366 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5368         [BZ #20455]
5369         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5370         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5371         to be restored.
5373         * math/test-fexcept-traps.c: New file.
5374         * math/test-fexcept.c: Likewise.
5375         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5376         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5377         macro.
5378         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5379         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5381 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5383         * include/atomic.h (atomic_fetch_and_relaxed,
5384         atomic_fetch_and_release, atomic_fetch_or_release,
5385         atomic_fetch_xor_release): New.
5387 2016-08-06  Christian Seiler  <christian@iwakd.de>
5389         [BZ #20444]
5390         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5391         MACH_PORT_NULL.
5393 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5395         * math/s_fdim.c: Avoid alias renamed.
5396         * math/s_fdimf.c: Likewise.
5397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5398         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5399         Add s_fdimf-vis3, s_fdim-vis3.
5400         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5401         (CFLAGS-s_fdim-vis3.c): Likewise.
5402         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5403         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5405 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5408         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5409         Remove s_fdimf-vis3, s_fdim-vis3.
5410         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5411         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5418         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5419         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5421 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5423         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5424         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5425         -Wa,-Av9a -mvis.
5427 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5429         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5430         LIT() to individual constants in simple expressions
5431         after splitting on spaces.
5432         (_apply_lit): Rename replaced version, and use it to
5433         apply to what appears to be a token.
5435         * math/libm-test.inc: Fix many, many issues with
5436         spacing.
5438 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5440         * math/math.h: Move comment about <bits/mathdef.h> definitions
5441         above inclusion of <bits/mathdef.h>.  Do not mention
5442         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5444 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5446         * include/atomic.h (atomic_exchange_relaxed): New.
5448 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5450         * math/e_scalb.c: Do not include <fenv.h>.
5451         (invalid_fn): Do calculation resulting in NaN instead of raising
5452         FE_INVALID and returning a NaN explicitly.
5453         * math/e_scalbf.c: Do not include <fenv.h>.
5454         (invalid_fn): Do calculation resulting in NaN instead of raising
5455         FE_INVALID and returning a NaN explicitly.
5456         * math/e_scalbl.c: Do not include <fenv.h>.
5457         (invalid_fn): Do calculation resulting in NaN instead of raising
5458         FE_INVALID and returning a NaN explicitly.
5460 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5462         * po/de.po: Updated from Translation Project.
5463         * po/fi.po: Likewise.
5464         * po/sv.po: Likewise.
5466 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5468         [BZ #20452]
5469         Use sysdep.o from libc.a in static libraries.
5470         * sysdeps/unix/sysv/linux/i386/Makefile
5471         (libpthread-shared-only-routines): Add sysdep.
5472         (librt-shared-only-routines): Likewise.
5474 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5476         * math/tgmath.h (nextdown): Define if
5477         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5478         (nextup): Likewise.
5480         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5481         macro.
5482         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5483         Document.
5484         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5485         Document macro.
5486         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5487         (exp10f): Likewise.
5488         (exp10l): Likewise.
5489         * math/bits/mathcalls.h (exp10): Declare if
5490         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5492         * manual/arith.texi (nextup): Fix typo in last change.
5494 2016-08-03  Zack Weinberg  <zackw@panix.com>
5496         [BZ #19239]
5497         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5498         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5499         define major, minor, and makedev to issue deprecation warnings on use.
5500         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5501         previously-activated deprecation warnings for these macros and prevent
5502         subsequent inclusions of this header from having any effect.
5503         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5504         including <sys/sysmacros.h>, and undefine it again afterward.
5506 2016-08-03  Zack Weinberg  <zackw@panix.com>
5508         * sysdeps/generic/sys/sysmacros.h: Delete file.
5509         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5510         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5511         * bits/sysmacros.h: ... here; this encoding is now the generic
5512         encoding.  Now defines only the following macros:
5513         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5514         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5515         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5517         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5518         bits/sysmacros.h and the above new macros to generate the
5519         public implementations of major, minor, and makedev.
5520         * misc/tst-makedev.c: New test.
5521         * include/sys/sysmacros.h: New wrapper.
5523         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5524         (routines): Add makedev.
5525         (tests): Add tst-makedev.
5526         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5527         gnu_dev_makedev.
5528         * posix/Makefile (headers): Remove sys/sysmacros.h.
5529         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5531         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5532         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5533         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5534         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5535         * sysdeps/unix/sysv/linux/arm/libc.abilist
5536         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5537         * sysdeps/unix/sysv/linux/i386/libc.abilist
5538         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5539         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5540         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5541         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5542         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5543         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5544         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5545         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5546         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5551         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5552         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5553         * sysdeps/unix/sysv/linux/sh/libc.abilist
5554         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5555         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5558         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5559         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5560         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5561         Add GLIBC_2.25.
5563         * include/features.h (__glibc_clang_prereq): New macro.
5564         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5565         (__attribute_deprecated_msg__): New macros.
5567 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5569         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5570         macro.
5571         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5572         * manual/arith.texi (issignaling): Document as ISO from TS
5573         18661-1:2014.
5574         (nextup): Likewise.
5575         (nextupf): Likewise.
5576         (nextupl): Likewise.
5577         (nextdown): Likewise.
5578         (nextdownf): Likewise.
5579         (nextdownl): Likewise.
5580         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5581         macro.
5582         * math/math.h: Define
5583         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5584         <bits/libc-header-start.h> instead of including <features.h>.
5585         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5586         [__USE_GNU].
5587         * math/bits/mathcalls.h (nextdown): Declare if
5588         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5589         (nextup): Likewise.
5590         (__issignaling): Likewise.
5592 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5594         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5595         check, and remove __glibc_likely hint
5596         from FP_INFINITE check.
5597         * s_csinhf.c (__csinhf): Likewise.
5599         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5600         hint from FP_INFINITE check.
5601         * s_csinhl.c (__csinhl): Likewise.
5603 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5605         * math/Makefile (libm-calls): Insert F placeholder into
5606         object names.  Move w_lgamma_compat* routines into
5607         (libm-compat-calls): New variable.
5608         (libm-compat-calls-ldouble-yes): New variable.
5609         (calls): Insert F placeholder.
5610         (generated): Redefine using new type-foreach macro call.
5611         (routines): Likewise.
5613         (types): New variable to hold a list of symbolic names
5614         for each type supported by the target machine.
5615         (libm-routines): Redefine using new types variable.
5616         (type-foreach): macro to replace fooF with the
5617         appropriately suffixed foo for each types.
5619         (type-ldouble-suffix): New variable.
5620         (type-ldouble-routines): Likewise.
5621         (type-ldouble-yes): Likewise.
5622         (type-double-suffix): Likewise.
5623         (type-double-routines): Likewise.
5624         (type-float-suffix): Likewise.
5625         (type-float-routines): Likewise.
5627         (dbl-only-routines): Remove.
5628         (long-c-yes): Likewise.
5629         (long-m-routines): Likewise.
5630         (long-m-support): Likewise.
5631         (long-m-yes): Likewise.
5632         (test-longdouble-yes): Likewise.
5634         (test-float.o): Simplify by increasing the scope of the
5635         recipe which adds libm-test.stmp to the vector types.
5636         (test-ifloat.o): Likewise.
5637         (test-float-finite.o): Likewise.
5638         (test-double.o): Likewise
5639         (test-idouble.o): Likewise.
5640         (test-double-finite.o): Likewise.
5641         (test-ldouble.o): Likewise
5642         (test-ildoubl.o): Likewise.
5643         (test-ldouble-finite.o): Likewise.
5645         (libm-tests): Redefine type tests using foreach and the
5646         list of types in types.
5648         (CPPFLAGS-test-ildoubl.c): Rename to
5649         (CPPFLAGS-test-ildouble.c): New variable
5651         * math/test-ildoubl.c: Rename to
5652         * math/test-ildouble.c: New file.
5654 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5656         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5657         Use fabsl instead of fabs.
5658         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5659         Likewise.
5660         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5661         Add long double suffix to constant to ensure proper
5662         promotion to long double.
5664 2016-08-03  Tom Tromey  <tom@tromey.com>
5666         [BZ #20311]
5667         * nptl_db/Makefile (headers): Add proc_service.h.
5668         * nptl_db/proc_service.h: Add include guard.  Use
5669         __BEGIN/__END_DECLS.
5670         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5671         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5672         arguments.
5675 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5677         [BZ #17730]
5678         Avoid using memalign for TCB allocations.
5679         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5680         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5681         Avoid alignment gap in the TLS_DTV_AT_TP case.
5682         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5683         determine the pointer to free.
5684         * nptl/tst-tls3-malloc.c: New test.
5685         * nptl/Makefile (tests): Add it.
5686         (tst-tls3-malloc): Link with libdl, libpthread.
5687         (LDFLAGS-tst-tls3-malloc): Set.
5688         (tst-tls3-malloc.out): Depend on DSO used in test.
5690 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5692         [BZ #17730]
5693         Avoid using memalign for TLS allocations.
5694         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5695         is_static member with to_free member.
5696         (union dtv): Use struct dtv_pointer.
5697         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5698         dtv_pointer instead of is_static.
5699         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5700         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5701         instead of val.
5702         (allocate_dtv_entry): New function.
5703         (allocate_and_init): Return struct dtv_pointer.  Call
5704         allocate_dtv_entry instead of __libc_memalign.
5705         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5706         instead of val.
5707         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5708         instead of is_static.  Adjust call to allocate_and_init.
5709         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5710         struct dtv_pointer instead of val.
5712 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5714         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5715         (MALLOC_ALIGN_MASK): Move ...
5716         * malloc/malloc-internal.h: ... to here.
5717         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5719 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5721         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5722         (UDP_ENCAP_GTP1U): Likewise.
5724         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5725         (PF_MAX): Update value.
5726         (AF_QIPCRTR): New macro.
5728 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5730         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5731         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5732         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5734         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5735         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5736         s_truncf-vis3, s_trunc-vis3.
5737         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5738         (CFLAGS-s_ceil-vis3.c): Likewise.
5739         (CFLAGS-s_floorf-vis3.c): Likewise.
5740         (CFLAGS-s_floor-vis3.c): Likewise.
5741         (CFLAGS-s_truncf-vis3.c): Likewise.
5742         (CFLAGS-s_trunc-vis3.c): Likewise.
5743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5751         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5752         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5753         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5754         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5756 2016-08-02  David S. Miller  <davem@davemloft.net>
5758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5759         (__nearbyint_vis3): Don't check for sNaN before float register is
5760         loaded with the incoming argument.
5761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5762         (__nearbyintf_vis3): Likewise.
5763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5764         Likewise.
5765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5766         Likewise.
5768         * string/test-strncmp.c (do_test_limit): Make sure the test data
5769         stream is aligned as required for the type "CHAR".
5770         (do_test): Likewise.
5772 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5774         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5775         by beq instructions jumping to the end of the function.
5776         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5777         clobber list. Use "i" constraint instead of "X".
5778         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5779         of "X".
5781 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5783         * bits/libc-header-start.h: New file.
5784         * Makefile (headers): Add bits/libc-header-start.h.
5785         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5786         (__GLIBC_USE): New macro.
5787         * libio/stdio.h: Define
5788         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5789         <bits/libc-header-start.h> instead of including <features.h>.
5790         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5791         (open_memstream): Likewise.
5792         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5793         (__asprintf): Likewise.
5794         (asprintf): Likewise.
5795         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5796         (getdelim): Likewise.
5797         (getline): Likewise.
5798         * string/string.h: Define
5799         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5800         <bits/libc-header-start.h> instead of including <features.h>.
5801         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5802         (strndup): Likewise.
5803         * wcsmbs/wchar.h: Define
5804         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5805         <bits/libc-header-start.h> instead of including <features.h>.
5806         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5807         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5809 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5811         Support linking against compatibility symbols, for use in tests.
5812         * include/libc-symbols.h (symbol_version_reference): New macro.
5813         (symbol_version): Use it.
5814         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5815         (compat_symbol): Use compat_symbol_reference.
5816         (compat_symbol_1, compat_symbol_2): Remove.
5817         (compat_symbol_reference, compat_symbol_reference_1)
5818         (compat_symbol_reference_2): New macro.  Use
5819         symbol_version_reference.
5821 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5823         [BZ #19469]
5824         * malloc/Makefile (CPPFLAGS): Compile tests with
5825         -DTEST_NO_MALLOPT.
5826         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5828 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5830         [BZ #20033]
5831         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5832         finite version.
5833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5835         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5836         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5837         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5850         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5851         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5852         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5853         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5854         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5855         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5856         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5857         in zero power.
5859 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5861         [BZ #20370]
5862         * malloc/arena.c (get_free_list): Update comment.  Assert that
5863         arenas on the free list have no attached threads.
5864         (remove_from_free_list): New function.
5865         (reused_arena): Call it.
5867 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5869         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5870         when it is a NaN.
5871         [_IEEE_FP_INEXACT] Remove.
5872         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5873         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5874         when it is a NaN.
5875         [_IEEE_FP_INEXACT] Remove.
5876         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5877         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5878         when it is a NaN.
5879         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5880         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5881         when its absolute value is greater than 0x1.0p52.
5882         [_IEEE_FP_INEXACT] Remove.
5883         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5884         when its absolute value is greater than 0x1.0p23.
5885         [_IEEE_FP_INEXACT] Remove.
5887 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5889         * version.h (RELEASE): Set to "development"
5890         (VERSION): Set to 2.24.90.
5891         * NEWS: Add 2.25 section.
5893         * version.h (RELEASE): Set to "stable"
5894         (VERSION): Set to 2.24.
5895         * include/features.h (__GLIBC_MINOR__): Set to 24.
5897         * NEWS: Add 2.24 fixed bugs.
5898         * po/libc.pot: Regenerate.
5900 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5903         [$(subdir) = math] (libm-sysdep_routines): Remove.
5904         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5905         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5906         s_truncf-vis3, s_trunc-vis3.
5907         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5909         file.
5910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5943         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5944         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5945         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5946         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5947         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5948         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5949         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5950         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5951         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5952         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5954 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5956         [BZ #20384]
5957         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5958         test-double-libmvec-sincos-avx-main.o,
5959         test-double-libmvec-sincos-avx2-main.o,
5960         test-double-libmvec-sincos-main.o,
5961         test-float-libmvec-sincosf-avx-main.o,
5962         test-float-libmvec-sincosf-avx2-main.o and
5963         test-float-libmvec-sincosf-main.o.
5964         test-float-libmvec-sincosf-avx512-main.o.
5965         ($(objpfx)test-double-libmvec-sincos): Also link with
5966         $(objpfx)test-double-libmvec-sincos-main.o.
5967         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5968         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5969         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5970         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5971         ($(objpfx)test-float-libmvec-sincosf): Also link with
5972         $(objpfx)test-float-libmvec-sincosf-main.o.
5973         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5974         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5975         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5976         test-double-libmvec-sincos-avx512-main.o and
5977         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5978         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5979         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5980         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5981         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5982         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5983         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5984         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5985         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5986         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5987         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5988         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5989         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5990         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5991         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5992         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5993         -DREQUIRE_AVX2.
5994         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5995         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5996         -DREQUIRE_AVX512F.
5997         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5998         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5999         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6000         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6001         file.
6002         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6003         Likewise.
6004         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6005         Likewise.
6006         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6007         Likewise.
6008         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6009         Likewise.
6010         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6011         Likewise.
6012         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6013         Likewise.
6014         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6015         Likewise.
6017 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6019         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6021 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6023         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6024         and typo in a comment about AT_HWCAP entry.
6026 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6028         * sysdeps/aarch64/libm-test-ulps: Updated.
6030 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6032         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6033         of r13 as it is not restored in mvcle case.
6035 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6037         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6038         Rename "ret" to "__ret".
6039         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6040         inline_syscall5, inline_syscall6): Likewise.
6042 2016-07-19   Will Newton  <will.newton@gmail.com>
6044         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6045         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6046         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6047         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6048         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6050 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6052         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6053         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6054         -mfpmath=387 with $(rtld-CFLAGS).
6055         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6056         $(rtld-CFLAGS).
6058 2016-07-18   Ross Burton  <ross.burton@intel.com>
6059              Khem Raj  <raj.khem@gmail.com>
6061         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6062         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6063         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6064         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6065         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6066         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6067         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6068         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6069         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6070         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6071         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6072         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6073         R_METAG_TLS_DTPOFF): New.
6075 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6076             Matt Clay  <mclay@lycos.com>
6078         [BZ #20357]
6079         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6080         to call __mpsin/__mpcos and to negate values.
6081         * math/auto-libm-test-in: Add test.
6082         * math/auto-libm-test-out: Regenerate.
6084 2016-07-18  Zack Weinberg  <zackw@panix.com>
6086         * grp/Makefile: Don't install the internal header grp-merge.h.
6088 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6090         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6092 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6094         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6096 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6098         [BZ #15368]
6099         * sysdeps/unix/sysv/linux/nptl-signals.h
6100         (__nptl_clear_internal_signals): New function.
6101         (__libc_signal_block_all): Likewise.
6102         (__libc_signal_block_app): Likewise.
6103         (__libc_signal_restore_set): Likewise.
6104         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6105         implementation.
6106         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6107         the cached pid/tid value in pthread structure.
6109 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6111         [BZ #20347]
6112         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6114 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6116         [BZ #20348]
6117         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6118         preadv64, pwrite64 and pwritev64.
6120 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6122         [BZ #20350]
6123         * posix/tst-preadwrite.c: Renamed to ...
6124         * posix/tst-preadwrite-common.c: This.
6125         (PREAD): Removed.
6126         (PWRITE): Likewise.
6127         (STRINGIFY): Likewise.
6128         (STRINGIFY2): Likewise.
6129         (do_prepare): Make it static and remove function arguments.
6130         (do_test): Likewise.
6131         (PREPARE): Updated.
6132         (TEST_FUNCTION): New.
6133         (name): Make it static.
6134         (fd): Likewise.
6135         (do_prepare): Use create_temp_file.
6136         (do_test): Renamed to ...
6137         (do_test_with_offset): This.  Make it static and accept offset.
6138         Properly check return value of PWRITE and PREAD.  Return bytes
6139         read.  Don't close fd nor unlink name.
6140         * posix/tst-preadwrite.c: Rewrite.
6141         * posix/tst-preadwrite64.c: Likewise.
6143 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6145         [BZ #20309]
6146         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6147         -mtls-dialect=gnu2 works.
6148         * configure: Regenerated.
6149         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6150         (tests): Add tst-gnu2-tls1.
6151         (modules-names): Add tst-gnu2-tls1mod.
6152         ($(objpfx)tst-gnu2-tls1): New.
6153         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6154         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6155         * elf/tst-gnu2-tls1.c: New file.
6156         * elf/tst-gnu2-tls1mod.c: Likewise.
6157         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6158         bytes for push in the PLT entry to align the stack.
6160 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6162         [BZ #20349]
6163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6165 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6167         [BZ #18707]
6168         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6169         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6171 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6173         * sysdeps/unix/sysv/linux/sysdep.h
6174         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6175         guards.
6176         * misc/tst-preadvwritev-common.c: New file.
6177         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6178         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6179         a check for files larger than 2GB.
6181         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6182         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6183         * sysdeps/unix/sysv/linux/pread.c
6184         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6185         __OFF_T_MATCHES_OFF64_T.
6186         * sysdeps/unix/sysv/linux/pread64.c
6187         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6188         * sysdeps/unix/sysv/linux/preadv.c
6189         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6190         * sysdeps/unix/sysv/linux/preadv64.c
6191         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6192         * sysdeps/unix/sysv/linux/pwrite.c
6193         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6194         * sysdeps/unix/sysv/linux/pwrite64.c
6195         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6196         * sysdeps/unix/sysv/linux/pwritev.c
6197         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6198         * sysdeps/unix/sysv/linux/pwritev64.c
6199         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6201 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6203         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6204         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6206 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6208         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6210 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6212         [BZ #20240]
6213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6214         (CFLAGS-s_modf-ppc32.c): New variable.
6215         (CFLAGS-s_modff-ppc32.c): Likewise.
6216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6217         (CFLAGS-s_modf-ppc64.c): Likewise.
6218         (CFLAGS-s_modff-ppc64.c): Likewise.
6220 2016-07-07  Andreas Schwab  <schwab@suse.de>
6222         [BZ #20263]
6223         * nptl/tst-robust10.c: New test.
6224         * nptl/Makefile (tests): Add tst-robust10.
6226 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6228         [BZ #20263]
6229         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6231 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6233         * sysdeps/s390/linkmap.h (struct link_map_machine):
6234         Remove member gotplt and add member jmprel.
6235         * sysdeps/s390/s390-32/dl-machine.h
6236         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6237         instead of gotplt with &got[3].
6238         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6239         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6241 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6243         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6245 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6247         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6248         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6249         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6250         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6251         * libio/vtables.c (_IO_vtable_check)
6252         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6253         * libio/libioP.h (IO_set_accept_foreign_vtables)
6254         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6256 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6258         [BZ #20314]
6259         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6260         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6261         $(common-objpfx)cmath.
6262         ($(common-objpfx)cstdlib): New target.
6263         ($(common-objpfx)cmath): Likewise.
6265 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6267         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6269 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6271         [BZ #20327]
6272         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6273         are not part of the string.
6275 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6277         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6278         * nptl/tst-cancel4-common.h (fifoname): New variable.
6279         (fifofd): Likewise.
6280         (cl_fifo): New function.
6281         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6282         SIGINT.
6283         (tf_open): Add early cancel test.
6285 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6287         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6289 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6291         * sysdeps/generic/ldsodefs.h
6292         (dl_symbol_visibility_binds_local_p): New inline function.
6293         * elf/dl-addr.c (determine_info): Treat hidden and internal
6294         symbols as local.
6295         * elf/dl-lookup.c (do_lookup_x): Likewise.
6296         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6298 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6300         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6301         invalid exception for a sNaN input.
6302         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6303         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6304         (__nearbyint_vis3): Likewise
6305         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6306         (__nearbyintf_vis3): Likewise
6307         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6308         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6309         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6310         Likewise.
6311         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6312         Likewise.
6314 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6316         [BZ #20139]
6317         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6318         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6319         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6320         2.24 or above.
6321         (HAVE_AVX512_ASM_SUPPORT): Removed.
6322         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6323         * sysdeps/x86_64/configure: Regenerated.
6324         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6325         check unconditional.
6326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6327         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6329         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6330         Likewise.
6331         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6332         Likewise.
6333         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6334         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6335         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6336         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6337         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6338         Likewise.
6339         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6340         Likewise.
6341         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6342         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6344         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6345         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6346         Likewise.
6347         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6348         Likewise.
6349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6350         Likewise.
6351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6352         Likewise.
6353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6354         Likewise.
6355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6356         Likewise.
6357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6358         Likewise.
6359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6360         Likewise.
6361         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6362         Likewise.
6363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6364         Likewise.
6365         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6366         Likewise.
6368 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6370         [BZ #20024]
6371         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6372         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6373         of this implementation of vector function.
6374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6377         Likewise.
6378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6379         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6380         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6381         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6382         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6383         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6384         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6385         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6386         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6387         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6388         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6389         for testing vector sincos with fixed ABI.
6390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6391         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6392         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6393         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6394         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6395         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6396         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6397         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6398         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6399         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6400         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6401         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6402         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6403         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6404         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6405         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6407 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6409         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6411 2016-06-30  Anton Blanchard  <anton@samba.org>
6413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6414         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6415         s_sinf-ppc64.
6416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6419         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6421 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6425         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6426         e_expf-ppc64.
6427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6429         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6430         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6432 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6434         [BZ #20277]
6435         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6436         when SHARED is defined.
6438 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6440         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6441         (index_arch_Prefer_ERMS): Likewise.
6442         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6443         __memcpy_erms for Prefer_ERMS.
6444         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6445         (__memmove_erms): Enabled for libc.a.
6446         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6447         __memmove_erms or Prefer_ERMS.
6448         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6449         __mempcpy_erms for Prefer_ERMS.
6450         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6451         __memset_erms for Prefer_ERMS.
6453 2016-06-30  Andreas Schwab  <schwab@suse.de>
6455         [BZ #20262]
6456         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6457         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6458         of memory.
6460 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6462         [BZ #18645]
6463         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6464         (test-extras): Add tst-cleanupx4aux.
6465         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6466         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6467         tst-cleanupx4aux.o.
6468         * nptl/tst-cleanupx4aux.c: New file.
6470 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6472         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6474 2016-06-29  Andreas Schwab  <schwab@suse.de>
6476         [BZ #20260]
6477         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6478         address before the beginning of the string as an integer to avoid
6479         array-bounds warning.
6481 2016-06-28  Richard Henderson  <rth@redhat.com>
6483         * elf/elf.h (EM_BPF): New.
6484         (EM_NUM): Update.
6485         (R_BPF_NONE, R_BPF_MAP_FD): New.
6487         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6488         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6489         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6490         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6491         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6492         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6493         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6494         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6495         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6496         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6497         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6498         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6499         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6500         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6501         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6502         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6503         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6504         (EM_NUM): Update.
6506 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6508         [BZ #18960]
6509         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6510         Set _nl_current_LC_CATEGORY_used to two instead of one.
6512 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6514         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6515         (do_test): ... this.
6516         (TEST_FUNCTION): New macro.
6517          Include test-skeleton.c.
6518         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6519         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6521 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6523         [BZ #15479]
6524         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6525         floating-point environment rather than just control word.
6526         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6527         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6528         floating-point environment, with "invalid" exceptions merged in,
6529         rather than just control word.
6530         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6531         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6532         "inexact" exceptions.
6534         [BZ #15479]
6535         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6536         floating-point environment rather than just control word.
6537         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6538         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6539         floating-point environment, with "invalid" exceptions merged in,
6540         rather than just control word.
6541         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6542         * math/libm-test.inc (floor_test_data): Do not allow spurious
6543         "inexact" exceptions.
6545         [BZ #15479]
6546         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6547         floating-point environment rather than just control word.
6548         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6549         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6550         floating-point environment, with "invalid" exceptions merged in,
6551         rather than just control word.
6552         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6553         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6554         "inexact" exceptions.
6556 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6558         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6559         __libc_vfork.
6560         (__vfork) [IS_IN (libc)]: Remove alias.
6561         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6562         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6563         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6565 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6567         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6568         of atomic_compare_and_exchange_bool_rel.
6569         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6570         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6571         catomic_compare_and_exchange_bool_rel): Remove.
6572         * sysdeps/aarch64/atomic-machine.h
6573         (atomic_compare_and_exchange_bool_rel): Likewise.
6574         * sysdeps/alpha/atomic-machine.h
6575         (atomic_compare_and_exchange_bool_rel): Likewise.
6576         * sysdeps/arm/atomic-machine.h
6577         (atomic_compare_and_exchange_bool_rel): Likewise.
6578         * sysdeps/mips/atomic-machine.h
6579         (atomic_compare_and_exchange_bool_rel): Likewise.
6580         * sysdeps/microblaze/atomic-machine.h
6581         ( __arch_compare_and_exchange_bool_8_rel,
6582         __arch_compare_and_exchange_bool_16_rel): Likewise.
6583         * sysdeps/powerpc/atomic-machine.h
6584         ( __arch_compare_and_exchange_bool_8_rel,
6585         __arch_compare_and_exchange_bool_16_rel): Likewise.
6586         * sysdeps/powerpc/powerpc32/atomic-machine.h
6587         ( __arch_compare_and_exchange_bool_32_rel,
6588         __arch_compare_and_exchange_bool_64_rel): Likewise.
6589         * sysdeps/powerpc/powerpc64/atomic-machine.h
6590         ( __arch_compare_and_exchange_bool_32_rel,
6591         __arch_compare_and_exchange_bool_64_rel): Likewise.
6592         * sysdeps/tile/atomic-machine.h
6593         (atomic_compare_and_exchange_bool_rel): Likewise.
6595 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6597         [BZ #20296]
6598         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6599         when either argument is a NaN.
6600         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6601         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6603         * math/libm-test.inc (snan_value_ld): New macro.
6604         (isgreater_test_data): Add sNaN tests.
6605         (isgreaterequal_test_data): Likewise.
6606         (isless_test_data): Likewise.
6607         (islessequal_test_data): Likewise.
6608         (islessgreater_test_data): Likewise.
6609         (isunordered_test_data): Likewise.
6610         (nextafter_test_data): Likewise.
6611         (nexttoward_test_data): Likewise.
6612         (remainder_test_data): Likewise.
6613         (remquo_test_data): Likewise.
6614         (significand_test_data): Likewise.
6615         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6617 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6619         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6620         environment macros are defined.
6621         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6623 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6625         [BZ #20191]
6626         Implement vtable verification in libio.
6627         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6628         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6629         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6630         _IO_new_file_init_internal instead of _IO_file_init.
6631         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6632         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6633         * libio/Makefile (routines): Add vtables.
6634         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6635         (_IO_init): Remove, not for internal use.
6636         (_IO_init_internal): Declare, internal replacement for _IO_init.
6637         (_IO_file_init): Remove, not for internal use.
6638         (_IO_new_file_init): Remove, not for internal use.
6639         (_IO_new_file_init_internal): Declare, internal replacement for
6640         _IO_new_file_init.
6641         (_IO_old_file_init): Remove, not for internal use.
6642         (_IO_old_file_init_internal): Declare, internal replacement for
6643         _IO_old_file_init.
6644         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6645         internal use.
6646         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6647         Declare.
6648         (libio_vtable): New macro.
6649         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6650         functions.
6651         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6652         _IO_new_file_init.
6653         (_IO_new_file_init): New externally visible wrapper which disables
6654         vtable verification.
6655         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6656         Define as vtables.
6657         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6658         (_IO_init): New externally visible wrapper which disables
6659         vtable verification.
6660         * libio/iofdopen.c (_IO_new_fdopen): Call
6661         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6662         comment.
6663         * libio/iofopen.c (__fopen_internal): Call
6664         _IO_new_file_init_internal instead of _IO_file_init.
6665         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6666         Define as vtables.
6667         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6668         _IO_new_file_init_internal instead of _IO_file_init.
6669         * libio/iopopen.c (_IO_new_popen): Likewise.
6670         (_IO_proc_jumps): Define as vtable.
6671         * libio/iovdprintf.c (_IO_vdprintf): Call
6672         _IO_new_file_init_internal instead of _IO_file_init.
6673         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6674         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6675         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6676         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6677         _IO_old_file_init.
6678         (_IO_old_file_init): New externally visible wrapper which disables
6679         vtable verification.
6680         (_IO_old_file_jumps): Define as vtable.
6681         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6682         _IO_old_file_init_internal instead of _IO_old_file_init.
6683         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6684         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6685         (_IO_old_proc_jumps): Define as vtable.
6686         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6687         Define as vtables.
6688         * libio/vtables.c: New file.
6689         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6690         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6691         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6692         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6693         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6694         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6695         instead of _IO_init.
6697 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6699         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6701 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6703         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6704         potentially unused.
6706 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6708         * test-skeleton.c (write_message): New function.
6709         * malloc/tst-mallocfork2.c (write_message): Remove.
6710         * debug/tst-longjmp_chk2.c (write_indented): New function.
6711         (write_message): Remove.
6712         (stackoverflow_handler): Call write_indented.
6714 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6716         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6717         "inexact" exceptions after fnstenv.
6718         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6719         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6720         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6722 2015-06-22  Zack Weinberg  <zackw@panix.com>
6724         * sysdeps/generic/bits/hwcap.h: Moved to ...
6725         * bits/hwcap.h: Here.
6727 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6729         * sysdeps/aarch64/memcpy.S (memcpy):
6730         Further tuning for performance.
6732 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6734         [BZ #20284]
6735         * malloc/arena.c (reused_arena): Do not return NULL if we start
6736         out with a non-corrupted arena.
6738 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6740         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6741         * misc/tst-preadvwritev.c: New file.
6742         * misc/tst-preadvwritev64.c: Likewise.
6743         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6744         usage.
6745         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6746         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6747         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6748         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6750 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6752         [BZ #19654]
6753         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6754         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6755         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6756         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6757         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6758         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6759         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6760         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6761         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6762         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6763         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6764         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6765         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6766         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6767         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6768         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6769         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6770         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6771         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6772         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6773         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6774         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6775         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6776         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6777         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6778         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6780 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6782         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6783         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6785 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6787         * sysdeps/aarch64/memcpy.S (memcpy):
6788         Rewrite of optimized memcpy and memmove.
6789         * sysdeps/aarch64/memmove.S (memmove): Remove
6790         memmove code (merged into memcpy.S).
6792 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6794         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6795         * sysdeps/generic/dl-dtv.h: New file.
6796         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6797         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6798         (dtv_t): Remove.
6799         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6800         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6801         (dtv_t): Remove.
6802         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6803         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6804         (dtv_t): Remove.
6805         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6806         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6807         (dtv_t): Remove.
6808         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6809         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6810         (dtv_t): Remove.
6811         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6812         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6813         (dtv_t): Remove.
6814         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6815         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6816         (dtv_t): Remove.
6817         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6818         (dtv_t): Remove.
6819         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6820         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6821         (dtv_t): Remove.
6822         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6823         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6824         (dtv_t): Remove.
6825         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6826         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6827         (dtv_t): Remove.
6828         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6829         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6830         (dtv_t): Remove.
6831         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6832         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6833         (dtv_t): Remove.
6834         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6835         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6836         (dtv_t): Remove.
6837         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6838         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6839         (dtv_t): Remove.
6840         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6841         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6842         (dtv_t): Remove.
6844 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6846         Revert symbol poisoning of  __malloc_initialize_hook.
6847         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6848         poisoning.
6849         * malloc/Makefile: Remove un-poisoning.
6850         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6851         instead of old__malloc_initialize_hook.
6852         * malloc/malloc-hooks.h: Likewise.
6853         * malloc/malloc.c: Likewise.
6854         * malloc/mcheck-init.c: Likewise.
6856 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6858         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6860 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6862         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6863         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6864         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6865         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6867 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6869         * NEWS: Mention addition of nextup and nextdown.
6870         * manual/arith.texi: Document nextup and nextdown.
6871         * manual/libm-err-tab.pl: Add nextup and nextdown.
6872         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6873         * math/Versions (libm): Add GLIBC_2.24.
6874         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6875         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6876         Add new test.
6877         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6878         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6879         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6880         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6881         (nextup_test_data): Likewise.
6882         (nextdown_test_data): Likewise.
6883         * math/s_nextdown.c: New file.
6884         * math/s_nextdownf.c: Likewise.
6885         * math/s_nextdownl.c: Likewise.
6886         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6887         F(nextup): New function.
6888         F(nextdown): Likewise.
6889         * math/tgmath.h: Add nextup and nextdown.
6890         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6891         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6892         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6893         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6894         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6895         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6896         Add nextup and nextdown.
6897         (CFLAGS-nldbl-nextup.c): New variable.
6898         (CFLAGS-nldbl-nextdown.c): Likewise.
6899         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6900         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6901         * sysdeps/nacl/libm.abilist: Update.
6902         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6916         Likewise.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6931 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6933         * manual/pattern.texi: Fix typos & grammar errors.
6935 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6937         * manual/search.texi: Fix typos & grammar errors.
6939 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6941         * manual/message.texi: Fix typos & grammar errors.
6943 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6945         * manual/contrib.texi: Fix spelling typos.
6946         * manual/crypt.texi: Likewise.
6947         * manual/filesys.texi: Likewise.
6948         * manual/locale.texi: Likewise.
6949         * manual/message.texi: Likewise.
6950         * manual/nss.texi: Likewise.
6951         * manual/string.texi: Likewise.
6953 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6955         * manual/locale.texi: Fix typos & grammar errors.
6957 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6959         * manual/charset.texi: Fix typos & grammar errors.
6961 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6963         * manual/string.texi: Fix typos.
6965 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6967         * manual/ctype.texi: Fix typos.
6969 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6971         * manual/memory.texi: Fix various typos & grammar errors.
6973 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6975         [BZ #20255]
6976         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6977         * math/libm-test.inc (fdim_test_data): Add another test.
6979         [BZ #6796]
6980         [BZ #20255]
6981         [BZ #20256]
6982         * math/s_fdim.c: Include <math_private.h>.
6983         (__fdim): Use math_narrow_eval on result.
6984         * math/s_fdimf.c: Include <math_private.h>.
6985         (__fdimf): Use math_narrow_eval on result.
6986         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6987         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6988         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6989         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6990         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6991         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6992         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6993         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6994         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6995         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6996         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6997         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6998         overflow.  Add sNaN tests.
7000         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7001         fpclassify.
7002         * math/s_fdimf.c (__fdimf): Likewise.
7003         * math/s_fdiml.c (__fdiml): Likewise.
7005 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7007         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7008         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7010         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7011         ifunc'ed strcasecmp/strncasecmp.
7012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7013         [EALIGN]: Removed.
7014         [END]: Likewise.
7015         [__strcasecmp]: Define instead of the above to control symbol name.
7016         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7017         for __strcasecmp_power8.
7018         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7019         for __strncasecmp_power8.
7020         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7021         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7022         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7023         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7024         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7025         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7027 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7029         [BZ #20252]
7030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7031         arguments when second argument is a NaN.
7032         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7033         qNaN tests.
7035         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7036         (conj_test_data): Likewise.
7037         (copysign_test_data): Likewise.
7038         (creal_test_data): Likewise.
7039         (fma_test_data): Likewise.
7040         (fmod_test_data): Likewise.
7042         [BZ #20250]
7043         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7044         itself.
7045         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7046         zero input to itself.
7047         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7048         Likewise.
7049         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7050         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7052         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7053         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7055 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7057         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7058         * nptl/tst-cancel4-common.c: New file.
7059         * nptl/tst-cancel4-common.h: Likewise.
7060         * nptl/tst-cancel4.c: Move common definitions to
7061         tst-cancel4-common.{c,h} file.
7062         * nptl/tst-cancel4_1.c: New test.
7063         * nptl/tst-cancel4_2.c: New test.
7065 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7067         [BZ #20248]
7068         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7069         (write_message): New function.
7070         (stackoverflow_handler): Call it instead of printf, to avoid
7071         excessive stack usage by printf.
7072         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7074 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7076         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7077         (prio_inherit_missing): Remove define.
7078         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7079         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7081         Likewise.
7082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7083         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7085         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7086         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7087         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7089 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7091         [BZ #19670]
7092         [BZ #19672]
7094         * io/test-lfs.c (do_prepare): Use xmalloc.
7095         * io/tst-fcntl.c (do_prepare): Likewise.
7096         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7097         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7098         * login/tst-utmp.c (do_prepare): Likewise.
7099         * posix/tst-exec.c (do_prepare): Likewise.
7100         * posix/tst-pathconf.c (prepare): Likewise.
7101         * posix/tst-spawn.c (do_prepare): Likewise.
7102         * posix/tst-truncate.c (do_prepare): Likewise.
7103         * rt/tst-aio.c (do_prepare): Likewise.
7104         * rt/tst-aio64.c (do_prepare): Likewise.
7106 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7108         [BZ #20237]
7109         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7110         (get*ent): Set entidx to NULL during initialization.  If entidx is
7111         NULL, start iteration from the beginning.
7113 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7115         * malloc/malloc.c (musable): Return correct size for dumped fake
7116         mmapped chunk.
7118 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7120         [BZ #20222]
7121         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7122         (_IO_cookie_write): Likewise.
7123         (_IO_cookie_seek): Likewise.
7124         (_IO_cookie_close): Likewise.
7125         (_IO_old_cookie_seek): Likewise.
7126         (set_callbacks): New function.
7127         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7129 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7131         * locale/programs/localedef.c (oldstyle_tables): Remove.
7132         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7134 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7136         [BZ #20240]
7137         * math/Makefile (CFLAGS-s_modf.c): New variable.
7138         (CFLAGS-s_modff.c): Likewise.
7139         (CFLAGS-s_modfl.c): Likewise.
7140         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7142 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7144         [BZ #20215]
7145         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7146         [!__GNUC_PREREQ (3,2)]: Likewise.
7148 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7150         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7151         (msghdr.msg_controllen): Likewise.
7152         (cmsghdr.cmsg_len): Likewise.
7153         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7154         ptw-oldsendmsg.
7155         (CFLAGS-oldrecvmsg.c): Remove rule.
7156         (CFLAGS-oldsendmsg.c): Likewise.
7157         (CFLAGS-recvmsg.c): Add rule.
7158         (CFLAGS-sendmsg.c): Likewise.
7159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7160         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7161         (CFLAGS-recvmsg.c): Remove rule.
7162         (CFLAGS-sendmsg.c): Likewise.
7163         (CFLAGS-oldrecvmsg.c): Likewise.
7164         (CFLAGS-oldsendmsg.c): Likewise.
7165         (CFLAGS-recvmmsg.c): Likewise.
7166         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7167         to kernel defined interfaces.
7168         (msghdr.msg_controllen): Likewise.
7169         (cmsghdr.cmsg_len): Likewise.
7170         (msghdr.__glibc_reserved1): Remove member.
7171         (msghdr.__glibc_reserved2): Likewise.
7172         (cmsghdr.__glibc_reserved1): Likewise.
7173         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7174         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7175         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7176         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7177         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7178         version.
7179         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7180         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7182         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7183         Remove recvmsg and sendmsg.
7184         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7189         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7190         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7193         Likewise.
7194         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7195         [libc] (GLIBC_2.24): Likewise.
7196         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7199         Likewise.
7200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7201         [libc] (GLIBC_2.24): Likewise.
7202         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7203         Likewise.
7204         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7205         Likewise.
7206         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7207         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7212         Likewise.
7213         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7214         Likewise.
7215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7216         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7217         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7218         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7219         version for {recv,send,recm,sendm}msg.
7220         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7221         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7222         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7223         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7224         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7225         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7226         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7227         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7228         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7229         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7233         Likewise.
7234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7235         Likewise.
7236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7238         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7239         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7242         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7243         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7250 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7252         [BZ #19564]
7253         Remove __malloc_initialize_hook from the API.
7254         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7255         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7256         #pragma GCC poison.
7257         * malloc/malloc-hooks.h: New file.
7258         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7259         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7260         (old__malloc_initialize_hook): Rename from
7261         __malloc_initialize_hook to evade poisoning.  Turn into compat
7262         symbol.
7263         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7264         __malloc_initialize_hook.
7265         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7266         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7267         * manual/memory.texi (Hooks for Malloc): Remove
7268         __malloc_initialize_hook.  Adjust hook example.
7270 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7272         [BZ #20235]
7273         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7274         itself.
7275         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7276         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7278         [BZ #20234]
7279         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7280         infinity or NaN input to itself.
7282         [BZ #20233]
7283         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7284         to itself.
7286         [BZ #20232]
7287         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7288         itself.
7290 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7292         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7293         __libc_start_main via GOT.
7295 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7297         * sysdeps/x86_64/memcopy.h: New file.
7298         * sysdeps/x86_64/wordcopy.c: Likewise.
7300 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7302         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7303         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7304         <cstdlib>.
7305         (optimization_barrier): New.
7306         (do_test): Use it.  Call quick_exit in the global namespace.
7307         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7308         instead of <cstdlib>, <thread>.
7309         (optimization_barrier): New.
7310         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7311         Call quick_exit in the global namespace.
7312         (do_test): Call optimization_barrier.  Use pthread_create,
7313         pthread_join instead of std::thread.
7315 2016-06-09  Andreas Schwab  <schwab@suse.de>
7317         [BZ #19755]
7318         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7319         new entries in auto-propagate mode.
7320         * nscd/grpcache.c (cache_addgr): Likewise.
7322 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7324         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7325         New functions.
7326         (add_temp_file): Use them.
7328 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7330         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7332 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7334         [BZ #20229]
7335         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7336         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7337         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7339         [BZ #20228]
7340         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7341         itself.
7342         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7343         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7345         [BZ #20227]
7346         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7347         itself.
7348         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7349         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7350         * math/libm-test.inc (log_test_data): Add sNaN tests.
7352         [BZ #20226]
7353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7354         itself.
7355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7356         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7357         (exp10_test_data): Likewise.
7358         (expm1_test_data): Likewise.
7360         [BZ #20225]
7361         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7362         itself.
7363         * math/s_ldexpf.c (__ldexpf): Likewise.
7364         * math/s_ldexpl.c (__ldexpl): Likewise.
7365         * math/w_scalbln.c (__w_scalbln): Likewise.
7366         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7367         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7368         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7369         (scalbln_test_data): Likewise.
7371         [BZ #20224]
7372         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7373         argument to itself.
7374         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7376 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7378         [BZ #19776]
7379         * sysdeps/x86_64/memcpy.S: Make it dummy.
7380         * sysdeps/x86_64/mempcpy.S: Likewise.
7381         * sysdeps/x86_64/memmove.S: New file.
7382         * sysdeps/x86_64/memmove_chk.S: Likewise.
7383         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7384         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7385         * sysdeps/x86_64/memmove.c: Removed.
7386         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7387         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7388         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7389         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7390         Likewise.
7391         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7392         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7394         memcpy-sse2-unaligned, memmove-avx-unaligned,
7395         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7397         (__libc_ifunc_impl_list): Replace
7398         __memmove_chk_avx512_unaligned_2 with
7399         __memmove_chk_avx512_unaligned.  Remove
7400         __memmove_chk_avx_unaligned_2.  Replace
7401         __memmove_chk_sse2_unaligned_2 with
7402         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7403         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7404         with __memmove_avx512_unaligned.  Replace
7405         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7406         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7407         with __memcpy_chk_avx512_unaligned.  Remove
7408         __memcpy_chk_avx_unaligned_2.  Replace
7409         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7410         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7411         Replace __memcpy_avx512_unaligned_2 with
7412         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7413         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7414         with __mempcpy_chk_avx512_unaligned.  Remove
7415         __mempcpy_chk_avx_unaligned_2.  Replace
7416         __mempcpy_chk_sse2_unaligned_2 with
7417         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7418         Replace __mempcpy_avx512_unaligned_2 with
7419         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7420         Replace __mempcpy_sse2_unaligned_2 with
7421         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7422         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7423         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7424         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7425         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7426         (ENTRY): Removed.
7427         (END): Likewise.
7428         (ENTRY_CHK): Likewise.
7429         (libc_hidden_builtin_def): Likewise.
7430         Don't include ../memcpy.S.
7431         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7432         __memcpy_chk_avx512_unaligned_erms and
7433         __memcpy_chk_avx512_unaligned.  Use
7434         __memcpy_chk_avx_unaligned_erms and
7435         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7436         Default to __memcpy_chk_sse2_unaligned.
7437         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7438         Change function suffix from unaligned_2 to unaligned.
7439         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7440         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7441         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7442         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7443         (ENTRY): Removed.
7444         (END): Likewise.
7445         (ENTRY_CHK): Likewise.
7446         (libc_hidden_builtin_def): Likewise.
7447         Don't include ../mempcpy.S.
7448         (mempcpy): New.  Add a weak alias.
7449         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7450         __mempcpy_chk_avx512_unaligned_erms and
7451         __mempcpy_chk_avx512_unaligned.  Use
7452         __mempcpy_chk_avx_unaligned_erms and
7453         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7454         Default to __mempcpy_chk_sse2_unaligned.
7456 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7458         [BZ #19881]
7459         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7460         into ...
7461         * sysdeps/x86_64/memset.S: This.
7462         (__bzero): Removed.
7463         (__memset_tail): Likewise.
7464         (__memset_chk): Likewise.
7465         (memset): Likewise.
7466         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7467         defined.
7468         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7469         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7470         (__memset_zero_constant_len_parameter): Check SHARED instead of
7471         PIC.
7472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7473         memset-avx2 and memset-sse2-unaligned-erms.
7474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7475         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7476         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7477         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7478         (__bzero): Enabled.
7479         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7480         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7481         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7482         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7483         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7484         (memset): Removed.
7485         (__memset_chk): Likewise.
7486         (MEMSET_SYMBOL): New.
7487         (libc_hidden_builtin_def): Replace __memset_sse2 with
7488         __memset_sse2_unaligned.
7489         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7490         __memset_chk_sse2 and __memset_chk_avx2 with
7491         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7492         Use __memset_chk_sse2_unaligned_erms or
7493         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7494         __memset_chk_avx512_unaligned_erms and
7495         __memset_chk_avx512_unaligned.
7497 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7499         * math/gen-auto-libm-test.c (fp_format_desc): remove
7500         suffix member.
7501         (output_generic_value): Remove usage of suffix member,
7502         and the resulting unuse of the fp_format argument.
7503         (output_for_one_input_case): Remove unused fp_format
7504         parameter.
7506         * math/auto-libm-test-out: Regenerate.
7508         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7509         usage with TEST_COND_ibm128.
7510         (TEST_COND_flt_32): Remove.
7511         (TEST_COND_dbl_64): Remove.
7512         (TEST_COND_ldbl_96_intel): Remove.
7513         (TEST_COND_ldbl_96_m68k): Remove.
7514         (TEST_COND_ldbl_128): Remove.
7516 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7518         * auto-libm-test-in:
7519         Replace flt-32 usage with binary32.
7520         Replace dbl-64 usage with binary64.
7521         Replace ldbl-intel-96 usage with intel96.
7522         Replace ldbl-m68k-96 usage with m68k96.
7523         Replace ldbl-128ibm usage with ibm128.
7524         Replace ldbl-128 usage with binary128.
7526         * auto-libm-test-out: Regenerate.
7528 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7530         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7531         (parse_ulps): Dynamically generate type name matching
7532         string from all_floats.
7533         (get_ulps): Generate the ulps as an array instead.
7534         (output_ulps): Dynamically compose the type based
7535         on the number of supported formats, and print
7536         the indices as type specific helper macros.
7538         * math/libm-test.inc: Remove comment about CHOOSE.
7539         (ulp_data): Generate the type in libm-test-ulps.h.
7540         (ULP_IDX): New macro.
7541         (find_ulps): Update usage of max_ulp.
7543         * math/test-double-vlen2.h (CHOOSE): Remove.
7544         * math/test-double-vlen4.h (CHOOSE): Likewise.
7545         * math/test-double-vlen8.h (CHOOSE): Likewise.
7546         * math/test-float.c (CHOOSE): Likewise.
7547         * math/test-float-finite.c (CHOOSE): Likewise.
7548         * math/test-double.c (CHOOSE): Likewise.
7549         * math/test-double-finite.c (CHOOSE): Likewise.
7550         * math/test-idouble.c (CHOOSE): Likewise.
7551         * math/test-ifloat.c (CHOOSE): Likewise.
7552         * math/test-ildoubl.c (CHOOSE): Likewise.
7553         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7554         * math/test-ldouble.c (CHOOSE): Likewise.
7556         * math/test-float.h (TEST_FLOAT): Remove.
7557         * math/test-double.h (TEST_DOUBLE): Likewise.
7558         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7560 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7562         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7563         (parse_args): Strip C suffix from floating point literals
7564         typed with 'f' and wrap them with LIT().
7566         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7567         (test_ff_f_data_nexttoward): Rename to
7568         (test_fj_f_data): New struct.
7569         (nexttoward_test_data): Relabel tests as
7570         TEST_fj_f instead of TEST_ff_f.
7572 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7574         Emacs bug 23726.
7575         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7576         (__libc_realloc): Correct size computation for dumped fake mmapped
7577         chunks.
7579 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #20219]
7582         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7583         to itself.
7584         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7586         [BZ #20218]
7587         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7588         to itself.
7589         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7591 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7593         [BZ #20195]
7594         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7595         check to ...
7596         (init_cpu_features): Here.
7598 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7600         [BZ #20214]
7601         * sysdeps/unix/sysv/linux/bits/in.h
7602         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7603          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7604         Define to 1.
7605         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7606          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7607         Define to 0.
7608         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7609         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7611 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7613         [BZ #20198]
7614         * stdlib/Makefile (tests): Add tst-quick_exit, and
7615         tst-thread-quick_exit.
7616         [ifeq ($(have-cxx-thread_local),yes)]
7617         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7618         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7619         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7620         (LDLIBS-tst-thread-quick_exit): Likewise.
7621         [ifneq ($(have-cxx-thread_local),yes)]
7622         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7623         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7624         If run_dtors is true call __call_tls_dtors.
7625         (exit): Call __run_exit_handlers with run_dtors set to true.
7626         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7627         definition.
7628         * stdlib/quick_exit.c (quick_exit): Remove function.
7629         (__new_quick_exit): New function.
7630         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7631         function.
7632         * stdlib/tst-quick_exit.cc: New file.
7633         * stdlib/tst-thread-quick_exit.cc: New file.
7634         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7635         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7636         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7637         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7638         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7639         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7640         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7641         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7642         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7643         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7644         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7645         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7647         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7648         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7649         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7654         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7655         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7656         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7657         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7661         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7662         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7663         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7665 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7667         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7668         a typo in comments.
7670 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7672         [BZ #20213]
7673         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7674         argument to itself.
7675         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7677 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7679         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7680         required flags.
7681         (CFLAGS-pwritev64.c): Likewise.
7682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7683         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7684         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7685         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7686         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7687         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7688         syscall from auto-generation.
7689         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7690         [WORDSIZE == 64] (pwritev64): Remove macro.
7691         [!PWRITEV] (PWRITEV): Likewise.
7692         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7693         [!PWRITEV] (PWRITE): Likewise.
7694         [!PWRITEV] (OFF_T): Likewise.
7695         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7696         (LO_HI_LONG): Remove macro.
7697         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7698         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7699         (PWRITEV): Remove macro.
7700         (PWRITEV_REPLACEMENTE): Likewise.
7701         (PWRITE): Likewise.
7702         (OFF_T): Likewise.
7703         (pwritev64): New function.
7704         * nptl/tst-cancel4.c (tf_writev): Add test.
7706         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7707         required flags.
7708         (CFLAGS-preadv64.c): Likewise.
7709         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7710         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7711         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7712         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7713         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7714         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7715         syscall from auto-generation.
7716         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7717         [WORDSIZE == 64] (preadv64): Remove macro.
7718         [!PREADV] (PREADV): Likewise.
7719         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7720         [!PREADV] (PREAD): Likewise.
7721         [!PREADV] (OFF_T): Likewise.
7722         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7723         (LO_HI_LONG): Remove macro.
7724         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7725         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7726         (PREADV): Remove macro.
7727         (PREADV_REPLACEMENTE): Likewise.
7728         (PREAD): Likewise.
7729         (OFF_T): Likewise.
7730         (preadv64): New function.
7731         * nptl/tst-cancel4.c (tf_preadv): Add test.
7733 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7735         [BZ #20212]
7736         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7737         argument to itself.
7738         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7740 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7742         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7743         New symbol defined as libc_hidden_def.
7744         (strcasestr): Became a weak alias to __strcasestr.
7745         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7746         according to multi-arch support.  Move __stpncpy hidden
7747         definition from here to...
7748         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7749         symbol stpncpy.
7750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7751         libc_hidden_builtin_def.
7752         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7753         memset symbol to use when multi-arch support is available.
7755 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7757         * dlfcn/tst-rec-dlopen.c: Include string.h.
7759 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7761         * manual/install.texi: Remove mention of --without-tls
7762         * INSTALL: Regenerate.
7764 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7766         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7767         Remove.
7768         (call_function, interposed_malloc_called): New variables.
7769         (malloc): New function.
7770         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7771         and clear call_function as needed.
7773 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7775         * include/wchar.h (__wmemset): Use __typeof.
7777 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7779         * include/wchar.h (__wmemset): Declare function without typeof.
7781 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7783         [BZ #20205]
7784         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7785         exponent when incrementing negative subnormal with low mantissa
7786         word zero.
7787         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7788         Add another test.
7790 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7792         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7793         __wmemset instead of wmemset.
7795 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7797         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7798         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7799         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7800         __USE_KERNEL_IPV6_DEFS to 0.
7801         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7802         Update comment.
7804 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7806         [BZ #19861]
7807         Do not use IFUNC resolver with potentially unrelocated symbol.
7808         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7809         (DEFINE_FORK): Remove macro and inline definition.
7810         (fork_alias): Renamed from fork_ifunc.
7811         (__fork_alias): Renamed from __fork_ifunc.
7813 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7815         [BZ 19653]
7816         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7817         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7819 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7821         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7822         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7823         i386-linux-gnu).
7824         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7825         Set to no.
7826         * sysdeps/mach/hurd/configure: Refresh.
7828 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7830         [BZ #20178]
7831         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7832         on failure instead of exit.
7834 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7836         [BZ #3629]
7837         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7838         of POSIX.1-2008.
7840 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7842         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7843           Use PLT entry for calling _hurd_self_sigstate.
7845 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7847         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7848         available logical processors with SMT level type sharing L2
7849         cache for Intel processors.
7851 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7853         [BZ #20160]
7854         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7855         argument to itself before returning the result.
7856         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7857         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7858         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7860         Likewise.
7861         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7862         Likewise.
7863         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7864         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7865         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7866         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7867         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7868         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7870         [BZ #20160]
7871         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7872         argument to itself before returning the result.
7873         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7874         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7875         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7876         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7877         Likewise.
7878         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7879         Likewise.
7880         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7881         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7882         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7883         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7884         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7885         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7887 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7889         * libm-test.inc: Replace usage of M_El with
7890         (lit_e): New macro.
7892 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7894         * libm-test.inc: Replace usage of M_PI_4l with
7895         (lit_pi_4_d): New macro.
7897 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7899         * libm-test.inc: Replace usage of M_PIl with
7900         (lit_pi): New macro.
7902 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7904         * libm-test.inc: Replace usage of M_PI2l with
7905         (lit_pi_2_d): New macro.
7907         * math/test-double.h (LITM): New macro.
7908         * math/test-float.h (LITM): Likewise.
7909         * math/test-ldouble.h (LITM): Likewise.
7911 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7913         * libm-test.inc (M_PI_34l): Rename to
7914         (lit_pi_3_m_4_d): New Macro.
7915         (M_PI_34_LOG10El): Rename to
7916         (lit_pi_3_m_4_ln10_m_d): New Macro.
7917         (M_PI2_LOG10El): Rename to
7918         (lit_pi_2_ln10_m_d):  New Macro.
7919         (M_PI4_LOG10El): Rename to
7920         (lit_pi_4_ln10_m_d):  New Macro.
7921         (M_PI_LOG10El): Rename to
7922         (lit_pi_ln10_d):  New Macro.
7924 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7926         [BZ #20157]
7927         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7928         determine whether to negate low half if [_ARCH_PPCGR], and integer
7929         comparison otherwise.
7930         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7931         determine whether to negate low half.
7933         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7934         (NO_TEST_INLINE_DOUBLE): Likewise.
7935         (TEST_COND_x86_64): Likewise.
7936         (TEST_COND_x86): Likewise.
7937         (M_PI_6l): Likewise.
7939 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7941         * math/libm-test.inc:
7942         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7943         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7944         (TEST_LDOUBLE): Update usage to evaluate as true if
7945         the guarded tests match the property being tested.
7946         (LDBL_MAX_EXP): Change to MAX_EXP.
7947         (LDBL_MIN_EXP): Change to MIN_EXP.
7948         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7949         nexttoward tests.
7951 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7953         * math/libm-test.inc:
7954         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7955         (TYPE_MIN): Likewise.
7956         (TYPE_TRUE_MIN): Likewise.
7957         (TYPE_MAX): Likewise.
7958         (MIN_EXP): Likewise.
7959         (MAX_EXP): Likewise.
7960         (MANT_DIG): Likewise.
7962         (FSTR_MAX): New macro.
7963         (__CONCATX): Likewise.
7964         (QTYPE_STR): Likewise.
7965         (TEST_COND_binary32): Likewise.
7966         (TEST_COND_binary64): Likewise.
7967         (TEST_COND_binary128): Likewise.
7968         (TEST_COND_ibm128): Likewise.
7969         (TEST_COND_intel96): Likewise.
7970         (TEST_COND_m68k96): Likewise.
7972         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7973         (TEST_COND_dbl_64): Likewise.
7974         (TEST_COND_ldbl_96_intel): Likewise.
7975         (TEST_COND_ldbl_96_m68k): Likewise.
7976         (TEST_COND_ldbl_128): Likewise.
7977         (TEST_COND_ldbl_128ibm): Likewise.
7979         (plus_zero): Redefine using LIT macro.
7980         (minus_zero): Likewise.
7981         (plus_infty): Redefine as (INF).
7982         (minux_infty): Redefine as (-INF).
7983         (max_value): Redefine as TYPE_MAX.
7984         (min_value): Redefine as TYPE_MIN.
7985         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7987         (print_float): Refactor to use snprintf to convert FLOAT values
7988         to string. This brings it closer to dropin replacement of strtof
7989         for the TS 18661 defined types.
7990         (update_stats): Likewise.
7991         (print_complex_function_ulps): Likewise.
7992         (print_max_error): Likewise.
7993         (print_complex_max_error): Likewise.
7994         (check_float_internal): Likewise.
7996         * math/test-float.h (PREFIX): New macro.
7997         (LIT): Likewise.
7998         (TYPE_STR): Likewise.
7999         (FTOSTR): Likewise.
8001         * math/test-double.h (PREFIX): New macro.
8002         (LIT): Likewise.
8003         (TYPE_STR): Likewise.
8004         (FTOSTR): Likewise.
8006         * math/test-ldouble.h (PREFIX): New macro.
8007         (LIT): Likewise.
8008         (TYPE_STR): Likewise.
8009         (FTOSTR): Likewise.
8011 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8013         [BZ #20156]
8014         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8015         to itself when zero or not finite.
8016         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8017         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8018         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8019         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8021 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8023         [BZ #20153]
8024         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8025         x * x + x for infinities and NaNs.
8027         [BZ #20151]
8028         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8029         argument to itself before returning result.
8030         (__ieee754_y0l): Likewise.
8031         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8032         (__ieee754_y1l).
8034         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8035         (atan_test_data): Likewise.
8036         (ceil_test_data): Likewise.
8037         (cos_test_data): Likewise.
8038         (cosh_test_data): Likewise.
8039         (erf_test_data): Likewise.
8040         (exp2_test_data): Likewise.
8041         (fabs_test_data): Likewise.
8042         (floor_test_data): Likewise.
8043         (ilogb_test_data): Likewise.
8044         (j0_test_data): Likewise.
8045         (j1_test_data): Likewise.
8046         (jn_test_data): Likewise.
8047         (lgamma_test_data): Likewise.
8048         (lrint_test_data): Likewise.
8049         (llrint_test_data): Likewise.
8050         (logb_test_data): Likewise.
8051         (lround_test_data): Likewise.
8052         (llround_test_data): Likewise.
8053         (nearbyint_test_data): Likewise.
8054         (rint_test_data): Likewise.
8055         (round_test_data): Likewise.
8056         (sin_test_data): Likewise.
8057         (sincos_test_data): Likewise.
8058         (sinh_test_data): Likewise.
8059         (sqrt_test_data): Likewise.
8060         (tan_test_data): Likewise.
8061         (tanh_test_data): Likewise.
8062         (tgamma_test_data): Likewise.
8063         (trunc_test_data): Likewise.
8064         (y0_test_data): Likewise.
8065         (y1_test_data): Likewise.
8066         (yn_test_data): Likewise.
8068         * math/libm-test.inc: Update comment about NaN testing.
8069         (TEST_SNAN): New macro.
8070         (snan_value): Likewise.
8071         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8072         (fpclassify_test_data): Add sNaN tests.
8073         (isfinite_test_data): Likewise.
8074         (isinf_test_data): Likewise.
8075         (isnan_test_data): Likewise.
8076         (isnormal_test_data): Likewise.
8077         (issignaling_test_data): Likewise.
8078         (signbit_test_data): Likewise.
8079         * math/gen-libm-test.pl (%beautify): Add snan_value.
8080         (show_exceptions): Add argument $test_snan.
8081         (parse_args): Handle snan_value as non-finite.  Update call to
8082         show_exceptions.
8083         * math/Makefile (libm-test-no-inline-cflags): Add
8084         -fsignaling-nans.
8086 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8088         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8089         (CFLAGS-oldsendmsg.c): Add rule.
8090         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8091         Correct recvmsg symbol name.
8092         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8093         Likewise.
8095 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8097         * sysdeps/unix/sysv/linux/Makefile
8098         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8099         oldsendmmsg.
8100         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8101         sendmmsg.
8102         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8105         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8107         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8110         Likewise.
8111         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8112         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8113         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8114         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8115         iovlen and controllen fields to adjust to POSIX specification.
8116         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8118         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8119         and change to correct expected type.
8120         (msghdr.msg_controllen): Likewise.
8121         (cmsghdr.cmsg_len): Likewise.
8122         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8123         expected POSIX assumption about the size.
8124         (msghdr.msg_controllen): Likewise.
8125         (msghdr.__glibc_reserved1): Likewise.
8126         (msghdr.__glibc_reserved2): Likewise.
8127         (cmsghdr.cmsg_len): Likewise.
8128         (cmsghdr.__glibc_reserved1): Likewise.
8129         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8130         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8131         (CFLAGS-sendmsg.c): Remove rule.
8132         (CFLAGS-recvmsg.c): Likewise.
8133         (CFLAGS-oldsendmsg.c): Add rule.
8134         (CFLAGS-oldrecvmsg.c): Likewise.
8135         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8136         recvmsg and sendmsg.
8137         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8140         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8141         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8142         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8143         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8144         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8145         Likewise.
8146         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8147         Likewise.
8148         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8149         Likewise.
8150         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8151         Likewise.
8152         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8153         Likewise.
8154         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8155         Likewise.
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8157         (GLIBC_2.24): Likewise.
8158         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8159         Likewise.
8160         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8161         Likewise.
8162         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8163         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8164         Likewise.
8165         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8166         Likewise.
8167         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8168         Likewise.
8169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8170         (GLIBC_2.24): Likewise.
8171         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8174         Likewise.
8175         * sysdeps/unix/sysv/linux/Makefile
8176         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8177         (CFLAGS-sendmsg.c): Add rule.
8178         (CFLAGS-recvmsg.c): Likewise.
8179         (CFLAGS-oldsendmsg.c): Likewise.
8180         (CFLAGS-oldrecvmsg.c): Likewise.
8181         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8182         initialization.
8183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8184         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8185         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8186         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8187         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8188         iovlen and controllen fields to adjust to POSIX specification.
8189         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8190         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8191         added recvmsg and sendmsg.
8192         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8194         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8196         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8197         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8200         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8201         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8202         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8203         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8205         Likewise.
8206         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8208         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8209         Likewise.
8210         Likewise.
8211         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8213         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8214         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8215         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8216         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8220         Likewise.
8221         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8225         from auto-generation.
8226         (sendmsg): Likewise.
8227         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8228         (sendmsg): Likewise.
8229         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8230         (sendmsg): Likewise.
8231         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8232         (sendmsg): Likewise.
8233         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8234         (sendmsg): Likewise.
8235         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8236         (sendmsg): Likewise.
8237         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8238         Likewise.
8239         (sendmsg): Likewise.
8240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8241         (sendmsg): Likewise.
8242         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8244         Remove.
8245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8246         Likewise.
8247         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8248         Undefine.
8249         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8250         Likewise.
8251         * sysdeps/unix/sysv/linux/kernel-features.h
8252         (__ASSUME_SENDMSG_SYSCALL): Define.
8253         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8256         Remove.
8257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8258         Likewise.
8259         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8260         Undefine.
8261         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8262         Likewise.
8263         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8265         Remove.
8266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8267         Likewise.
8268         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8269         Undefine.
8270         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8271         Likewise.
8272         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8273         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8274         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8275         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8276         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8277         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8278         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8279         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8280         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8282 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8284         * stdlib/gen-tst-strtod-round.c: Add backslash to
8285         compile command in comment.
8286         (printfp): Remove the literal suffix, and define an infinite
8287         value as INF to avoid expansion clash with INFINITY.
8288         (round_str): Remove the literal suffix.
8289         (round_for_all): Likewise, remove the now duplicate ldbl-64
8290         entry, and remove some magic constants.
8292         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8293         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8294         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8295         (_CONCAT): New macro.
8296         (CONCAT): Likewise.
8297         (CHOOSE_ld): Likewise.
8298         (CHOOSE_f): Likewise.
8299         (CHOOSE_d): Likewise.
8300         (FTYPE_MEMBER): Likewise.
8301         (BOOL_MEMBER): Likewise.
8302         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8303         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8304         (_XNTRY): Likewise.
8305         (XNTRY): Likewise.
8306         (_ENTRY): Likewise.
8307         (ENTRY): Likewise.
8308         (test_exactness): Generate members via macro.
8309         (test_results): Likewise.
8310         (test): Update members.
8311         (TEST): Redefine using new macros.
8312         (INF): New macro.
8313         (fetestmodes): New structure.
8314         (do_test): Refactor to be type generic.
8315         (test_in_one_mode): Refactor duplicate code into
8316         (GEN_ONE_TEST): New macro.
8318         * stdlib/tst-strtod-round-data.h: Regenerate.
8320         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8321         Extend to pass additional arbitrary parameters to
8322         generators.
8324 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8326         [BZ #15479]
8327         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8328         floating-point state after first floating-point operation on
8329         input.  Restore full floating-point state instead of just rounding
8330         mode.
8331         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8332         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8333         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8334         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8335         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8337         [BZ #15479]
8338         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8339         floating-point state after first floating-point operation on
8340         input.  Restore full floating-point state instead of just rounding
8341         mode.
8342         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8343         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8344         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8345         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8346         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8348 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8350         [BZ #19727]
8351         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8352         valid high surrogate.
8353         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8354         of an utf16 surrogate.
8355         * iconv/gconv_simple.c (BODY): Likewise.
8356         * iconvdata/bug-iconv12.c: New file.
8357         * iconvdata/Makefile (tests): Add bug-iconv12.
8359 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8361         [BZ #19726]
8362         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8363         outptrp in case of an illegal input.
8364         * iconv/tst-iconv6.c: New file.
8365         * iconv/Makefile (tests): Add tst-iconv6.
8367 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8369         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8370         an error in case of a value in range of an utf16 low surrogate.
8372 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8375         an error in case of a value in range of an utf16 low surrogate.
8377 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8379         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8380         Move to ...
8381         * sysdeps/s390/Makefile: ... here.
8382         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8383         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8384         (BRANCH_ON_COUNT): New define.
8385         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8386         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8387         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8388         run on s390-32, too.
8389         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8390         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8391         run on s390-32, too.
8392         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8393         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8394         run on s390-32, too.
8396 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8398         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8399         etf3eh or new vector loop-variant.
8401 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8403         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8404         etf3eh or new vector loop-variant.
8406 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8408         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8409         or new vector loop-variant.
8411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8413         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8414         Rename to TR_LOOP and usage of tr instead of troo instruction.
8416 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8418         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8419         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8421 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8423         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8424         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8425         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8426         New override define.
8427         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8431         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8432         * sysdeps/s390/configure.ac: Add test for S390 vector register
8433         support in gcc.
8434         * sysdeps/s390/configure: Regenerated.
8436 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8438         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8439         Install file from $(objpfx)gconv-modules.
8440         ($(objpfx)gconv-modules): Concatenate architecture specific file
8441         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8442         * sysdeps/s390/gconv-modules: New file.
8443         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8444         Deleted.
8445         ($(objpfx)gconv-modules-s390): Deleted.
8446         (sysdeps-gconv-modules): New variable.
8448 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8450         [BZ #15479]
8451         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8452         of immediate operand to rounding instruction.
8453         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8454         Likewise.
8455         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8456         Likewise.
8457         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8458         Likewise.
8460 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8462         * math/libm-test.inc (MIN_EXP): Directly define as
8463         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8465 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8467         * math/libm-test.inc (MANT_DIG): Directly define as
8468         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8470 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8472         * stdlib/gen-tst-strtod-round.c (main):
8473           Change usage to more closely match the generated
8474           output.  Add usage and compilation instructions.
8475           (string_to_fp): Add and use FILE* parameter as
8476           output target.
8477           (print_fp): Likewise.
8478           (round_str): Likewise.
8479           (round_for_all): Likewise.
8480         * stdlib/tst-strtod-round.c (tests): Move into
8481         * stdlib/tst-strtod-round-data.h: New file.
8483 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8485         [BZ #15479]
8486         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8487         (__round): Do not force "inexact" exception.
8488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8489         variable.
8490         (__round): Do not force "inexact" exception.
8491         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8492         (__roundf): Do not force "inexact" exception.
8493         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8494         (__roundl): Do not force "inexact" exception.
8495         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8496         (__roundl): Do not force "inexact" exception.
8497         * math/libm-test.inc (round_test_data): Do not allow spurious
8498         "inexact" exceptions.
8500         [BZ #15479]
8501         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8502         exception in comment.
8503         (huge): Remove variable.
8504         (__floor): Do not force "inexact" exception.
8505         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8506         "inexact" exception in comment.
8507         (huge): Remove variable.
8508         (__floor): Do not force "inexact" exception.
8509         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8510         exception in comment.
8511         (huge): Remove variable.
8512         (__floorf): Do not force "inexact" exception.
8513         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8514         exception in comment.
8515         (huge): Remove variable.
8516         (__floorl): Do not force "inexact" exception.
8518         [BZ #15479]
8519         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8520         exception in comment.
8521         (huge): Remove variable.
8522         (__ceil): Do not force "inexact" exception.
8523         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8524         "inexact" exception in comment.
8525         (huge): Remove variable.
8526         (__ceil): Do not force "inexact" exception.
8527         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8528         (__ceilf): Do not force "inexact" exception.
8529         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8530         exception in comment.
8531         (huge): Remove variable.
8532         (__ceill): Do not force "inexact" exception.
8534 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8536         * config.h.in (BIND_NOW): New.
8537         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8538         * configure: Regenerated.
8539         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8540         indirect branch via the GOT slot.
8542 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8544         [BZ #19765]
8545         * sysdeps/s390/mempcpy.S: New File.
8546         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8547         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8548         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8549         Add mempcpy variants.
8550         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8551         (memcpy): Adjust to be usable from mempcpy entry point.
8552         (__memcpy_mvcle): Likewise.
8553         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8554         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8555         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8556         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8557         (__memcpy_z10): Likewise.
8558         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8560 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8562         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8563         Remove __GI_ symbol.
8564         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8565         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8566         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8567         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8568         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8569         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8571 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8573         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8574         Use cghi instead of chi to compare 64bit value.
8576 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8578         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8579         Jump to 1MB check before executing mvc-loop.
8581 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8583         [BZ #6527]
8584         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8585         unconditionally.
8586         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8588 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8590         * stdlib/tst-strtod6.c (do_test): Use new type generic
8591         invocation of the test function.
8592         (test): Refactor into ...
8593         (TEST_STRTOD): New macro base function.
8595 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8597         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8598         (TEST_STRTOD): New macro.
8599         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8601 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8603         * stdlib/tst-strtod6.c (do_test): Use new type generic
8604         invocation of the test function.
8605         (test): Refactor into ...
8606         (TEST_STRTOD): New macro base function.
8608 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8610         CVE-2016-4429
8611         [BZ #20112]
8612         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8613         payload.
8615 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8617         [BZ #20111]
8618         * bits/sockaddr.h (_SS_SIZE): Define.
8619         * bits/socket.h (_SS_SIZE): Remove.
8620         (_SS_PADSIZE): Adjust to account for all padding.
8621         (struct sockaddr_storage): Update comment.  Avoid implicit
8622         padding.
8623         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8624         (_SS_PADSIZE): Adjust to account for all padding.
8625         (struct sockaddr_storage): Update comment.  Avoid implicit
8626         padding.
8627         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8628         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8629         (_SS_PADSIZE): Adjust to account for all padding.
8630         (struct sockaddr_storage): Update comment.  Avoid implicit
8631         padding.
8632         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8633         __SS_SIZE is 126 in this version.
8634         * inet/tst-sockaddr.c: New file.
8635         * inet/Makefile (tests): Add tst-sockaddr.c
8636         (tst-sockaddr.c): Compile with non-strict aliasing.
8638 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8640         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8641         [XPG3 || XPG4].
8642         (NL_ARGMAX): Also expect for [XPG3].
8643         (NL_LANGMAX): Likewise.
8644         (NL_MSGMAX): Likewise.
8645         (NL_NMAX): Likewise.
8646         (NL_SETMAX): Likewise.
8647         (NL_TEXTMAX): Likewise.
8648         (NZERO): Likewise.
8649         (TMP_MAX): Likewise.
8650         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8651         variable.
8653         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8654         (PF_MAX): Update value.
8655         (AF_KCM): New macro.
8656         (SOL_NETBEUI): Likewise.
8657         (SOL_LLC): Likewise.
8658         (SOL_DCCP): Likewise.
8659         (SOL_NETLINK): Likewise.
8660         (SOL_TIPC): Likewise.
8661         (SOL_RXRPC): Likewise.
8662         (SOL_PPPOL2TP): Likewise.
8663         (SOL_BLUETOOTH): Likewise.
8664         (SOL_PNPIPE): Likewise.
8665         (SOL_RDS): Likewise.
8666         (SOL_IUCV): Likewise.
8667         (SOL_CAIF): Likewise.
8668         (SOL_ALG): Likewise.
8669         (SOL_NFC): Likewise.
8670         (SOL_KCM): Likewise.
8671         (MSG_BATCH): New enum value and macro.
8673 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8675         [BZ #18185]
8676         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8677         sharing L2 cache to 2 for Knights Landing.
8679 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8681         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8682         (FTW_DP): Do not expect for [XPG3 || XPG4].
8683         (FTW_SL): Do not expect for [XPG3].
8684         (FTW_SLN): Likewise.
8685         (FTW_PHYS): Likewise.
8686         (FTW_MOUNT): Likewise.
8687         (FTW_DEPTH): Likewise.
8688         (FTW_CHDIR): Likewise.
8689         (nftw): Likewise.
8690         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8691         variable.
8693 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8695         * manual/errno.texi: Fix various typos & grammar errors.
8697 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8699         * manual/intro.texi: Fix duplicated typo.
8701 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8703         [BZ #13304]
8704         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8705         <float.h>, <math_private.h> and <stdlib.h>.
8706         (add_split): New function.
8707         (mul_split): Likewise.
8708         (ext_val): New typedef.
8709         (store_ext_val): New function.
8710         (mul_ext_val): New function.
8711         (compare): New function.
8712         (add_split_ext): New function.
8713         (__fmal): After checking for Inf, NaN and zero, compute result as
8714         an exact sum of scaled double values in round-to-nearest before
8715         adding those up and adjusting for other rounding modes.
8716         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8717         tests of fma.
8718         * math/auto-libm-test-out: Regenerated.
8720 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8722         [BZ #20119]
8723         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8724         processor level type mask for CPUID with EAX == 11.
8726 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8729         logical threads if the HTT bit is 0.
8730         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8731         (index_cpu_HTT): Likewise.
8732         (reg_HTT): Likewise.
8734 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8736         [BZ #20115]
8737         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8738         Remove alignments on jump targets.
8740 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8742         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8743         (getpwent): Likewise.
8744         (setpwent): Likewise.
8745         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8746         variable.
8748         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8749         (remque): Likewise.
8750         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8751         variable.
8753 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8755         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8756         not being tested.
8758 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8760         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8761         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8762         call.
8763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8764         (__condvar_cleanup1): Likewise.
8766 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8768         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8769         New
8770         (__pthread_unwind): Renamed to ...
8771         (PTHREAD_UNWIND): This.
8772         (__pthread_enable_asynccancel): Replace
8773         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8775 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8777         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8778         (CLONE_NEWCGROUP): New macro.
8780         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8781         (Q_GETNEXTQUOTA): New macro.
8783 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8785         [BZ #19907]
8786         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8787         buffer updated by the previous run.
8788         * string/test-memcpy.c (do_one_test): Likewise.
8789         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8790         * string/test-memmove.c (do_one_test): Likewise.
8792 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8794         [BZ #20094]
8795         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8796         not [__USE_XOPEN].
8797         (unlockpt): Likewise.
8798         (ptsname): Likewise.
8799         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8800         variable.
8802         [BZ #20076]
8803         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8804         instead of [__USE_UNIX98].
8805         (S_ISSOCK): Likewise.
8806         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8807         variable.
8809         [BZ #20074]
8810         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8811         [__USE_POSIX].
8812         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8813         variable.
8815         [BZ #20051]
8816         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8817         (ttyslot): Do not declare.
8818         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8819         (ttyslot): New prototype.
8820         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8821         variable.
8822         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8824 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8826         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8828 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8830         Fix race condition in tst-mallocfork2, use fewer resources.
8831         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8832         to current process group.
8833         (signal_sender): Yield in the non-sleeping case.
8835 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8837         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8838         (ecvt): Likewise.
8839         (fcvt): Likewise.
8840         (gcvt): Likewise.
8841         (getsubopt): Likewise.
8842         (grantpt): Likewise.
8843         (initstate): Likewise.
8844         (l64a): Likewise.
8845         (mktemp): Likewise.
8846         (mkstemp): Likewise.
8847         (ptsname): Likewise.
8848         (random): Likewise.
8849         (realpath): Likewise.
8850         (setstate): Likewise.
8851         (srandom): Likewise.
8852         (ttyslot): Likewise.
8853         (unlockpt): Likewise.
8854         (valloc): Likewise.
8856         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8857         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8858         variable.
8860 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8862         [BZ #20072]
8863         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8864         init_cpu_features only if SHARED is defined.
8865         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8867 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8869         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8870         non-inclusive caches on Intel processors.
8872 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8874         * malloc/malloc.c (dumped_main_arena_start)
8875         (dumped_main_arena_end): New variables.
8876         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8877         (do_check_chunk): Skip dumped fake mmapped chunks.
8878         (munmap_chunk): Likewise.
8879         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8880         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8881         mmapped chunks.
8882         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8883         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8884         and dumped_main_arena_end to cover the dumped heap.
8886 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8888         * conform/data/time.h-data (getdate_err): Do not expect for
8889         [XPG3].
8890         (getdate): Likewise.
8891         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8892         variable.
8894         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8895         (F_ULOCK): Likewise.
8896         (F_TEST): Likewise.
8897         (F_TLOCK): Likewise.
8898         (useconds_t): Likewise.
8899         (intptr_t): Do not expect for [XPG3] or [XPG4].
8900         (brk): Do not expect for [XPG3]
8901         (fchown): Likewise.
8902         (fchdir): Likewise.
8903         (ftruncate): Likewise.
8904         (getdtablesize): Likewise.
8905         (gethostid): Likewise.
8906         (getpagesize): Likewise.
8907         (getpgid): Likewise.
8908         (getsid): Likewise.
8909         (getwd): Likewise.
8910         (lchown): Likewise.
8911         (lockf): Likewise.
8912         (readlink): Likewise.
8913         (sbrk): Likewise.
8914         (setpgrp): Likewise.
8915         (setregid): Likewise.
8916         (setreuid): Likewise.
8917         (symlink): Likewise.
8918         (sync): Likewise.
8919         (truncate): Likewise.
8920         (ualarm): Likewise.
8921         (usleep): Likewise.
8922         (vfork): Likewise.
8923         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8924         variable.
8926         [BZ #20054]
8927         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8928         not [__USE_UNIX98].
8929         * conform/data/unistd.h-data (gethostname): Do not expect for
8930         [XPG3].
8932         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8933         [!POSIX] (S_IFBLK): Likewise.
8934         [!POSIX] (S_IFCHR): Likewise.
8935         [!POSIX] (S_IFIFO): Likewise.
8936         [!POSIX] (S_IFREG): Likewise.
8937         [!POSIX] (S_IFDIR): Likewise.
8938         [!POSIX] (S_IFLNK): Likewise.
8939         [!POSIX] (S_IFSOCK): Likewise.
8940         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8941         variable.
8942         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8944 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8946         * sysdeps/aarch64/memset.S (__memset):
8947         Rewrite of optimized memset.
8949 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8951         [BZ #19703]
8952         Partially async-signal-safe fork for single-threaded processes.
8953         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8954         variable.  Do not acquire and reset/release malloc and libio locks
8955         in single-threaded processes.
8956         * malloc/tst-mallocfork2.c: New file.
8957         * malloc/Makefile (tests): Add it.
8959 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8961         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8962         argument.  Use scratch buffer instead of extend_alloca.
8963         (gethosts): Use scratch buffer instead of extend_alloca.
8964         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8965         extend_alloca.
8966         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8968 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8970         [BZ #20055]
8971         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8972         instead of [__USE_UNIX98].
8973         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8974         [__USE_UNIX98].
8975         * conform/data/termios.h-data (tcgetsid): Do not expect for
8976         [XPG3].
8977         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8978         variable.
8979         (test-xfail-XPG4/termios.h/conform): Likewise.
8981 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8983         Do not use mcheck in localedef.
8984         * locale/programs/localedef.c (turn_on_mcheck)
8985         (__malloc_initialize_hook): Remove.
8987 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8989         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8990         * sysdeps/s390/s390-64/Makefile: Likewise.
8992 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8994         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8995         Remove ifunc-defines.sym.
8996         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8997         Likewise.
8998         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8999         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9000         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9001         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9002         rtld-global-offsets.sym.
9003         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9004         * sysdeps/x86/cpu-features-offsets.sym: This.
9005         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9006         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9008 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9010         [BZ #20073]
9011         * io/sys/stat.h (fchmod): Declare for
9012         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9013         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9014         variable.
9016         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9017         [XPG3] (S_IFSOCK): Likewise.
9018         [XPG3] (S_ISVTX): Likewise.
9019         [XPG3] (S_ISLNK): Likewise.
9020         [XPG3] (S_ISSOCK): Likewise.
9021         [XPG3] (fchmod): Likewise.
9022         [XPG3] (lstat): Likewise.
9023         [XPG3] (mknod): Likewise.
9025         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9026         [XPG3].  Expect type long and XFAIL for [XPG4].
9027         (st_blocks): Likewise.
9029         [BZ #20044]
9030         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9031         (pthread_atfork): New prototype.
9032         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9033         variable.
9035         [BZ #20043]
9036         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9037         prototype.
9039 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9041         [BZ #20017]
9042         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9043         gmtime.
9045 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9047         [BZ #19994]
9048         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9049         flag in _res.options.
9051 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9053         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9054         [XPG3 || XPG4].
9055         (blksize_t): Likewise.
9056         (clockid_t): Likewise.
9057         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9058         variable.
9059         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9061 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9063         * sysdeps/unix/sysv/linux/s390/init-first.c:
9064         Add VDSO_SYMBOL(getcpu).
9065         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9066         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9067         Add VDSO_SYMBOL(getcpu).
9068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9069         New define HAVE_GETCPU_VSYSCALL.
9070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9072 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9074         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9075         instead of <sysdeps/x86_64/cacheinfo.c>.
9076         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9077         * sysdeps/x86/cacheinfo.c: Here.
9079 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9081         * malloc/malloc-internal.h: Adjust header file guard.
9083 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9085         [BZ #19787]
9086         * inet/getnameinfo.c (check_sprintf_result): New function.
9087         (CHECKED_SNPRINTF): New macro.
9088         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9089         to the host buffer.
9090         (gni_host_local): Use checked_copy to copy the host name.
9091         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9092         (gni_serv_local): Use checked_copy to copy the service name.
9093         (getnameinfo): Remove unnecessary truncation of result buffers.
9095 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9097         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9098         in case of inet_ntop failure.
9100 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9102         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9103         avoid long lines.
9104         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9105         variables.
9106         (gni_host_inet, gni_host_local): Add comment.
9107         (gni_host): Add comment.  Use temporary to avoid long lines.
9109 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9111         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9112         registers specifiers where general purpose registers specifiers should
9113         have been used.
9115 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9117         [BZ #19779]
9118         CVE-2016-1234
9119         Avoid copying names of directory entries.
9120         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9121         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9122         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9123         (struct readdir_result): New type.
9124         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9125         (GL_READDIR): New macros.
9126         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9127         (convert_dirent, convert_dirent64): New functions.
9128         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9129         convert_dirent64.  Adjust references to the readdir result.
9130         * sysdeps/unix/sysv/linux/i386/glob64.c:
9131         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9132         * posix/bug-glob2.c (LONG_NAME): Define.
9133         (filesystem): Add LONG_NAME.
9134         (my_DIR): Increase the size of room_for_dirent.
9136 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9138         [BZ #20041]
9139         * misc/sys/select.h (__need_timespec): Only define if
9140         [__USE_XOPEN2K].
9141         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9142         variable.
9143         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9144         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9145         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9147 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9148             Segher Boessenkool  <segher@gcc.gnu.org>
9150         [BZ #20004]
9151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9152         (__novec_swapcontext): Add missing load.
9154 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9156         [BZ #20023]
9157         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9158         <time.h>.
9159         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9160         variable.
9161         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9163 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9166         flags CLONE_VM compare.
9168 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9170         [BZ #20031]
9171         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9172         completely empty.
9174 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9176         [BZ #19573]
9177         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9178         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9179         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9180         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9181         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9182         (hesiod_free_list): Mark as hidden.
9183         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9184         res_set, res_get.
9185         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9186         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9187         (hesiod_init): Remove obsolete res_ninit call.
9188         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9189         (hesiod_bind): Do not call init.
9190         (get_txt_records): Use res_mkquery, res_send instead of
9191         res_nmkquery, res_nsend.
9192         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9193         instead of _nss_hesiod_init.
9194         (_nss_hesiod_initgroups_dyn): Likewise.
9195         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9196         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9197         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9199 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9201         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9202         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9204 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9206         * hesiod/hesiod.h: Remove RCS keyword.
9207         * hesiod/hesiod_p.h: Likewise.
9209         * hesiod/hesiod.c: Likewise.
9211 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9213         [BZ #12450]
9214         * locale/iso-639.def: Add Samogitian/sgs.
9216 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9218         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9220         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9222 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9223             Carlos O'Donell  <carlos@redhat.com>
9225         [BZ #19072]
9226         * grp/Makefile (headers): Add grp-merge.h
9227         (routines): Add grp-merge.
9228         * grp/getgrgid_r.c: Include grp-merge.h.
9229         (DEEPCOPY_FN): Define.
9230         (MERGE_FN): Define.
9231         * grp/getgrname_r.c: Include grp-merge.h.
9232         (DEEPCOPY_FN): Define.
9233         (MERGE_FN): Define.
9234         * grp/grp-merge.c: New file.
9235         * grp/grp-merge.h: New file.
9236         * include/grp-merge.h: New file.
9237         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9238         __copy_grp@GLIBC_PRIVATE.
9239         * manual/nss.texi (Actions in the NSS configuration): Describe
9240         return, continue, and merge.
9241         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9242         (DEEPCOPY_FN): Define.
9243         (MERGE_FN): Define.
9244         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9245         (DEEPCOPY_FN): Define.
9246         (MERGE_FN): Define.
9247         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9248         [!MERGE_FN]: Define __merge_einval.
9249         (CHECK_MERGE): Define.
9250         (REENTRANT_NAME): Process merge if do_merge is true.
9251         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9252         (__nss_getent_r): Likewise.
9253         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9254         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9256 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9258         [BZ #20012]
9259         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9260         length to calculate the buffer to read.
9261         (fmemopen_write): Set the buffer position based on bytes written.
9262         (fmemopen_seek): Return EINVAL for invalid whence modes.
9264         [BZ #19957]
9265         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9266         tst-getpid2.
9267         (test): Add tst-clone2.
9268         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9269         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9270         pid/tid fields for CLONE_VM.
9271         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9272         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9273         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9274         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9275         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9276         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9277         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9278         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9280         Likewise.
9281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9282         Likewise.
9283         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9284         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9285         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9286         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9287         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9288         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9289         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9290         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9292 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9294         [BZ #19642]
9295         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9296         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9297         (gni_serv_local, gni_serv): New functions extracted from
9298         getnameinfo.
9299         (getnameinfo): Call gni_host and gni_serv to perform the
9300         processing.  Always free scratch buffer.
9302 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9304         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9305         remaining bytes in the dest string, with zeros.
9307 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9309         [BZ #20010]
9310         CVE-2016-3706
9311         * sysdeps/posix/getaddrinfo.c
9312         (convert_hostent_to_gaih_addrtuple): New function.
9313         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9314         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9315         AF_INET data.
9317 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9319         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9320         callback function gl_readdir.
9321         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9322         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9323         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9324         memcpy to copy the name.
9325         * manual/pattern.texi (Calling Glob): Document requirements for
9326         implementations of the gl_readdir callback function.
9327         * manual/examples/mkdirent.c: New example.
9328         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9329         per the manual guidance.
9330         * posix/tst-gnuglob.c (my_readdir): Likewise.
9332 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9334         [BZ #20014]
9335         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9336         not [__USE_POSIX].
9337         (getchar_unlocked): Likewise.
9338         (putc_unlocked): Likewise.
9339         (putchar_unlocked): Likewise.
9340         (flockfile): Likewise.
9341         (ftrylockfile): Likewise.
9342         (funlockfile): Likewise.
9343         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9344         variable.
9345         (test-xfail-XPG4/stdio.h/conform): Likewise.
9347         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9348         Expect constant.
9349         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9350         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9351         variable.
9352         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9353         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9355         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9356         [__USE_LARGEFILE64] (off64_t): Likewise.
9357         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9358         variable.
9360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9362         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9364 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9366         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9367         * resolv/res_init.c: Likewise.
9368         * resolv/res_mkquery.c: Likewise.
9370 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9372         * resolv/res_init.c (isascii): Do not define.  Use definition in
9373         <ctype.h>.
9374         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9375         (LOG_AUTH): Remove.
9376         (SPRINTF): Remove, adjust caller.
9377         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9379 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9381         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9382         SUNSECURITY conditional.
9383         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9385 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9387         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9388         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9389         Remove BSD-related preprocessor conditionals.
9390         * conf/portability.h: Remove.
9392 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9394         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9395         * resolv/res_data.c: Likewise.
9397 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9399         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9400         * resolv/res_data.c: Remove code conditional on ultrix.
9402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9404         * resolv/res_init.c (RFC1535): Do not define.  Remove
9405         RFC1535 preprocessor conditionals.
9406         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9407         because there configuration options which make the resolver
9408         behavior different.
9410 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9412         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9413         RESOLVSORT preprocessor conditionals.
9414         * resolv/nss_dns/dns-host.c: Likewise.
9415         * resolv/res_init.c: Likewise.
9417 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9419         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9420         is never defined.
9422 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9424         * inet/inet_lnaof.c: Remove SCSS keyword.
9425         * inet/inet_mkadr.c: Likewise.
9426         * inet/inet_net.c: Likewise.
9427         * inet/inet_netof.c: Likewise.
9428         * inet/rcmd.c: Likewise.
9429         * inet/rexec.c: Likewise.
9430         * inet/ruserpass.c: Likewise.
9432 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9434         * resolv/inet_addr.c: Remove _LIBC conditionals.
9435         * resolv/res_data.c: Likewise.
9436         * resolv/res_init.c: Likewise.
9437         * resolv/res_mkquery.c: Likewise.
9438         * resolv/res_libc.c: Update comment.
9439         * resolv/README: Update.
9441 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9443         * resolv/gethnamaddr.c: Remove SCSS keyword.
9444         * resolv/herror.c: Likewise.
9445         * resolv/inet_addr.c: Likewise.
9446         * resolv/inet_net_ntop.c: Likewise.
9447         * resolv/inet_net_pton.c: Likewise.
9448         * resolv/inet_neta.c: Likewise.
9449         * resolv/inet_ntop.c: Likewise.
9450         * resolv/inet_pton.c: Likewise.
9451         * resolv/ns_date.c: Remove RCS keyword.
9452         * resolv/ns_name.c: Likewise.
9453         * resolv/ns_netint.c: Likewise.
9454         * resolv/ns_parse.c: Likewise.
9455         * resolv/ns_print.c: Likewise.
9456         * resolv/ns_samedomain.c: Likewise.
9457         * resolv/ns_ttl.c: Likewise.
9458         * resolv/nsap_addr.c: Likewise.
9459         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9460         * resolv/res_data.c: Remove RCS keyword.
9461         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9462         * resolv/res_init.c: Likewise.
9463         * resolv/res_mkquery.c: Likewise.
9464         * resolv/res_query.c: Likewise.
9465         * resolv/res_send.c: Likewise.
9467 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9469         * conform/data/stdio.h-data (fdopen): Expect also for
9470         [XPG3 || XPG4].
9472         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9473         (fseeko): Likewise.
9474         (ftello): Likewise.
9475         (ftrylockfile): Likewise.
9476         (funlockfile): Likewise.
9477         (getc_unlocked): Likewise.
9478         (getchar_unlocked): Likewise.
9479         (putc_unlocked): Likewise.
9480         (putchar_unlocked): Likewise.
9482 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9484         [BZ #19868]
9485         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9486         DNS packet syntax checks (which were not needed before).  Skip
9487         over non-PTR records.
9489 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9491         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9492         definition.  Include <stddef.h> instead.
9494 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9496         [BZ #19831]
9497         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9498         function.
9499         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9500         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9502 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9504         [BZ #19862]
9505         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9506         (getanswer_r): Do not call syslog.
9507         (gaih_getanswer_slice): Likewise.
9508         * resolv/gethnamaddr.c (AskedForGot): Remove.
9509         (getanswer): Do not call syslog.
9510         (gethostbyaddr): Likewise.
9512 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9514         * conform/data/signal.h-data (union sigval): Expect also if
9515         [XOPEN2K].
9516         (struct sigevent): Likewise.
9517         (SIGEV_NONE): Likewise.
9518         (SIGEV_SIGNAL): Likewise.
9519         (SIGEV_THREAD): Likewise.
9520         (SIGRTMIN): Likewise.
9521         (SIGRTMAX): Likewise.
9522         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9523         variable.
9524         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9526 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9528         [BZ #19830]
9529         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9530         (gaih_getanswer_slice): Likewise.
9531         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9532         Also check for availability of RR metadata.
9534 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9536         [BZ #19825]
9537         * resolv/res_send.c (send_vc): Remove early *resplen2
9538         initialization.  Set *resplen2 on socket error.  Call
9539         close_and_return_error for other errors.
9541 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9543         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9544         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9545         (SCM_IUCV_TRGCLS): New define.
9547 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9549         [BZ #20005]
9550         * libio/fmemopen.c (fmemopen_write): Update internal position after
9551         write.
9552         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9553         * stdio-common/tst-fmemopen4.c: New file..
9555 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9557         [BZ #19996]
9558         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9559         not [__USE_XOPEN2K].
9560         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9561         variable.
9563         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9564         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9565         variable.
9567         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9568         [__USE_XOPEN2K8].
9569         [__USE_LARGEFILE64] (off64_t): Likewise.
9570         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9571         variable.
9573 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9575         [BZ #19989]
9576         * libio/stdio.h (cuserid): Do not declare if
9577         [__USE_XOPEN2K && !__USE_GNU].
9578         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9579         variable.
9581 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9583         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9584         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9586         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9587         ifunc'ed strcspn.
9588         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9589         [EALIGN]: Removed.
9590         [END]: Likewise
9591         [STRSPN]: Define instead of the above to control symbol name.
9592         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9593         New file.
9594         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9595         Likewise.
9596         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9597         Likewise.
9598         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9599         Likewise.
9600         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9601         [INITIAL_MASK]: New macro.
9602         [STRCSPN]: Likewise.
9603         [UPDATE_MASK]: Likewise.
9604         [USE_AS_STRCSPN]: Lisewise.
9606 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9608         [BZ #19931]
9609         * stdio-common/tst-vfprintf-width-prec.c: New file.
9610         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9611         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9612         (generated): Add mtrace-related files.
9613         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9614         (tst-%-mem.out): New pattern rule, replaces
9615         tst-printf-bz18872-mem.out.
9616         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9617         specifier, deallocate any previously allocated work buffer.
9619 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9621         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9622         Add nop before __startcontext, add explaining comments.
9624 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9626         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9627         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9628         completely different API.
9630         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9631         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9632         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9633         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9634         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9635         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9636         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9637         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9638         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9639         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9641 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9643         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9645 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9647         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9648         when it is the default of 0.
9650 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9652         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9653         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9654         (sysdep_routines): Add new strcasestr targets.
9655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9656         (__libc_ifunc_impl_list): Likewise.
9657         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9658         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9659         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9660         * sysdeps/powerpc/powerpc64/power8/Makefile:
9661         New file to add strcasestr-ppc64 to sysdep_routines.
9662         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9663         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9665 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9667         * benchtests/Makefile (wcsmbs-benchset): Include only for
9668         native builds and runs.
9669         (LOCALES): Likewise.
9670         (bench-build): Build timing-type here instead of the bench
9671         target.  Generate locale only for native builds.
9672         * benchtests/README: Add note for cross-building.
9674         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9676         * benchtests/README: Update README to include instructions on
9677         using bench-build.
9679         * Makefile.in (bench-build): New target.
9680         * Rules (PHONY): Add bench-build target.
9681         * benchtests/Makefile (bench): Depend on bench-build.
9682         (bench-build): New target.
9684 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9686         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9687         profil_reply_port.
9688         (profile_waiter): Do not initialize profil_reply_port.
9689         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9690         frequency instead of tick length in us.
9692 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9694         [BZ #18712]
9695         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9696         (__old_mempcpy_small): Likewise.
9697         (__old_strcpy_small): Likewise.
9698         (__old_stpcpy_small): Likewise.
9699         (__old_strpbrk_c2): Fix compat symbol name.
9700         (__old_strpbrk_c3): Likewise.
9701         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9702         (__mempcpy_small): Remove.
9703         (__strcpy_small): Remove.
9704         (__stpcpy_small): Remove.
9706 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9708         [BZ #19400]
9709         * locale/iso-639.def: Add the Talossan/tzl language.
9711 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9713         [BZ #16983]
9714         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9715         comment.  Add "ln" to strchr check on postal_fmt.
9717 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9719         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9720         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9721         tel_dom_fmt.
9723 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9725         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9726         (sysdep_routines): Added __strlen_power8.
9727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9728         __strlen_power8 entry.
9729         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9730         Implementation for POWER8.
9731         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9732         for __strlen_power8.
9733         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9734         Implementation for POWER8.
9736 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9738         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9740 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9742         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9743         Goldmont and Airmont processors.
9745 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9747         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9748         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9749         (__STRING2_SMALL_GET32): Remove.
9750         (memset): Remove.
9751         (__memset_1): Remove.
9752         (__memset_gc): Remove.
9753         (__mempcpy): Remove.
9754         (mempcpy): Remove.
9755         (__mempcpy_args): Remove.
9756         (strchr): Remove.
9757         (strcpy): Remove.
9758         (strcpy_args): Remove.
9759         (__stpcpy_args): Remove.
9760         (__strcmp_cc): Remove.
9761         (__strcmp_gc): Remove.
9762         (strstr): Remove.
9764 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9766         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9767         * nis/nis_call.c (nis_server_cache_add): Likewise.
9769 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9771         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9773 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9775         * malloc/arena.c (__malloc_fork_lock_parent)
9776         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9777         internal_function attribute.
9779 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9781         * stdio-common/printf_fp.c (__printf_fp_l):
9782         Rename ___printf_fp_l to __printf_fp_l and
9783         remove strong alias. Use libc_hidden_def instead
9784         of ldbl_hidden_def macro.
9786 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9788         Remove malloc hooks from fork handler.  They are no longer needed
9789         because malloc runs right before fork, and no malloc calls from
9790         other fork handlers are not possible anymore.
9791         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9792         declarations.
9793         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9794         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9795         (atfork_recursive_cntr): Remove.
9796         (__malloc_fork_lock_parent): Do not override malloc hooks and
9797         thread_arena.
9798         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9799         thread_arena.
9800         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9801         thread_arena instead of save_arena.
9803 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9805         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9806         (thread_atfork, thread_atfork_static): Remove.
9807         * sysdeps/mach/hurd/malloc-machine.h:
9808         (thread_atfork, thread_atfork_static): Remove.
9810 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9812         [BZ #19431]
9813         Run the malloc fork handler as late as possible to avoid deadlocks.
9814         * malloc/malloc-internal.h: New file.
9815         * malloc/malloc.c: Include it.
9816         * malloc/arena.c (ATFORK_MEM): Remove.
9817         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9818         Update comment.
9819         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9820         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9821         Remove outdated comment.
9822         (ptmalloc_init): Do not call thread_atfork.  Remove
9823         thread_atfork_static.
9824         * malloc/tst-malloc-fork-deadlock.c: New file.
9825         * Makefile (tests): Add tst-malloc-fork-deadlock.
9826         (tst-malloc-fork-deadlock): Link against libpthread.
9827         * manual/memory.texi (Aligned Memory Blocks): Update safety
9828         annotation comments.
9829         * sysdeps/nptl/fork.c (__libc_fork): Call
9830         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9831         __malloc_fork_unlock_child.
9832         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9834 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9836         [BZ #19613]
9837         Remove union wait.
9838         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9839         (w_stopsig, w_stopval): Remove.
9840         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9841         stat_loc argument.
9842         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9843         (__WAIT_STATUS_DEFN): Remove.
9844         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9845         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9846         (wait, wait3, wait4): Use int * for the stat_loc argument.
9847         * posix/wait.c (__wait): Likewise.
9848         * posix/wait3.c (__wait3): Likewise.
9849         * posix/wait4.c (__wait4): Likewise.
9850         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9851         (__WAIT_STATUS_DEFN): Remove.
9852         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9853         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9854         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9855         argument.
9856         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9857         * sysdeps/posix/wait3.c (__wait3): Likewise.
9858         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9859         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9860         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9861         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9862         stat_loc argument.
9863         * manual/process.texi (BSD Wait Functions): Remove union wait.
9865 2016-04-13  Andreas Schwab  <schwab@suse.de>
9867         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9868         (test-extras): Add tst-tlsalign-vars.
9869         * math/Makefile: Wrap long lines.
9870         (libm-vec-test-wrappers): Define.
9871         (test-extras): Add $(libm-vec-test-wrappers).
9872         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9873         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9874         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9875         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9876         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9877         (extra-test-objs): Add corresponding objects.
9879 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9881         [BZ #19928]
9882         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9883         New.
9884         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9885         times of shared cache size.
9886         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9887         (VMOVNT): New.
9888         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9889         (VMOVNT): Likewise.
9890         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9891         (VMOVNT): Likewise.
9892         (VMOVU): Changed to movups for smaller code sizes.
9893         (VMOVA): Changed to movaps for smaller code sizes.
9894         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9895         comments.
9896         (PREFETCH): New.
9897         (PREFETCH_SIZE): Likewise.
9898         (PREFETCHED_LOAD_SIZE): Likewise.
9899         (PREFETCH_ONE_SET): Likewise.
9900         Rewrite to use forward and backward loops, which move 4 vector
9901         registers at a time, to support overlapping addresses and use
9902         non temporal store if size is above the threshold and there is
9903         no overlap between destination and source.
9905 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9907         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9908         Include dl-vdso.
9909         * sysdeps/unix/sysv/linux/mips/Versions: Add
9910         __vdso_clock_gettime.
9911         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9912         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9913         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9914         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9915         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9916         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9917         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9918         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9919         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9921 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9923         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9924         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9925         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9927         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9928         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9931         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9933         syscalls generation.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9935         [__NR_pwrite64] (__NR_write): Remove define.
9936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9937         [__NR_pwrite64] (__NR_write): Remove define.
9938         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9939         Remove define.
9940         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9941         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9942         Remove define.
9943         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9944         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9945         Linux implementation as base.
9946         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9948         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9949         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9951         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9954         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9956         syscall generation.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9958         [__NR_pread64] (__NR_pread): Remove define.
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9960         [__NR_pread64] (__NR_pread): Likewise.
9961         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9962         define.
9963         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9964         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9965         Remove define.
9966         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9967         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9968         Linux implementation as base.
9969         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9970         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9971         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9973         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9974         definition.
9975         (__ALIGNMENT_COUNT): Likewise.
9976         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9977         (__ALIGNMENT_COUNT): Likewise.
9978         (SYSCALL_LL): New define.
9979         (SYSCALL_LL64): Likewise.
9980         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9981         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9982         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9983         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9986         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9988         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9990         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9992 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9994         [BZ #19865]
9995         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9996         original buffer before retry.
9998 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10000         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10001         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10002         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10003         GLRO(dl_auxv) list.
10004         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10005         including <ldsodefs.h>.
10006         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10008 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10010         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10011         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10012         $(CPPFLAGS).
10014 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10016         [BZ #17950]
10017         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10018         Add -mfpmath=387.
10020 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10022         * sysdeps/i386/configure.ac: Change == to = when calling test.
10023         * sysdeps/x86_64/configure.ac: Likewise.
10024         * sysdeps/i386/configure: Regenerated.
10025         * sysdeps/x86_64/configure: Likewise.
10027 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10029         [BZ #16137]
10030         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10031         * benchtests/bench-strcoll.c (input_files): Likewise.
10032         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10033         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10034         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10036 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10038         [BZ #19929]
10039         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10040         [__USE_XOPEN2K8 && !__USE_GNU].
10041         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10042         variable.
10044         [BZ #19925]
10045         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10046         define if [!__USE_MISC && __USE_XOPEN2K].
10047         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10048         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10049         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10050         Likewise.
10051         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10052         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10053         variable.
10054         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10056 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10058         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10059         (sysdep_routines): Add new strspn targets.
10060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10061         (__libc_ifunc_impl_list): Add strspn.
10062         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10063         New file.
10064         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10065         Likewise.
10066         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10067         Likewise.
10068         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10069         Likewise.
10071 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10073         * misc/hsearch_r.c: Include <limits.h>.
10075 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10077         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10079 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10081         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10082         (MEMCPY_SYMBOL): New.
10083         (MEMPCPY_SYMBOL): Likewise.
10084         (MEMMOVE_CHK_SYMBOL): Likewise.
10085         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10086         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10087         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10088         Provide alias for memcpy in libc.a and ld.so.
10090 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10092         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10093         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10094         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10095         Disabled fro now.
10096         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10097         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10099 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10101         * benchtests/Makefile (string-benchset): Add memcpy-large,
10102         memmove-large and memset-large.
10103         * benchtests/bench-memcpy-large.c: New file.
10104         * benchtests/bench-memmove-large.c: Likewise.
10105         * benchtests/bench-memmove-large.c: Likewise.
10106         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10108 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10110         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10111         32-bit displacement to avoid long nop between instructions.
10113 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10115         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10116         a comment on VMOVU and VMOVA.
10118 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10120         [BZ #19633]
10121         Use specified locale for number formatting in strfmon_l.
10122         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10123         (__nl_lookup_word): New inline functions.
10124         * include/printf.h (__print_fp_l): Declare.
10125         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10126         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10127         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10128         (___printf_fp): New function.
10129         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10130         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10131         * stdlib/tst-strfmon_l.c (do_test): New test.
10132         * stdlib/Makefile (tests): Add kt.
10133         (LOCALES): Build additional locales.
10134         (tst-strfmon_l.out): Require locales.
10136 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10138         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10139         if not in libc.
10140         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10141         Likewise.
10142         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10143         Likewise.
10144         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10145         Likewise.
10147 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10149         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10150         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10151         with unaligned_erms.
10152         (__memmove_erms): Skip if source == destination.
10153         (__memmove_unaligned_erms): Don't check source == destination
10154         first.
10156 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10158         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10159         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10161 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10163         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10164         * string/strspn.c (strspn): Likewise.
10166 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10168         * benchtests/bench-memset.c (do_test): Support 64-byte
10169         alignment.
10170         (test_main): Test 64-byte alignment.
10172 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10174         * benchtests/bench-memmove.c (test_main): Test 64-byte
10175         alignment.
10177 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10179         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10181 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10183         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10184         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10185         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10187         * string/strpbrk.c (strpbrk): Rewrite function.
10188         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10189         (__strpbrk_c2): Likewise.
10190         (__strpbrk_c3): Likewise.
10191         * string/string-inlines.c
10192         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10193         Likewise.
10194         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10195         Likewise.
10197         * string/strspn.c (strcspn): Rewrite function.
10198         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10199         (__strspn_c1): Remove inline function.
10200         (__strspn_c2): Likewise.
10201         (__strspn_c3): Likewise.
10202         * string/string-inlines.c
10203         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10204         compatibility symbol.
10205         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10206         Likewise.
10207         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10208         Likewise.
10209         * string/string-inlines.c: Include generic version.
10211 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10212             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10214         * string/Version (libc): Add GLIBC_2.24.
10215         * string/strcspn.c (strcspn): Rewrite function.
10216         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10217         (__strcspn_c1): Remove inline function.
10218         (__strcspn_c2): Likewise.
10219         (__strcspn_c3): Likewise.
10220         * string/string-inline.c
10221         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10222         compatibility symbol.
10223         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10224         Likewise.
10225         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10226         Likewise.
10227         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10229 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10231         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10232         Use ahi instead of aghi to adjust stack pointer.
10234 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10236         [BZ #19853]
10237         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10238         TEST to take significant digits as second parameter.
10239         [TEST]: Redefine in terms of TEST_N taking 30
10240         significant digits.
10241         (do_test): Add test case to demonstrate precision
10242         failure in the ldbl-128ibm printf.
10243         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10244         (__mpn_extract_long_double): Carry 7 extra intermediate
10245         bits of precision to aide computing difference when
10246         signs differ.
10248 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10250         [BZ #19881]
10251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10252         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10253         memset-avx512-unaligned-erms.
10254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10255         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10256         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10257         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10258         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10259         __memset_sse2_unaligned_erms, __memset_erms,
10260         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10261         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10262         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10263         file.
10264         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10265         Likewise.
10266         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10267         Likewise.
10268         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10269         Likewise.
10271 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10273         [BZ #19776]
10274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10275         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10276         memmove-avx512-unaligned-erms.
10277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10278         (__libc_ifunc_impl_list): Test
10279         __memmove_chk_avx512_unaligned_2,
10280         __memmove_chk_avx512_unaligned_erms,
10281         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10282         __memmove_chk_sse2_unaligned_2,
10283         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10284         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10285         __memmove_avx512_unaligned_erms, __memmove_erms,
10286         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10287         __memcpy_chk_avx512_unaligned_2,
10288         __memcpy_chk_avx512_unaligned_erms,
10289         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10290         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10291         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10292         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10293         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10294         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10295         __mempcpy_chk_avx512_unaligned_erms,
10296         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10297         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10298         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10299         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10300         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10301         __mempcpy_erms.
10302         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10303         file.
10304         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10305         Likwise.
10306         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10307         Likwise.
10308         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10309         Likwise.
10311 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10313         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10314         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10315         (La_s390_64_regs): Likewise.
10316         (La_s390_32_retval): Append vector register lrv_v24.
10317         (La_s390_64_retval): Likeweise.
10318         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10319         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10320         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10321         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10323 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10325         [BZ #19916]
10326         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10327         to create a non-vector/vector version for _dl_runtime_resolve and
10328         _dl_runtime_profile. Move implementation to ...
10329         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10330         (_dl_runtime_resolve) Save and restore fpr/vrs.
10331         (_dl_runtime_profile) Save and restore vrs and fix some issues
10332         if _dl_call_pltexit is called.
10333         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10334         Choose the correct resolver function if running on a machine with vx.
10335         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10336         to create a non-vector/vector version for _dl_runtime_resolve and
10337         _dl_runtime_profile. Move implementation to ...
10338         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10339         (_dl_runtime_resolve) Save and restore fpr/vrs.
10340         (_dl_runtime_profile) Save and restore vrs and fix some issues
10341         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10342         Choose the correct resolver function if running on a machine with vx.
10344 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10346         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10348 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10350         [BZ #19509]
10351         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10352         skip_map != NULL.
10353         * elf/tst-dlsym-error.c: New file.
10354         * elf/Makefile (tests): Add tst-dlsym-error.
10355         (tst-dlsym-error): Link against libdl.
10357 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10360         (__ASSUME_FUTIMESAT): Remove macro.
10361         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10363 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10365         [BZ #19879]
10366         CVE-2016-3075
10367         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10368         copy name.
10370 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10372         [BZ #19837]
10373         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10374         error if parse_line fails.
10376 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10378         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10379         (index_cpu_ERMS): Likewise.
10380         (reg_ERMS): Likewise.
10382 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10384         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10385         PER_LINUX_FDPIC): Add.
10387 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10390         memcpy-avx512-no-vzeroupper.
10391         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10392         to ...
10393         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10394         (MEMCPY): Don't define.
10395         (MEMCPY_CHK): Likewise.
10396         (MEMPCPY): Likewise.
10397         (MEMPCPY_CHK): Likewise.
10398         (MEMPCPY_CHK): Renamed to ...
10399         (__mempcpy_chk_avx512_no_vzeroupper): This.
10400         (MEMPCPY_CHK): Renamed to ...
10401         (__mempcpy_chk_avx512_no_vzeroupper): This.
10402         (MEMCPY_CHK): Renamed to ...
10403         (__memmove_chk_avx512_no_vzeroupper): This.
10404         (MEMCPY): Renamed to ...
10405         (__memmove_avx512_no_vzeroupper): This.
10406         (__memcpy_avx512_no_vzeroupper): New alias.
10407         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10409 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10411         [BZ #18858]
10412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10413         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10414         and mempcpy-avx512-no-vzeroupper.
10415         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10416         New.
10417         (MEMPCPY): Likewise.
10418         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10419         (MEMPCPY_CHK): New.
10420         (MEMPCPY): Likewise.
10421         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10422         (MEMPCPY): Likewise.
10423         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10424         (MEMPCPY): Likewise.
10425         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10426         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10427         Likewise.
10428         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10429         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10431 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10432              Amit Pawar  <Amit.Pawar@amd.com>
10434         [BZ #19583]
10435         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10436         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10437         processors.  Set Fast_Copy_Backward for AMD Excavator
10438         processors.
10439         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10440         New.
10441         (index_arch_Fast_Unaligned_Copy): Likewise.
10442         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10443         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10445 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10447         [BZ #19791]
10448         * resolv/res_send.c (close_and_return_error): New function.
10449         (send_dg): Initialize *resplen2 after reopen failure.  Call
10450         close_and_return_error for error returns.  On error paths without
10451         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10452         successful return.
10454 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10456         [BZ# 19860]
10457         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10458         zero if the compiler does not provide the AVX512F bit.
10460 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10462         [BZ #19848]
10463         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10464         from 8 to 4.
10465         (__ieee754_powl): Compare integer exponent against 4 not 8.
10466         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10467         from 8 to 4.
10468         (__ieee754_powl): Compare integer exponent against 4 not 8.
10469         * math/auto-libm-test-in: Add more tests of pow.
10470         * math/auto-libm-test-out: Regenerated.
10471         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10474 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10476         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10477         Make code unconditional.
10478         [!__NR_utimensat]: Remove conditional code.
10479         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10480         Make code unconditional.
10481         [!__NR_utimensat]: Remove conditional code.
10482         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10483         Make code unconditional.
10484         [!__NR_utimensat]: Remove conditional code.
10486 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10488         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10489         Make code unconditional.
10491 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10493         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10494         call-clobbered %eax on retry path.
10495         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10497 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10499         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10500         Don't set %rcx twice before "rep movsb".
10502 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10504         [BZ #19583]
10505         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10506         inline.  Check family before setting family, model and
10507         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10508         bits here.
10509         (init_cpu_features): Replace HAS_CPU_FEATURE and
10510         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10511         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10512         for Intel processors with usable AVX2.  Call get_common_indeces
10513         for other processors with family == NULL.
10514         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10515         (CPU_FEATURES_ARCH_P): Likewise.
10516         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10517         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10519 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10521         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10522         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10523         $(shared-thread-library) instead of hardcoding the path to libpthread.
10525 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10527         * sysdeps/unix/sysv/linux/kernel-features.h
10528         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10529         * sysdeps/unix/sysv/linux/getdents.c
10530         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10531         [!have_no_getdents64_defined]: Likewise.
10532         (__GETDENTS): Remove __have_no_getdents64 conditional.
10534 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10537         Remove macro.
10538         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10539         <kernel-features.h>.
10540         (signalfd) [__NR_signalfd4]: Make code unconditional.
10541         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10543 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10545         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10546         style.
10548 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10550         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10551         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10552         __pthread_unwind.
10553         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10554         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10555         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10556         (__condvar_cleanup1): Likewise.
10558 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10560         [BZ #19822]
10561         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10562         move it to the final $@ location.
10564 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10566         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10567         access where posix_spawn success and pid argument is null.
10568         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10569         success case.
10571 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10573         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10575         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10577         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10578         and __fcntl.
10579         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10580         __fcntl only.
10581         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10582         adding attribute_hidden to __open and __fcntl.
10584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10585         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10586         depend on libc-modules.h,
10587         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10589 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10592         Remove macro.
10593         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10594         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10595         entry.
10597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10598         Remove macro.
10599         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10600         include <kernel-features.h>.
10601         [!__ASSUME_FALLOCATE]: Remove conditional code.
10602         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10604 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10606         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10607         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10608         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10609         (_ZGVdN4v_cos_avx2): Likewise.
10610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10611         (_ZGVdN4v_cos): Likewise.
10612         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10613         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10614         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10615         (_ZGVdN4v_exp_avx2): Likewise.
10616         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10617         (_ZGVdN4v_exp): Likewise.
10618         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10619         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10620         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10621         (_ZGVdN4v_log_avx2): Likewise.
10622         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10623         (_ZGVdN4v_log): Likewise.
10624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10625         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10627         (_ZGVdN4vv_pow_avx2): Likewise.
10628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10629         (_ZGVdN4vv_pow): Likewise.
10630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10631         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10633         (_ZGVdN4v_sin_avx2): Likewise.
10634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10635         (_ZGVdN4v_sin): Likewise.
10636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10637         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10639         (_ZGVdN4vvv_sincos_avx2): Likewise.
10640         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10641         (_ZGVdN4vvv_sincos): Likewise.
10642         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10643         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10644         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10645         (_ZGVbN4v_cosf_sse4): Likewise.
10646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10647         (_ZGVdN8v_cosf_avx2): Likewise.
10648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10649         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10650         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10651         (_ZGVbN4v_expf_sse4): Likewise.
10652         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10653         (_ZGVdN8v_expf_avx2): Likewise.
10654         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10655         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10656         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10657         (_ZGVbN4v_logf_sse4): Likewise.
10658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10659         (_ZGVdN8v_logf_avx2): Likewise.
10660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10661         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10662         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10663         (_ZGVbN4vv_powf_sse4): Likewise.
10664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10665         (_ZGVdN8vv_powf_avx2): Likewise.
10666         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10667         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10669         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10671         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10672         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10673         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10675         (_ZGVbN4v_sinf_sse4): Likewise.
10676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10677         (_ZGVdN8v_sinf_avx2): Likewise.
10678         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10679         Use JUMPTARGET to call callee.
10680         (WRAPPER_IMPL_SSE2_ff): Likewise.
10681         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10682         (WRAPPER_IMPL_AVX): Likewise.
10683         (WRAPPER_IMPL_AVX_ff): Likewise.
10684         (WRAPPER_IMPL_AVX_fFF): Likewise.
10685         (WRAPPER_IMPL_AVX512): Likewise.
10686         (WRAPPER_IMPL_AVX512_ff): Likewise.
10687         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10688         Likewise.
10689         (WRAPPER_IMPL_SSE2_ff): Likewise.
10690         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10691         (WRAPPER_IMPL_AVX): Likewise.
10692         (WRAPPER_IMPL_AVX_ff): Likewise.
10693         (WRAPPER_IMPL_AVX_fFF): Likewise.
10694         (WRAPPER_IMPL_AVX512): Likewise.
10695         (WRAPPER_IMPL_AVX512_ff): Likewise.
10696         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10698 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10700         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10701         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10702         qualifier.
10703         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10704         internal_function qualifiers.
10706 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10708         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10709         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10710         * math/atest-exp.c (exp_mpn): Mark chk unused.
10711         * math/atest-exp2.c (exp_mpn): Likwise.
10712         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10713         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10715 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10718         Remove macro.
10719         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10720         <kernel-features.h>.
10721         [__NR_ppoll]: Make code unconditional.
10722         [!__ASSUME_PPOLL]: Remove conditional code.
10724         * sysdeps/unix/sysv/linux/kernel-features.h
10725         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10726         (__ASSUME_ACCEPT4): Likewise.
10727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10728         Define.
10729         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10730         Likewise.
10731         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10732         Likewise.
10733         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10736         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10737         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10738         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10739         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10743         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10744         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10745         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10746         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10747         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10748         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10749         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10751         Likewise.
10752         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10753         Likewise.
10754         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10755         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10756         0x040300].
10757         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10758         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10760         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10761         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10762         0x030300].
10763         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10764         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10765         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10766         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10767         0x040300].
10768         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10769         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10770         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10771         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10772         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10773         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10774         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10775         0x030300].
10776         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10777         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10778         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10779         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10780         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10781         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10782         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10783         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10784         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10785         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10786         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10787         0x040300].
10788         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10789         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10790         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10791         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10793         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10794         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10795         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10796         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10799         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10800         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10801         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10802         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10803         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10804         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10805         Likewise.
10806         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10807         Likewise.
10809 2016-03-15  Andreas Schwab  <schwab@suse.de>
10811         [BZ #19257]
10812         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10813         statp->_u._ext.nscount as loop count.
10815 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10817         * math/test-signgam-finite-c99.c: Also #undef
10818         __LIBC_INTERNAL_MATH_INLINES.
10819         * math/test-signgam-main.c: Likewise.
10821 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10823         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10824         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10825         (MADV_FREE): Likewise.
10826         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10827         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10828         EPOLLEXCLUSIVE.
10830 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10832         * timezone/README: Remove mention of checktab.awk. Mention wiki
10833         SharedSourceFiles.
10835 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10837         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10838         WUNTRACED.
10840 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10842         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10843         order to match the type of p when calling atomic_exchange_acq().
10845 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10847         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10848         cfi_offset calls.
10849         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10850         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10851         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10852         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10853         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10855 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10857         * timezone/checktab.awk: Removed.
10859 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10861         * manual/math.texi (Errors in Math Functions): Document relaxed
10862         accuracy goals for IBM long double.
10863         * math/libm-test.inc (test_exceptions): Always allow spurious
10864         "underflow" and "inexact" exceptions for IBM long double.
10866 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10868         [BZ #19762]
10869         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10870         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10871         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10872         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10873         (bit_arch_*): This for feature array.
10874         (bit_*): Renamed to ...
10875         (bit_cpu_*): This for cpu array.
10876         (index_*): Renamed to ...
10877         (index_arch_*): This for feature array.
10878         (index_*): Renamed to ...
10879         (index_cpu_*): This for cpu array.
10880         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10881         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10882         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10883         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10884         bit_##name with index_cpu_##name and bit_cpu_##name.
10885         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10886         bit_##name with index_arch_##name and bit_arch_##name.
10888 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10890         [BZ #19792]
10891         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10892         Terminate FDE before return label.
10894 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10896         [BZ #19790]
10897         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10898         (rintl): Define as macro.
10899         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10900         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10901         of fesetround.  Ensure results are evaluated before end of scope.
10902         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10903         USE_AS_NEARBYINTL and include s_rintl.c.
10904         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10905         Disable exception traps in new environment.
10906         (libc_feholdsetround_ppc_ctx): Likewise.
10908 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10910         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10911         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10912         (tst_audit10_aux) [__AVX512F__]: ... here.
10914 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10916         * include/sys/auxv.h: New file.
10918 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10920         [BZ #19759]
10921         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10923 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10925         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10926         operand modifier.
10927         (feclearexcept): Likewise.
10929 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10931         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10932         to reflect the entire 32-bit HWCAP.
10933         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10934         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10936 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10938         [BZ #19783]
10939         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10940         $(test-via-rtld-prefix).
10941         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10943 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10945         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10946         union wait.  Report any non-zero exit status as error.
10948 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10950         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10951         configured with --enable-hardcoded-path-in-tests.
10953 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #19677]
10956         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10957         (__ieee754_remainderl): Put zero low parts in canonical form.
10958         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10959         file.  Based on
10960         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10961         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10962         with wrapper round test-fmodrem-ldbl-128ibm.c.
10963         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10964         file.
10965         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10966         Likewise.
10967         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10968         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10970 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10972         [BZ #19610]
10973         * elf/ldconfig.c (opt_link): Update comment.
10974         (options): Update help string for option -X.
10975         (search_dir): Unlink stale symbolic link only if updating symbolic
10976         links.
10977         * elf/tst-ldconfig-X.sh: New file.
10978         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10979         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10981 2016-03-07  Andreas Schwab  <schwab@suse.de>
10983         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10984         needed arguments.
10986 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10988         [BZ #15333]
10989         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10990         to lstat64.
10992 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10994         * libio/filedoalloc.c (isatty): Remove.
10995         (local_isatty): Add comment.  Call __isatty directly.
10996         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10997         * libio/wfiledoalloc.c (isatty): Remove.
10998         (_IO_wfile_doallocate): Update comment.
11000 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11002         [BZ #19269]
11003         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11004         tst-audit4-aux.o.
11005         (tst-audit10): Depend on tst-audit10-aux.o.
11006         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11007         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11008         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11009         instead of inline AVX code.
11010         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11011         instead of inline AVX512 code.
11012         * sysdeps/x86_64/tst-audit4-aux.c: New file
11013         * sysdeps/x86_64/tst-audit10-aux.c: New file
11015         [BZ #19648]
11016         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11018 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11020         [BZ #14750]
11021         [BZ #10354]
11022         [BZ #18433]
11023         * include/sched.h (__clone): Add hidden prototype.
11024         (__clone2): Likewise.
11025         * include/unistd.h (__dup): Likewise.
11026         * posix/Makefile (tests): Add tst-spawn2.
11027         * posix/tst-spawn2.c: New file.
11028         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11029         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11030         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11031         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11032         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11033         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11034         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11035         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11036         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11037         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11038         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11040         Likewise.
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11042         Likewise.
11043         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11044         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11045         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11046         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11047         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11048         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11049         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11050         * sysdeps/unix/sysv/linux/nptl-signals.h
11051         (____nptl_is_internal_signal): New function.
11052         * sysdeps/unix/sysv/linux/spawni.c: New file.
11054         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11055         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11056         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11057         * posix/tst-execvp2.c (do_test): Likewise.
11058         * posix/tst-execvp3.c (do_test): Likewise.
11059         * posix/tst-execvp4.c (do_test): Likewise.
11060         * posix/tst-execvpe1.c: New file.
11061         * posix/tst-execvpe2.c: Likewise.
11062         * posix/tst-execvpe3.c: Likewise.
11063         * posix/tst-execvpe4.c: Likewise.
11064         * posix/tst-execvpe5.c: Likewise.
11065         * posix/tst-execvpe6.c: Likewise.
11067         [BZ #19534]
11068         * posix/execl.c (execl): Remove dynamic memory allocation.
11069         * posix/execle.c (execle): Likewise.
11070         * posix/execlp.c (execlp): Likewise.
11072 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11074         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11075         Replace .text with .text.avx512.
11076         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11077         Likewise.
11079 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11081         * sysdeps/generic/libnsl.abilist: New file.
11082         * sysdeps/generic/libutil.abilist: New file.
11084 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11086         [BZ #19762]
11087         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11088         HAS_ARCH_FEATURE with Fast_Rep_String.
11089         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11090         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11091         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11092         Likewise.
11093         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11094         Likewise.
11095         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11097         Likewise.
11098         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11099         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11100         Likewise.
11102 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11104         [BZ #19745]
11105         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11106         with *%rax in call.
11108 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11110         [BZ #19745]
11111         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11112         with *__libc_start_main@GOTPCREL(%rip) in call.
11114 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11116         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11117         inside conditional for nonempty $(CXX).
11119         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11120         nonempty.
11122         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11123         to test for empty $(CXX) rather than $(CXX) of "no".
11125 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11127         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11129 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11130             H.J. Lu  <hongjiu.lu@intel.com>
11132         [BZ #18880]
11133         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11134         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11135         enable __memcpy_ssse3_back.
11137 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11139         [BZ #19758]
11140         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11141         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11143 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11145         [BZ #19490]
11146         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11147         (__fentry__): Likewise.
11149 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11151         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11152         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11154 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11156         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11157         __mcount_internal directly.
11158         (C_LABEL(__fentry__)): Likewise.
11159         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11160         directly.
11162 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11164         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11165         (__start_context): Call __setcontext directly.
11167 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11169         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11170         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11171         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11172         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11174         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11175         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11176         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11177         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11178         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11179         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11180         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11182         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11183         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11185         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11187         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11188         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11189         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11190         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11191         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11192         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11193         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11194         Remove conditional code.
11195         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11196         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11197         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11198         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11199         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11200         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11201         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11202         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11203         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11204         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11205         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11206         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11208 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11210         * NEWS (2.23): Fix typo in bug 19048 text.
11212 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11214         [BZ #14259]
11215         * Makeconfig: Rename msgcatdir to localedir.
11216         Rename inst_msgcatdir to inst_localedir.
11217         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11218         * config.make.in: Add localedir.
11219         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11220         (ldd-rewrite): Likewise.
11221         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11222         (install-others): Use inst_localedir.
11223         (CPPFLAGS): Use localedir.
11224         * locale/Makefile (locale-CPPFLAGS): Likewise.
11225         * po/Makefile (mo-installed): Use inst_localedir.
11227         [BZ #19575]
11228         * localedata/charmaps/GB18030: Update comments regarding PAU to
11229         non-PUA mappings.
11231 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11233         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11234         test for header.
11235         * sysdeps/unix/sysv/linux/configure: Regenerated.
11236         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11237         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11238         Remove conditional code.
11239         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11241         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11242         Define to 3.2.0.
11243         (arch_minimum_kernel): Likewise.
11244         * sysdeps/unix/sysv/linux/configure: Regenerated.
11245         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11246         Define to 2.6.32.
11247         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11248         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11249         (arch_minimum_kernel): Define to 2.6.32.
11250         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11251         * README: Document Linux 3.2 requirement.
11252         * manual/install.texi (Linux): Document Linux 3.2 headers
11253         requirement.
11254         * INSTALL: Regenerated.
11256 2016-02-24  Andreas Schwab  <schwab@suse.de>
11258         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11259         if !NO_LONG_DOUBLE.
11261 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11263         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11264         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11266 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11268         [BZ #19512]
11269         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11271 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11273         * posix/tst-dir.c: Include libc-internal.h.
11275 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11277         [BZ #19056]
11278         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11279         * manual/filesys.texi (Reading/Closing Directory): Mention
11280         deprecaion.
11281         * posix/tst-dir.c (main): Disable deprecation warning in test.
11283 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11285         [BZ #19679]
11286         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11287         Renamed to ...
11288         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11289         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11290         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11291         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11292         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11293         * sysdeps/x86_64/dl-trampoline.h
11294         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11295         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11297 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11299         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11301 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11303         * elf/elf.h (R_386_GOT32X): New.
11304         (R_386_NUM): Update.
11305         (R_X86_64_GOTPCRELX: New.
11306         (R_X86_64_REX_GOTPCRELX): New.
11307         (R_X86_64_NUM): Update.
11309 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11311         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11313 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11315         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11316         assign attr->stackaddr to it, and adjust it down when
11317         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11318         [_STACK_GROWS_UP]: Delete assert.
11319         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11320         Implement stack grows up logic.
11321         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11322         stack grows up logic.
11324 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11326         * NEWS: Update with 2.24 template.
11328 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11330         [BZ #19678]
11331         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11332         Ensure +0.0 is returned when taking the next value below the least
11333         positive value.
11335 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11337         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11338         available.  Do not define NO_THREADS.
11339         * malloc/malloc.c: Do not check NO_THREADS.
11340         * malloc/arena.c: Likewise.
11342 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11344         * malloc/malloc.c (__libc_mallinfo): Update comment.
11345         (struct malloc_par): Remove max_total_mem member, it was always 0.
11346         (int_mallinfo): Store 0 into usmblks (no functional change).
11347         * malloc/hooks.c (struct malloc_state): Document that
11348         max_total_mem is always 0.
11349         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11350         always 0.
11351         * manual/memory.texi (Statistics of Malloc): Likewise.
11353 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11355         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11356         * malloc/arena.c (arena_max): Remove.
11357         (heap_trim, _int_new_arena): Do not update arena_max.
11359 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11361         * resolv/res_init.c (res_ninit): Update comment.
11363 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11365         [BZ #19505]
11366         * posix/spawn_int.h: Add headers and include guard.
11367         (__spawn_valid_fd): New function.
11368         * posix/spawn_faction_addopen.c
11369         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11370         * posix/spawn_faction_addclose.c
11371         (posix_spawn_file_actions_addclose): Likewise.
11372         * posix/spawn_faction_adddup2.c
11373         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11374         second file descriptor.
11375         * posix/spawn_valid_fd.c: New file.
11376         * posix/tst-posix_spawn-fd.c: New file.
11377         * posix/Makefile (routines): Add spawn_valid_fd.
11378         (tests): Add tst-posix_spawn-fd.
11380 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11382         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11383         (do_test): Limit the number of arenas, so that we can use fewer
11384         outer threads.  Limit timeout to 3 seconds, in preparation for a
11385         larger TIMEOUT value.
11387 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11389         [BZ #19674]
11390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11391         sign in overflowing and underflowing results when overflow or
11392         underflow is detected early.  Include sign in result before rather
11393         than after scaling.
11395         [BZ #19603]
11396         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11397         (__ieee754_remainderl): Adjust sign of integer version of low part
11398         when taking absolute value of high part.
11399         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11400         * math/libm-test.inc (remainder_test_data): Add another test.
11401         (remquo_test_data): Likewise.
11403 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11405         [BZ #19602]
11406         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11407         equal high parts and both low parts zero specially.
11408         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11409         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11410         Add test-fmodl-ldbl-128ibm.
11412         [BZ #19595]
11413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11414         common logic for all cases of shifting subnormal results.  Do not
11415         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11416         exponent to ldbl_insert_mantissa in subnormal case.
11418         [BZ #19594]
11419         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11420         on high and low parts then adjust result and use
11421         ldbl_canonicalize_int if needed.
11423         [BZ #19593]
11424         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11425         on high part and __floor or __ceil on low part then use
11426         ldbl_canonicalize_int if needed.
11428         [BZ #19592]
11429         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11430         high and low parts then use ldbl_canonicalize_int if needed.
11432         [BZ #17899]
11433         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11434         New function.
11435         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11436         on high and low parts then use ldbl_canonicalize_int if needed.
11438 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11440         * configure: Regenerated.
11442         * po/libc.pot: Regenerated.
11444         * po/be.po: Updated translation.
11445         * po/bg.po: Likewise.
11446         * po/ca.po: Likewise.
11447         * po/cs.po: Likewise.
11448         * po/da.po: Likewise.
11449         * po/el.po: Likewise.
11450         * po/eo.po: Likewise.
11451         * po/es.po: Likewise.
11452         * po/fi.po: Likewise.
11453         * po/fr.po: Likewise.
11454         * po/gl.po: Likewise.
11455         * po/hr.po: Likewise.
11456         * po/hu.po: Likewise.
11457         * po/ia.po: Likewise.
11458         * po/id.po: Likewise.
11459         * po/it.po: Likewise.
11460         * po/ja.po: Likewise.
11461         * po/lt.po: Likewise.
11462         * po/nb.po: Likewise.
11463         * po/nl.po: Likewise.
11464         * po/pt_BR.po: Likewise.
11465         * po/rw.po: Likewise.
11466         * po/sk.po: Likewise.
11467         * po/sl.po: Likewise.
11468         * po/sv.po: Likewise.
11469         * po/tr.po: Likewise.
11470         * po/zh_CN.po: Likewise.
11471         * po/zh_TW.po: Likewise.
11473         * version.h (RELEAES): Set to "development".
11474         (VERSION): Set to 2.23.90.
11476         * version.h (RELEASE): Set to "stable".
11477         (VERSION): Set to 2.23.
11478         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11480         * NEWS: Updated fixed bugs.
11482 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11483             Wilco Dijkstra  <wdijkstr@arm.com>
11485         [BZ #19462]
11486         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11487         (_STRING_INLINE_unaligned): This.
11488         * include/string.h: Include <string_private.h>.
11489         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11490         _STRING_INLINE_unaligned.
11491         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11492         (_STRING_INLINE_unaligned): New.
11493         * sysdeps/aarch64/string_private.h: New file.
11494         * sysdeps/generic/string_private.h: Likewise.
11495         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11496         * sysdeps/s390/string_private.h: Likewise.
11497         * sysdeps/x86/string_private.h: Likewise.
11498         * sysdeps/m68k/m680x0/m68020/bits/string.h
11499         (_STRING_ARCH_unaligned): Renamed to ...
11500         (_STRING_INLINE_unaligned): This.
11501         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11502         to ...
11503         (_STRING_INLINE_unaligned): This.
11504         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11505         to ...
11506         (_STRING_INLINE_unaligned): This.
11507         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11508         to ...
11509         (_STRING_INLINE_unaligned): This.
11511 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11512             H.J. Lu  <hongjiu.lu@intel.com>
11514         [BZ #19590]
11515         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11516         relocation.
11518 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11520         [BZ #18665]
11521         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11522         *herrno_p.
11523         (gaih_getanswer): Document functional behviour. Return tryagain
11524         if any result is tryagain.
11525         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11526         when freed.
11527         * resolv/res_send.c: Add copyright text.
11528         (__libc_res_nsend): Document that MAXPACKET is expected.
11529         (send_vc): Document. Remove buffer reuse.
11530         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11531         size of the buffer. Add Dprint for truncated UDP buffer.
11533 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11535         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11536         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11537         * INSTALL: Regenerate.
11539 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11540             Jonathan Wakely  <jwakely@redhat.com>
11541             Carlos O'Donell  <carlos@redhat.com>
11543         [BZ 19439]
11544         * math/Makefile (tests): Add test-math-isinff.
11545         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11546         * math/bits/mathcalls.h [__USE_MISC]: Use
11547         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11548         functions not in C++11 and which don't conflict e.g. isinff,
11549         isinfl etc.
11550         * math/test-math-isinff.cc: New file.
11552 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11554         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11556 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11558         [BZ #19529]
11559         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11561 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11563         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11565 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #19550]
11568         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11569         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11570         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11571         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11572         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11573         New syscall entry.
11574         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11575         New syscall entry.
11576         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11577         syscall entry.
11579 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11581         [BZ #18240]
11582         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11583         unsigned int wraparound.
11585 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11587         [BZ #18240]
11588         * misc/bug18240.c: New test.
11589         * misc/Makefile (tests): Add it.
11591 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11592             Joseph Myers  <joseph@codesourcery.com>
11594         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11595         load in branch delay slot when less than a word of input left.
11597 2016-01-27  Andreas Schwab  <schwab@suse.de>
11599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11600         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11601         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11602         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11604 2016-01-26  David S. Miller  <davem@davemloft.net>
11606         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11608 2016-01-25  David S. Miller  <davem@davemloft.net>
11610         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11611         __sqrtl_finite.
11612         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11613         instead using versioned_symbol.
11614         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11615         of entries.
11617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11618         __sqrtl_finite to GLIBC_2.23
11620 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11622         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11624 2016-01-25  Andreas Schwab  <schwab@suse.de>
11626         [BZ #17514]
11627         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11628         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11629         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11630         * nptl/tst-mutex-errorcheck.c: New file.
11632 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11634         [BZ #18560]
11635         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11636         (IPCOP_semop): Likewise.
11637         (IPCOP_semget): Likewise.
11638         (IPCOP_semctl): Likewise.
11639         (IPCOP_msgsnd): Likewise.
11640         (IPCOP_msgrcv): Likewise.
11641         (IPCOP_msgget): Likewise.
11642         (IPCOP_msgctl): Likewise.
11643         (IPCOP_shmat): Likewise.
11644         (IPCOP_shmdt): Likewise.
11645         (IPCOP_shmget): Likewise.
11646         (IPCOP_shmctl): Likewise.
11648 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11650         * string/tst-endian.c: Include <libc-internal.h>.
11651         (do_test): Ignore tautological-compare warnings around
11652         "htobeXX (beXXtoh (i)) != i" and
11653         "htoleXX (leXXtoh (i)) != i" if-statements.
11655 2016-01-24  David S. Miller  <davem@davemloft.net>
11657         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11658         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11659         alias.
11660         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11661         __sqrtl_finite.
11663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11665 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11667         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11668         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11669         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11671 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11673         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11674         (thread_func): Use new function to simplify barrier check.
11675         (do_test): Use new function to simplify checking barrier exit
11676         code, and actually join the child thread.
11678 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11680         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11681         semicolon.
11682         (__libc_tend): Likewise.
11683         (__libc_tabort): Likewise.
11685 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11687         * sysdeps/nios2/libm-test-ulps: Update.
11688         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11689         (__gtsf2): Likewise.
11690         (__unorddf2): Likewise.
11691         (__unordsf2): Likewise.
11692         (__ledf2): Likewise.
11694 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11696         * nis/nis_table.c (__follow_path): Disable diagnostic for
11697         uninitialized variable that is a false positive for gcc 4.7.
11698         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11700 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11702         * sysdeps/nacl/lowlevellock-futex.h
11703         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11704         Always evaluate PRIVATE argument.
11706 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11708         [BZ #19490]
11709         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11710         (pthread_cond_broadcast): Use ENTRY/END
11711         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11712         (pthread_cond_signal): Likewise.
11713         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11714         Likewise.
11715         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11716         Likewise.
11717         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11718         Likewise.
11720 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11722         * sysdeps/ieee754/dbl-64/s_finite.c
11723         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11724         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11725         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11726         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11727         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11730         (__gtsf2): Add as optional for libc.so.
11731         (__unordsf2): Likewise.
11732         (__signbit): Remove for libc.so.
11733         (__signbitl): Likewise.
11735 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11737         * iconvdata/bug-iconv11.c (test_ibm93x):
11738         Use %zu printf format specifier for size_t argument.
11740 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11742         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11743         already-recorded ulps.
11744         * sysdeps/arm/libm-test-ulps: Regenerated.
11745         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11746         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11747         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11749 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11750             Paul Pluzhnikov  <ppluzhnikov@google.com>
11752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11753         assembler not supporting AVX-512.
11755 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11757         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11759 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11761         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11762         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11764         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11766         * sysdeps/arm/libm-test-ulps: Regenerated.
11768 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11770         [BZ #19451]
11771         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11773 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11775         [BZ #19486]
11776         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11777         * sysdeps/generic/fix-fp-int-convert-overflow.h
11778         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11779         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11780         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11781         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11782         Likewise.
11783         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11784         Avoid conversions to long int where inexact exceptions
11785         could be raised.
11786         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11787         Likewise.
11788         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11789         Avoid conversions to long long int where inexact exceptions
11790         could be raised.
11791         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11792         Likewise.
11794 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11796         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11797         * configure: Regenerated.
11799 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11801         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11803 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11805         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11806         outside of comment.
11808 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11810         * nptl/tst-barrier1.c: Add description on first line.
11811         * nptl/tst-barrier2.c: Likewise.
11812         * nptl/tst-barrier3.c: Likewise.
11813         * nptl/tst-barrier4.c: Likewise.
11814         * nptl/tst-barrier5.c: Likewise.
11816 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11818         [BZ #18868]
11819         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11821 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11825         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11826         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11827         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11828         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11829         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11830         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11831         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11832         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11835 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11837         [BZ #13065]
11838         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11839         new implementation.
11840         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11841         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11842         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11843         (BARRIER_IN_THRESHOLD): New macro.
11844         * nptl/pthread_barrierattr_setpshared.c
11845         (pthread_barrierattr_setpshared): Clean up.
11846         * nptl/tst-barrier4.c: Correct comment.
11847         * nptl/tst-barrier5.c: New file.
11848         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11849         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11850         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11851         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11852         * nptl/lowlevelbarrier.sym: Remove.
11853         * nptl/DESIGN-barrier.txt: Remove.
11854         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11855         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11856         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11857         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11858         error.
11859         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11860         implementation.
11862 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11864         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11865         (do_child): Mask SIGRTMIN while thr is running.
11867 2016-01-15  Martin Sebor  <msebor@redhat.com>
11869         [BZ #19432]
11870         * iconvdata/Makefile: Add bug-iconv11.
11871         * iconvdata/bug-iconv11.c: New test.
11872         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11873         * iconvdata/ibm933.c: Same.
11874         * iconvdata/ibm935.c: Same.
11875         * iconvdata/ibm937.c: Same.
11876         * iconvdata/ibm939.c: Same.
11878 2016-01-15  Martin Sebor  <msebor@redhat.com>
11880         [BZ #19443]
11881         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11882         [DEBUG] (_ufc_set_bits): Declare used.
11883         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11884         [DEBUG] (print_all): Declare used.
11885         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11886         operands of the ternary ?: expression to target type.
11887         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11888         calling the undeclared abort.
11889         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11891 2016-01-15  Martin Sebor  <msebor@redhat.com>
11893         [BZ #18755]
11894         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11895         warnings.
11896         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11897         (__gai_create_helper_thread): Same.
11898         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11899         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11900         to suppress -Wmaybe-uninitialized warnings.
11902 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11904         [BZ #19465]
11905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11906         inside if.
11907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11911 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11913         [BZ #19466]
11914         * time/tst-mktime2.c (time_t_max): Removed.
11915         (time_t_min): Likewise.
11916         (TYPE_SIGNED): New.
11917         (TYPE_MINIMUM): Likewise.
11918         (TYPE_MAXIMUM): Likewise.
11919         (TIME_T_MIN): Likewise.
11920         (TIME_T_MAX): Likewise.
11921         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11922         and TIME_T_MIN.
11923         (do_test): Likewise.
11925 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11927         [BZ #19467]
11928         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11929         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11931 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11933         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11935 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11937         * benchtests/Makefile (PYTHON): Define.
11938         (bench-func): Use $(PYTHON) to run python scripts.
11939         ($(objpfx)bench-%.c): Likewise.
11941 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11943         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11944         leading slash when `file_name' is "/".
11946 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11948         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11949         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11950         Likewise.
11951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11952         Likewise.
11953         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11954         Likewise.
11955         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11956         enum constant and macro.
11957         (PTRACE_SETSIGMASK): Likewise.
11958         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11959         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11960         (PTRACE_GETSIGMASK): Likewise.
11961         (PTRACE_SETSIGMASK): Likewise.
11962         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11963         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11964         Likewise.
11965         (PTRACE_SETSIGMASK): Likewise.
11966         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11967         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11968         (PTRACE_GETSIGMASK): Likewise.
11969         (PTRACE_SETSIGMASK): Likewise.
11970         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11972         Likewise.
11973         (PTRACE_SETSIGMASK): Likewise.
11974         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11975         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11976         Likewise.
11977         (PTRACE_SETSIGMASK): Likewise.
11978         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11979         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11980         Likewise.
11981         (PTRACE_SETSIGMASK): Likewise.
11982         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11984 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11985             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11987         [BZ #19439]
11988         * math/bits/mathcalls.h
11989         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11990         prototype.
11991         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11993 2016-01-11  Andreas Schwab  <schwab@suse.de>
11995         [BZ #19253]
11996         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11997         cache when TZDEFRULES was used.
11998         * time/tst-tzname.c: New file.
11999         * time/Makefile (test): Add tst-tzname.
12000         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12001         * timezone/Makefile (test-zones): Add $(posixrules-file).
12002         ($(testdata)/$(posixrules-file)): New rule.
12004 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12006         Fix doc quoting problems with Texinfo 5
12007         Without this change, in the info file output, Texinfo 5 quotes code
12008         in text with undirected single quotes 'like this' and generates
12009         code examples that with many PDF readers cannot be cut out of PDFs
12010         and pasted into code.
12011         * manual/libc.texinfo: Configure the libc manual like the GNU
12012         Emacs manual, by using @documentencoding and setting
12013         txicodequoteundirected and txicodequotebacktick.  This way,
12014         Texinfo 5 quotes code in text with directed single quotes ‘like
12015         this’ and produces examples that can be cut out of PDFs.  This
12016         change causes Texinfo 5 to generate info files that contain UTF-8
12017         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12018         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12020 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12022         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12023         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12024         barriers to their respective compiler built-ins.
12025         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12026         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12027         * sysdeps/powerpc/sysdep.h: Likewise.
12028         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12029         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12032 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12034         * scripts/config.guess: Revert previous shebang change.
12035         * scripts/config.sub: Likewise.
12036         * scripts/mkinstalldirs: Likewise.
12038 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12040         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12041         PPC_FEATURE2_HAS_IEEE128.
12042         * sysdeps/powerpc/dl-procinfo.c:
12043         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12045 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12047         [BZ #19415]
12048         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12049         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12050         (_dl_lookup_address): Rewrite using function resolver trampoline.
12051         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12052         two bits in address.
12054 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12056         * longlong.h: Change !__SHMEDIA__ to
12057         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12058         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12060 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12061             Joseph Myers  <joseph@codesourcery.com>
12062             Mark Shinwell  <shinwell@codesourcery.com>
12063             Andrew Stubbs  <ams@codesourcery.com>
12064             Rich Felker <dalias@libc.org>
12066         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12068 2016-01-07  Richard Henderson  <rth@redhat.com>
12070         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12072 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12074         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12075         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12076         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12077         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12078         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12080 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12081             Joseph Myers  <joseph@codesourcery.com>
12083         * timezone/private.h: Update from tzcode 2015g.
12084         * timezone/tzfile.h: Likewise.
12085         * timezone/tzselect.ksh: Likewise.
12086         * timezone/zdump.c: Likewise.
12087         * timezone/zic.c: Likewise.
12088         * timezone/ialloc.c: Remove file.
12089         * timezone/scheck.c: Likewise.
12090         * timezone/Makefile (extra-objs): Remove variable.
12091         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12092         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12093         -Wno-maybe-uninitialized.
12094         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12095         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12096         (CFLAGS-ialloc.c): Remove variable.
12097         (CFLAGS-scheck.c): Likewise.
12098         * timezone/README: Update list of files from tzcode.
12100 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12102         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12103         instead of __fxprintf when _LIBC is undefined.
12105 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12107         * catgets/test-gencat.sh: Remove space after shebang.
12108         * conform/GlibcConform.pm: Likewise.
12109         * conform/check-header-lists.sh: Likewise.
12110         * conform/conformtest.pl: Likewise.
12111         * conform/linknamespace.pl: Likewise.
12112         * conform/list-header-symbols.pl: Likewise.
12113         * debug/catchsegv.sh: Likewise.
12114         * elf/genrtldtbl.awk: Likewise.
12115         * elf/tst-pathopt.sh: Likewise.
12116         * elf/tst-rtld-load-self.sh: Likewise.
12117         * grp/tst_fgetgrent.sh: Likewise.
12118         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12119         * iconvdata/gen-8bit-gap.sh: Likewise.
12120         * iconvdata/gen-8bit.sh: Likewise.
12121         * iconvdata/run-iconv-test.sh: Likewise.
12122         * intl/tst-gettext.sh: Likewise.
12123         * intl/tst-gettext2.sh: Likewise.
12124         * intl/tst-gettext4.sh: Likewise.
12125         * intl/tst-gettext6.sh: Likewise.
12126         * intl/tst-translit.sh: Likewise.
12127         * io/ftwtest-sh: Likewise.
12128         * libio/test-freopen.sh: Likewise.
12129         * locale/gen-translit.pl: Likewise.
12130         * malloc/tst-mtrace.sh: Likewise.
12131         * manual/check-safety.sh: Likewise.
12132         * manual/libc-texinfo.sh: Likewise.
12133         * manual/tsort.awk: Likewise.
12134         * manual/xtract-typefun.awk: Likewise.
12135         * nptl/tst-cancel-wrappers.sh: Likewise.
12136         * nptl/tst-tls6.sh: Likewise.
12137         * posix/globtest.sh: Likewise.
12138         * posix/tst-getconf.sh: Likewise.
12139         * posix/wordexp-tst.sh: Likewise.
12140         * scripts/check-c++-types.sh: Likewise.
12141         * scripts/check-local-headers.sh: Likewise.
12142         * scripts/config.guess: Likewise.
12143         * scripts/config.sub: Likewise.
12144         * scripts/cpp: Likewise.
12145         * scripts/cross-test-ssh.sh: Likewise.
12146         * scripts/documented.sh: Likewise.
12147         * scripts/evaluate-test.sh: Likewise.
12148         * scripts/gen-libc-abis: Likewise.
12149         * scripts/gen-sorted.awk: Likewise.
12150         * scripts/list-fixed-bugs.py: Likewise.
12151         * scripts/merge-test-results.sh: Likewise.
12152         * scripts/mkinstalldirs: Likewise.
12153         * scripts/rellns-sh: Likewise.
12154         * scripts/test-installation.pl: Likewise.
12155         * scripts/update-copyrights: Likewise.
12156         * stdio-common/tst-printf.sh: Likewise.
12157         * stdio-common/tst-unbputc.sh: Likewise.
12158         * stdlib/tst-fmtmsg.sh: Likewise.
12159         * stdlib/tst-setcontext3.sh: Likewise.
12160         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12161         * sysdeps/unix/make-syscalls.sh: Likewise.
12163 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12165         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12166         asm stw with atomic_exchange_rel.  Add explanatory comment.
12167         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12168         Likewise.
12170 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12172         [BZ #19122]
12173         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12174         * sysdeps/generic/dl-unistd.h: New file.
12175         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12177 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12179          [BZ #19122]
12180          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12181          * sysdeps/generic/dl-mman.h: New file.
12182          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12184 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12186         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12187         trailing whitespace removed.
12188         * scripts/config.guess: Update to version 2016-01-01.
12189         * scripts/config.sub: Update to version 2016-01-01.
12190         * scripts/move-if-change: Update from gnulib.
12192 2016-01-04  Anton Blanchard  <anton@samba.org>
12194         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12195         for array indices.
12196         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12198 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12200         * NEWS: Update copyright dates.
12201         * catgets/gencat.c (print_version): Likewise.
12202         * csu/version.c (banner): Likewise.
12203         * debug/catchsegv.sh: Likewise.
12204         * debug/pcprofiledump.c (print_version): Likewise.
12205         * debug/xtrace.sh (do_version): Likewise.
12206         * elf/ldconfig.c (print_version): Likewise.
12207         * elf/ldd.bash.in: Likewise.
12208         * elf/pldd.c (print_version): Likewise.
12209         * elf/sotruss.sh: Likewise.
12210         * elf/sprof.c (print_version): Likewise.
12211         * iconv/iconv_prog.c (print_version): Likewise.
12212         * iconv/iconvconfig.c (print_version): Likewise.
12213         * locale/programs/locale.c (print_version): Likewise.
12214         * locale/programs/localedef.c (print_version): Likewise.
12215         * login/programs/pt_chown.c (print_version): Likewise.
12216         * malloc/memusage.sh (do_version): Likewise.
12217         * malloc/memusagestat.c (print_version): Likewise.
12218         * malloc/mtrace.pl: Likewise.
12219         * manual/libc.texinfo: Likewise.
12220         * nptl/version.c (banner): Likewise.
12221         * nscd/nscd.c (print_version): Likewise.
12222         * nss/getent.c (print_version): Likewise.
12223         * nss/makedb.c (print_version): Likewise.
12224         * posix/getconf.c (main): Likewise.
12225         * scripts/test-installation.pl: Likewise.
12226         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12228         * All files with FSF copyright notices: Update copyright dates
12229         using scripts/update-copyrights.
12230         * intl/plural.c: Regenerated.
12231         * locale/programs/charmap-kw.h: Likewise.
12232         * locale/programs/locfile-kw.h: Likewise.
12234 2016-01-02  Helge Deller  <deller@gmx.de>
12236         [BZ #19285]
12237         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12238         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12239         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12240         (MADV_xxK_PAGES): Remove.
12242 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12244         [BZ #15421]
12245         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12246         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12247         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12248         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12250 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12252         [BZ #19408]
12253         * sysdeps/unix/sysv/linux/personality.c: New file.
12254         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12255         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12256         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12257         (sysdep_routines): Add personality.
12258         (tests): Add tst-personality.
12259         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12261         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12262         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12263         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12264         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12265         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12266         Likewise.
12267         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12268         Likewise.
12269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12270         Likewise.
12271         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12273         Likewise.
12275 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12277         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12278         (PATH_ARM_SYSTYPE): Remove.
12279         (PATH_CPUINFO): Likewise.
12280         (IO_BASE_FOOTBRIDGE): Likewise.
12281         (IO_SHIFT_FOOTBRIDGE): Likewise.
12282         (struct platform): Likewise.
12283         (init_iosys): Remove compatibility code for 2.4 kernels.
12284         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12286 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12288         * malloc/tst-malloc-thread-fail.c: New file.
12289         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12290         (tst-malloc-thread-fail): Link against libpthread.
12292 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12294         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12295         (get_parser): New function.
12296         (main): New function.
12298 2015-12-29  Rob Wu  <rob@robwu.nl>
12300         [BZ #19369]
12301         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12303 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12305         [BZ #19270]
12306         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12308 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12310         [BZ #15421]
12311         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12313 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12315         [BZ #13690]
12316         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12317         after releasing it.
12318         (__lll_robust_unlock): Likewise.
12319         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12320         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12321         (lll_robust_unlock): Likewise.
12322         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12323         Prevent warnings in callers.
12325 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12327         * malloc/arena.c (list_lock): Update comment.
12329 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12331         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12332         __parse_hwcap_and_convert_at_platform to libc.a.
12334 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12336         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12337         platform and feature support for POWER9.
12338         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12339         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12340         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12341         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12342         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12343         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12344         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12345         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12347 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12349         Harmonize generic stdio-lock support with nptl
12351         This fixes build when _IO_funlockfile is a macro, fixes build where
12352         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12353         stack unwind.
12355         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12356         _IO_release_lock ): Use cleanup attribute on new
12357         _IO_acquire_lock_file variable instead of assuming that
12358         _IO_release_lock will be called.
12359         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12360         _IO_acquire_lock_needs_exceptions_enabled.
12361         (_IO_acquire_lock_clear_flags2): New macro.
12363 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12365         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12367 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12369         [BZ #19182]
12370         * malloc/arena.c (list_lock): Document lock ordering requirements.
12371         (free_list_lock): New lock.
12372         (ptmalloc_lock_all): Comment on free_list_lock.
12373         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12374         (detach_arena): Update comment.  free_list_lock is now needed.
12375         (_int_new_arena): Use free_list_lock around detach_arena call.
12376         Acquire arena lock after list_lock.  Add comment, including FIXME
12377         about incorrect synchronization.
12378         (get_free_list): Switch to free_list_lock.
12379         (reused_arena): Acquire free_list_lock around detach_arena call
12380         and attached threads counter update.  Add two FIXMEs about
12381         incorrect synchronization.
12382         (arena_thread_freeres): Switch to free_list_lock.
12383         * malloc/malloc.c (struct malloc_state): Update comments to
12384         mention free_list_lock.
12386 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12388         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12389         Remove functions.
12390         (sloww, sloww1): Accept argument to offset quadrant.
12391         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12392         quadrant.
12393         (__sin, __cos): Consolidate common code into new functions.
12394         (reduce_sincos_1, do_sincos_1): New functions.
12395         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12397         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12398         code to new functions.
12399         (reduce_sincos_2, do_sincos_2): New functions.
12400         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12403         common code for sincos.
12404         (__cos) [!IN_SINCOS]: Likewise.
12405         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12406         New function.
12407         (__sincos): Use it.
12409 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12411         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12412         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12413         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12415 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12417         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12420         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12421         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12422         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12423         index_Prefer_No_VZEROUPPER): New feature.
12424         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12425         Prefer_No_VZEROUPPER for Knights Landing.
12427 015-12-18  Torvald Riegel  <triegel@redhat.com>
12429         * math/atest-exp2.c (mp_exp_m1): Remove.
12431 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12433         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12434         syscalls.
12435         (__SYSCALL0): New macro.
12436         (__SYSCALL1): Likewise.
12437         (__SYSCALL2): Likewise.
12438         (__SYSCALL3): Likewise.
12439         (__SYSCALL4): Likewise.
12440         (__SYSCALL5): Likewise.
12441         (__SYSCALL6): Likewise.
12442         (__SYSCALL_CONCAT_X): Likewise.
12443         (__SYSCALL_CONCAT): Likewise.
12444         (__SYSCALL_DIST): Likewise.
12445         (__SYSCALL_CALL): Likewise.
12447 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12449         [BZ #19363]
12450         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12452 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12454         [BZ #19375]
12455         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12456         negative subnormals.
12458 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12461         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12462         (INTERNAL_SYSCALL_NCS): Use it.
12463         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12465 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12467         [BZ #19243]
12468         * malloc/arena.c (get_free_list): Remove assert and adjust
12469         reference count handling.  Add comment about reused_arena
12470         interaction.
12471         (reused_arena): Add comments abount get_free_list interaction.
12472         * malloc/tst-malloc-thread-exit.c: New file.
12473         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12474         (tst-malloc-thread-exit): Link against libpthread.
12476 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12478         [BZ #19367]
12479         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12480         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12481         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12482         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12483         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12485 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12487         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12488         Silvermont optimizations for Knights Landing.
12490 2015-12-15  Andreas Schwab  <schwab@suse.de>
12492         [BZ #17197]
12493         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12494         immediately after emitting SI.
12495         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12496         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12497         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12498         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12499         * iconvdata/bug-iconv10.c: New file.
12500         * iconvdata/Makefile (tests): Add bug-iconv10.
12501         ($(objpfx)bug-iconv10.out): New rule.
12503 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12505         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12506         aliasing violation.
12508 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12510         [BZ #18472]
12511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12512         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12513         conditionals for them.
12514         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12515         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12517         sys/kdaemon.h.
12518         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12519         compat-only syscall, obsoleted in glibc 2.23.
12520         (create_module): Likewise.
12521         (get_kernel_syms): Likewise.
12522         (query_module): Likewise.
12523         (uselib): Likewise.
12524         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12526 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12528         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12529         <linux/version.h>.
12530         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12531         conditional code.
12532         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12533         and ioshift_name initialization.
12535 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12537         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12538         Fix indentation.
12540 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12544 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12546         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12548 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12549             Jakub Wilk  <jwilk@debian.org>
12551         [BZ #19347]
12552         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12553         to change the group of the device to the tty group.
12555 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12557         Split large string section; add truncation advice
12558         * manual/examples/strncat.c: Remove.
12559         This example was misleading, as the code would have undefined
12560         behavior if "hello" was longer than SIZE.  Anyway, the manual
12561         shouldn't encourage strncpy+strncat for this sort of thing.
12562         * manual/string.texi (Copying Strings and Arrays): Split into
12563         three sections Copying Strings and Arrays, Concatenating Strings,
12564         and Truncating Strings, as this section was way too long.  All
12565         cross-referenced changed.  Add advice about string-truncation
12566         functions.  Remove misleading strncat example.
12568 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12570         * manual/nss.texi (NSS Modules Interface): Document
12571         NSS_STATUS_NOTFOUND and SUCCESS.
12573 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12575         [BZ 18568]
12576         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12577         201505L, for Unicode 8.
12579 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12581         * locale/C-translit.h: Regenerate.
12583 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12585         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12586         and U+0153.
12588 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12590         [BZ #19351]
12591         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12592         expanding log(1+z), compare z rather than its square with epsilon
12593         to determine when to avoid evaluating the expansion.
12595         [BZ #19350]
12596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12597         Increase overflow threshold.
12599         [BZ #19349]
12600         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12601         when small.
12603         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12605         New macro.
12606         [__LINUX_KERNEL_VERSION >= 0x040300]
12607         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12609         Likewise.
12610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12611         Likewise.
12612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12613         Likewise.
12614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12615         Likewise.
12616         [__LINUX_KERNEL_VERSION >= 0x040300]
12617         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12618         [__LINUX_KERNEL_VERSION >= 0x040300]
12619         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12620         [__LINUX_KERNEL_VERSION >= 0x040300]
12621         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12622         [__LINUX_KERNEL_VERSION >= 0x040300]
12623         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12624         [__LINUX_KERNEL_VERSION >= 0x040300]
12625         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12627         Likewise.
12628         [__LINUX_KERNEL_VERSION >= 0x040300]
12629         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12631         Likewise.
12632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12633         Likewise.
12634         [__LINUX_KERNEL_VERSION >= 0x040300]
12635         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12637         Likewise.
12638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12642         Likewise.
12643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12644         Likewise.
12645         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12646         Likewise.
12647         [__LINUX_KERNEL_VERSION >= 0x040300]
12648         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12650         Likewise.
12651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12652         Likewise.
12653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12654         Likewise.
12655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12656         Likewise.
12657         [__LINUX_KERNEL_VERSION >= 0x040300]
12658         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12659         [__LINUX_KERNEL_VERSION >= 0x040300]
12660         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12661         [__LINUX_KERNEL_VERSION >= 0x040300]
12662         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12663         [__LINUX_KERNEL_VERSION >= 0x040300]
12664         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12665         [__LINUX_KERNEL_VERSION >= 0x040300]
12666         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12667         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12668         Likewise.
12669         [__LINUX_KERNEL_VERSION >= 0x040300]
12670         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12672         Likewise.
12673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12674         Likewise.
12675         [__LINUX_KERNEL_VERSION >= 0x040300]
12676         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12678         Likewise.
12679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12680         Likewise.
12681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12682         (__ASSUME_SOCKET_SYSCALL): Likewise.
12683         (__ASSUME_BIND_SYSCALL): Likewise.
12684         (__ASSUME_CONNECT_SYSCALL): Likewise.
12685         (__ASSUME_LISTEN_SYSCALL): Likewise.
12686         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12687         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12688         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12689         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12690         (__ASSUME_SEND_SYSCALL): Likewise.
12691         (__ASSUME_SENDTO_SYSCALL): Likewise.
12692         (__ASSUME_RECV_SYSCALL): Likewise.
12693         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12694         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12695         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12696         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12697         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12698         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12699         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12700         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12701         Likewise.
12702         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12703         Likewise.
12704         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12705         Likewise.
12706         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12707         Likewise.
12708         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12709         Likewise.
12710         [__LINUX_KERNEL_VERSION >= 0x020625]
12711         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12712         [__LINUX_KERNEL_VERSION >= 0x020625]
12713         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12714         [__LINUX_KERNEL_VERSION >= 0x020625]
12715         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12716         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12717         Likewise.
12718         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12719         Likewise.
12720         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12721         Likewise.
12722         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12723         Likewise.
12724         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12725         Likewise.
12726         [__LINUX_KERNEL_VERSION >= 0x020625]
12727         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12728         [__LINUX_KERNEL_VERSION >= 0x020625]
12729         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12730         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12731         Likewise.
12732         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12733         Likewise.
12735 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12737         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12738         record the current if the current ABI and CPU support the FP64
12739         extension.
12740         (has-modd-spreg): Define to record the current if the current ABI and
12741         CPU support 32-bit floating point values in odd FPU registers.
12742         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12743         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12744         $(has-modd-spreg) equals yes.
12745         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12746         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12747         $(has-modd-spreg) equal yes.
12749 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12751         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12752         basename.
12754 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12756         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12757         (bench-string): ... here.
12758         (bench): Add bench-string.
12759         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12760         to *-benchset to reflect what they are.
12761         (benchset): Adjust.
12763         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12764         cos-inputs.
12766 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12768         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12769         __attribute__ ((__simd__)) for vector math function declarations.
12771 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12773         Fix typo in strncat, wcsncat manual entries
12774         * manual/string.texi (Copying and Concatenation): Fix typos in
12775         sample implementations of strncat and wcsncat, by having them use
12776         the old value of the destination length, not the new one.
12778 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12780         [BZ #16961]
12781         [BZ #16962]
12782         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12783         string on the stack for strtod.
12784         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12785         a string on the stack for strtof.
12786         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12787         constructing a string on the stack for strtold.
12788         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12789         __strtold_nan to GLIBC_PRIVATE.
12790         * math/test-nan-overflow.c: New file.
12791         * math/test-nan-payload.c: Likewise.
12792         * math/Makefile (tests): Add test-nan-overflow and
12793         test-nan-payload.
12795 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12797         Consistency about byte vs character in string.texi
12798         * manual/string.texi (String and Array Utilities):
12799         Distinguish more carefully among bytes, multibyte characters,
12800         and wide characters.  Use "byte" when talking about C 'char',
12801         to distinguish it more clearly from multibyte characters.
12802         Say "wide character" or "multibyte character" instead of
12803         "character", when a wide or multibyte character is intended.
12804         Similarly for "multibyte string" versus "string".
12805         Define these terms more carefully.
12807 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12809         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12810         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12811         Likewise.
12812         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12813         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12814         * sysdeps/sh/math_private.h: New file.
12815         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12816         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12817         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12818         long double function name.
12819         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12820         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12821         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12825         Remove __finitel, __isinfl, and __isnanl.
12826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12827         Likewise.
12828         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12830         Remove __finitel.
12831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12832         Likewise.
12833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12835 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12837         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12838         installed libmvec_nonshared.a.
12840 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12842         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12843         (sysdep_routines): Likewise.
12844         (sysdep-rtld-routines): Likewise.
12845         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12846         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12847         * sysdeps/powerpc/Versions: Added new
12848         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12849         * sysdeps/powerpc/hwcapinfo.c: New file.
12850         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12851         and parse hwcap, hwcap2 and platform number information.
12852         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12853         to store HWCAP+HWCAP2 and platform number.
12854         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12855         for HWCAP+HWCAP2 and platform number in the TCB.
12856         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12857         the HWCAP, HWCAP2 and platform number in the TCB.
12858         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12859         (TLS_INIT_TP): Included calls to add the hwcap and
12860         at_platform values in the TCB in TP initialization.
12861         (TLS_DEFINE_INIT_TP): Likewise.
12862         (THREAD_GET_HWCAP): New macro.
12863         (THREAD_SET_HWCAP): Likewise.
12864         (THREAD_GET_AT_PLATFORM): Likewise.
12865         (THREAD_SET_AT_PLATFORM): Likewise.
12866         * sysdeps/powerpc/powerpc32/dl-machine.h:
12867         (dl_platform_init): New function that calls
12868         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12869         powerpc32.
12870         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12871         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12872         this functionality, static linking case.
12873         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12874         linking case.
12875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12876         __parse_hwcap_and_convert_at_platform for the static linking case.
12877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12878         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12879         ABI list for GLIBC 2.23.
12880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12881         Likewise.
12882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12883         Likewise.
12885 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12887         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12888         * configure: Regenerate.
12889         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12890         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12892 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12894         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12895         * iconvdata/ibm933.c: Likewise.
12896         * iconvdata/ibm935.c: Likewise.
12897         * iconvdata/ibm937.c: Likewise.
12898         * iconvdata/ibm939.c: Likewise.
12900 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12902         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12903         pthread_join.
12904         * nptl/tst-cancel21.c (tf): Likewise.
12906 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12908         [BZ #19313]
12909         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12910         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12911         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12912         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12913         Likewise.
12914         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12915         Likewise.
12916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12917         Likewise.
12918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12919         Likewise.
12920         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12921         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12922         unsigned long int with __CPU_MASK_TYPE.
12924 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12926         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12928 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12930         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12931         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12932         t512.x.
12933         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12935 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12937         [BZ #19214]
12938         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12939         argument to return extended model.  Update family and model
12940         with extended family and model when family == 0x0f.
12941         (init_cpu_features): Updated.
12943 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12945         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12946         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12948         * sysdeps/mach/hurd/mmap64.c: New file.
12950 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12952         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12953         rights for its main user thread in NEWTASK.
12955 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12957         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12958         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12960 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12962         [BZ #14259]
12963         * Makeconfig: Rename localedir to complocaledir.
12964         Rename inst_localedir to inst_complocaledir.
12965         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12966         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12967         * configure.ac: Use libc_cv_complocaledir.
12968         * configure: Regenerate.
12969         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12970         -DCOMPLOCALEDIR.
12971         * locale/findlocale.c: Use COMPLOCALEDIR.
12972         * locale/loadarchive.c: Likewise.
12973         * locale/programs/locale.c: Likewise.
12974         * locale/programs/localedef.c: Likewise.
12975         * locale/programs/locarchive.c: Likewise.
12976         * localedata/Makefile: Use inst_complocaledir.
12977         * sysdeps/gnu/configure: Regenerate.
12978         * sysdeps/hppa/configure: Regenerate.
12979         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12980         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12982         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12983         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12984         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12985         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12987 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12989         [BZ #19058]
12990         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12991         AS_NEEDED.
12992         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12993         workaround.
12994         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12995         libmvec-static-only-routines): Added new file.
12996         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12998 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13000         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13001         of interrupted RPC instead of restoring it.
13003         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13004         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13005         libc_hidden_def.
13006         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13007         into initialized data instead of common. Define rtld_hidden_data_def.
13008         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13009         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13010         libc_hidden_def.
13011         (if_freenameindex): Add libc_hidden_weak.
13012         (if_nameindex): Add libc_hidden_weak.
13013         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13014         __open64.
13015         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13016         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13017         * sysdeps/mach/nanosleep.c: Include <time.h>
13018         (__nanosleep): Rename to __libc_nanosleep.
13019         (__nanosleep): Add weak_alias.
13020         (nanosleep): Update alias.
13022 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13024         * stdlib/strtod_nan.c: New file.
13025         * stdlib/strtod_nan_double.h: Likewise.
13026         * stdlib/strtod_nan_float.h: Likewise.
13027         * stdlib/strtod_nan_main.c: Likewise.
13028         * stdlib/strtod_nan_narrow.h: Likewise.
13029         * stdlib/strtod_nan_wide.h: Likewise.
13030         * stdlib/strtof_nan.c: Likewise.
13031         * stdlib/strtold_nan.c: Likewise.
13032         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13033         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13034         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13035         * wcsmbs/wcstod_nan.c: Likewise.
13036         * wcsmbs/wcstof_nan.c: Likewise.
13037         * wcsmbs/wcstold_nan.c: Likewise.
13038         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13039         strtold_nan.
13040         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13041         wcstof_nan.
13042         * include/stdlib.h (__strtof_nan): Declare and use
13043         libc_hidden_proto.
13044         (__strtod_nan): Likewise.
13045         (__strtold_nan): Likewise.
13046         (__wcstof_nan): Likewise.
13047         (__wcstod_nan): Likewise.
13048         (__wcstold_nan): Likewise.
13049         * include/wchar.h (____wcstoull_l_internal): Declare.
13050         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13051         (____strtoull_l_internal): Remove declaration.
13052         (STRTOF_NAN): Define macro.
13053         (SET_MANTISSA): Remove macro.
13054         (STRTOULL): Likewise.
13055         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13056         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13057         (STRTOF_NAN): Define macro.
13058         (SET_MANTISSA): Remove macro.
13059         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13060         (SET_MANTISSA): Remove macro.
13061         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13062         macro.
13063         (SET_MANTISSA): Remove macro.
13064         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13065         macro.
13066         (SET_MANTISSA): Remove macro.
13067         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13068         (SET_MANTISSA): Remove macro.
13069         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13070         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13071         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13073         [BZ #19266]
13074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13075         upper case and lower case letters inside NAN(), not using TOLOWER.
13076         * stdlib/tst-strtod-nan-locale-main.c: New file.
13077         * stdlib/tst-strtod-nan-locale.c: Likewise.
13078         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13079         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13080         Depend on $(gen-locales).
13081         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13082         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13083         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13084         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13085         Depend on $(gen-locales).
13086         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13088 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13090         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13092         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13094         __finitel, __isinfl, and __isnanl.
13095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13096         Likewise.
13097         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13099         __finitel.
13100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13101         Likewise.
13102         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13104 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13106         * malloc/memusage.c (me): Remove redundant getenv call.
13108 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13110         [BZ #19143]
13111         [BZ #19164]
13112         * nptl/check-cpuset.h: Remove.
13113         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13114         Remove CPU set size check.
13115         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13116         Likewise.
13117         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13118         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13119         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13120         (__pthread_setaffinity_new): Remove CPU set size check.
13121         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13122         (__kernel_cpumask_size): Remove.
13123         (__sched_setaffinity_new): Remove CPU set size check.
13124         * manual/threads.texi (Default Thread Attributes): Remove stale
13125         reference to check_cpuset_attr, determine_cpumask_size in comment.
13126         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13127         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13128         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13129         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13130         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13131         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13132         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13133         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13134         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13135         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13136         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13137         skeleton test file.
13138         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13139         tst-affinity-pid.
13141 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13143         * scripts/update-abilist.sh: New file.
13144         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13145         * Makerules (update-all-abi-%, update-all-abi)
13146         (subdir_update-all-abi): New targets.
13147         * elf/Makefile (update-all-abi): New target.
13149 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13151         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13152         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13153         (__libc_lock_define_initialized): Use it.
13154         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13155         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13156         * malloc/malloc.c (main_arena): Likewise.
13157         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13158         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13160 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13162         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13163         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13164         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13165         (PTRACE_O_MASK): Update value.
13166         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13167         New value in enum __ptrace_setoptions.
13168         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13169         (PTRACE_O_MASK): Update value.
13170         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13171         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13172         (PTRACE_O_MASK): Update value.
13173         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13174         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13175         (PTRACE_O_MASK): Update value.
13176         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13177         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13178         (PTRACE_O_MASK): Update value.
13179         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13180         New value in enum __ptrace_setoptions.
13181         (PTRACE_O_MASK): Update value.
13182         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13183         New value in enum __ptrace_setoptions.
13184         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13185         (PTRACE_O_MASK): Update value.
13187         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13188         New macro.
13189         (PACKET_AUXDATA): Likewise.
13190         (PACKET_ORIGDEV): Likewise.
13191         (PACKET_VERSION): Likewise.
13192         (PACKET_HDRLEN): Likewise.
13193         (PACKET_RESERVE): Likewise.
13194         (PACKET_TX_RING): Likewise.
13195         (PACKET_LOSS): Likewise.
13196         (PACKET_VNET_HDR): Likewise.
13197         (PACKET_TX_TIMESTAMP): Likewise.
13198         (PACKET_TIMESTAMP): Likewise.
13199         (PACKET_FANOUT): Likewise.
13200         (PACKET_TX_HAS_OFF): Likewise.
13201         (PACKET_QDISC_BYPASS): Likewise.
13202         (PACKET_ROLLOVER_STATS): Likewise.
13203         (PACKET_FANOUT_DATA): Likewise.
13204         (PACKET_MR_UNICAST): Likewise.
13206         [BZ #19242]
13207         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13208         (TOUPPER): Likewise.
13209         * stdlib/tst-strtol-locale-main.c: New file.
13210         * stdlib/tst-strtol-locale.c: Likewise.
13211         * stdlib/Makefile (tests): Add tst-strtol-locale.
13212         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13213         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13214         Depend on $(gen-locales).
13215         * wcsmbs/tst-wcstol-locale.c: New file.
13216         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13217         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13218         tr_TR.ISO-8859-9.
13219         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13220         Depend on $(gen-locales).
13222 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13224         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13225         __glibc_likely instead of __builtin_expect.  After falling back to
13226         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13227         system interface to register the code pages as occupied.
13229 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13231         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13232         [!ARM_MATH_PRIVATE_H].
13233         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13234         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13235         [!HPPA_MATH_PRIVATE_H].
13236         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13237         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13238         to [!I386_MATH_PRIVATE_H].
13239         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13240         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13241         Change guard to [!M68K_MATH_PRIVATE_H].
13242         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13243         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13244         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13245         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13246         macro.
13247         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13248         [!MIPS_MATH_PRIVATE_H].
13249         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13250         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13251         [!NIO2_MATH_PRIVATE_H].
13252         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13253         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13254         [!TILE_MATH_PRIVATE_H].
13255         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13257         [BZ #15421]
13258         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13259         initialize with 0 and define as weak alias of __signgam.
13260         * include/math.h [!_ISOMAC] (__signgam): Declare.
13261         * math/Makefile (libm-calls): Add w_lgamma_compat.
13262         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13263         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13264         test-signgam-ullong-init.
13265         (tests-static): Add test-signgam-uchar-static,
13266         test-signgam-uchar-init-static, test-signgam-uint-static,
13267         test-signgam-uint-init-static, test-signgam-ullong-static and
13268         test-signgam-ullong-init-static.
13269         (CFLAGS-test-signgam-uchar.c): New variable.
13270         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13271         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13272         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13273         (CFLAGS-test-signgam-uint.c): Likewise.
13274         (CFLAGS-test-signgam-uint-init.c): Likewise.
13275         (CFLAGS-test-signgam-uint-static.c): Likewise.
13276         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13277         (CFLAGS-test-signgam-ullong.c): Likewise.
13278         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13279         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13280         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13281         * math/Versions (libm): Add GLIBC_2.23.
13282         * math/lgamma-compat.h: New file.
13283         * math/test-signgam-main.c: Likewise.
13284         * math/test-signgam-uchar-init-static.c: Likewise.
13285         * math/test-signgam-uchar-init.c: Likewise.
13286         * math/test-signgam-uchar-static.c: Likewise.
13287         * math/test-signgam-uchar.c: Likewise.
13288         * math/test-signgam-uint-init-static.c: Likewise.
13289         * math/test-signgam-uint-init.c: Likewise.
13290         * math/test-signgam-uint-static.c: Likewise.
13291         * math/test-signgam-uint.c: Likewise.
13292         * math/test-signgam-ullong-init-static.c: Likewise.
13293         * math/test-signgam-ullong-init.c: Likewise.
13294         * math/test-signgam-ullong-static.c: Likewise.
13295         * math/test-signgam-ullong.c: Likewise.
13296         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13297         wrapper of w_lgamma_main.c.
13298         * math/w_lgamma_compat.c: New file.
13299         * math/w_lgamma_compatf.c: Likewise.
13300         * math/w_lgamma_compatl.c: Likewise.
13301         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13302         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13303         defining compatibility symbols.
13304         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13305         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13306         wrapper of w_lgammaf_main.c.
13307         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13308         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13309         defining compatibility symbols.
13310         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13311         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13312         wrapper of w_lgammal_main.c.
13313         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13314         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13315         defining compatibility symbols.
13316         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13317         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13318         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13319         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13320         <lgamma-compat.h>.
13321         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13322         (__ieee754_gamma): Define as alias.
13323         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13324         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13325         <lgamma-compat.h>.
13326         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13327         (__ieee754_gammaf): Define as alias.
13328         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13329         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13330         <lgamma-compat.h>.
13331         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13332         (__ieee754_gammal): Define as alias.
13333         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13334         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13335         <math/w_lgamma_compat.c>.
13336         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13337         Define as alias of __lgamma_compat and use in defining lgammal.
13338         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13339         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13340         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13341         (USE_AS_COMPAT): New macro.
13342         (LGAMMA_OLD_VER): Undefine and redefine.
13343         (lgammal): Do not define here.
13344         (gammal): Only define here if [GAMMA_ALIAS].
13345         * conform/linknamespace.pl (@whitelist): Remove signgam.
13346         * sysdeps/nacl/libm.abilist: Update.
13347         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13348         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13349         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13350         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13351         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13352         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13354         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13355         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13358         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13360         Likewise.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13366         Likewise.
13367         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13369         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13371         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13373         Likewise.
13374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13375         Likewise.
13376         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13380 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13382         [BZ #16364]
13383         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13384         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13386 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13388         * sysdeps/s390/fpu/bits/mathinline.h:
13389         Use __asm__ [__volatile__] instead of asm [volatile].
13390         * sysdeps/s390/abort-instr.h: Likewise.
13391         * sysdeps/s390/atomic-machine.h: Likewise.
13392         * sysdeps/s390/bits/string.h: Likewise.
13393         * sysdeps/s390/dl-tls.h: Likewise.
13394         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13395         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13396         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13397         * sysdeps/s390/fpu/fesetround.c: Likewise.
13398         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13399         * sysdeps/s390/fpu/s_fma.c: Likewise.
13400         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13401         * sysdeps/s390/memusage.h: Likewise.
13402         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13403         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13404         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13405         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13406         * sysdeps/s390/nptl/tls.h: Likewise.
13407         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13408         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13409         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13410         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13411         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13412         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13413         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13414         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13415         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13416         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13417         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13418         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13419         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13420         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13421         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13422         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13423         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13424         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13425         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13427         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13428         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13429         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13431 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13432             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13434         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13435         Add lwarx hint, and use macro for acquire instruction.
13436         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13437         Likewise.
13438         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13439         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13440         update to use new atomic macros.
13442 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13444         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13445         (__lll_trylock_elision): Fix setting of adapt_count.
13446         * sysdeps/unix/sysv/linux/powerpc/htm.h
13447         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13448         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13449         (_ABORT_SYSCALL): Renumber, and clarify definition.
13450         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13452 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13454         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13455         after system headers to prevent MIN/MAX redefinition.  Define
13456         HAVE_ALLOCA to preserve builtin alloca usage.
13458 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13461         static and don't set or restore rounding.
13462         (__cos)[IN_SINCOS]: Likewise.
13463         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13464         (__sincos): Set and restore rounding mode.  Remove check for infinite
13465         or NaN input.
13467         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13469         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13470         as used.
13472 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13474         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13476 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13478         * config.make.in (have-glob-dat-reloc): New.
13479         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13480         target supports GLOB_DAT relocaton. AC_SUBST.
13481         * configure: Regenerated.
13482         * elf/Makefile (tests): Add tst-prelink.
13483         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13484         (tst-prelink-ENV): New.
13485         ($(objpfx)tst-prelink-conflict.out): Likewise.
13486         ($(objpfx)tst-prelink-cmp.out): Likewise.
13487         * sysdeps/x86/tst-prelink.c: Moved to ...
13488         * elf/tst-prelink.c: Here.
13489         * sysdeps/x86/tst-prelink.exp: Moved to ...
13490         * elf/tst-prelink.exp: Here.
13491         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13492         (tst-prelink-ENV): Removed.
13493         ($(objpfx)tst-prelink-conflict.out): Likewise.
13494         ($(objpfx)tst-prelink-cmp.out): Likewise.
13495         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13497 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13499         [BZ #14551]
13500         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13501         (__mpn_construct_long_double): If high part overflows to infinity,
13502         set errno and recompute overflowed result of the correct sign.
13503         * sysdeps/ieee754/ldbl-128ibm/Makefile
13504         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13505         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13506         $(libm).
13507         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13509 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13511         [BZ #15479]
13512         [BZ #19238]
13513         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13514         floating-point state after first operation on input.  Restore full
13515         state rather than just rounding mode.
13516         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13517         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13518         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13520         [BZ #19235]
13521         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13522         add 0.5 to integer arguments.
13523         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13524         Likewise.
13525         (.LC2): New object.
13527 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13529         * scripts/pylintrc (reports): Set to no.
13531 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13533         * elf/dl-load.c (open_verify): Take new argument FD.
13534         Skip __open call if passed FD is not -1.
13535         (_dl_map_object, open_path): Update callers.
13536         * elf/dl-sysdep-open.h: New file.
13537         * elf/dl-load.c: Include it.
13538         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13539         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13540         * sysdeps/nacl/dl-sysdep-open.h: New file.
13541         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13542         from libc to rtld.
13544 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13546         [BZ #19228]
13547         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13548         and restore full floating-point state.
13549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13550         Likewise.
13551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13552         Likewise.
13553         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13554         Likewise.
13555         * math/test-nearbyint-except-2.c: New file.
13556         * math/Makefile (tests): Add test-nearbyint-except-2.
13558 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13560         [BZ #19178]
13561         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13562         (tst-prelink-ENV): New.
13563         ($(objpfx)tst-prelink-conflict.out): Likewise.
13564         ($(objpfx)tst-prelink-cmp.out): Likewise.
13565         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13566         * sysdeps/x86/tst-prelink.c: New file.
13567         * sysdeps/x86/tst-prelink.exp: Likewise.
13569 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13571         * math/auto-libm-test-in: Add another test of pow.
13572         * math/auto-libm-test-out: Regenerated.
13573         * math/libm-test.inc (pow_test_data): Add another test.
13575 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13577         [BZ #19219]
13578         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13579         weak_alias to nearbyintl.
13581 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13583         * sysdeps/aarch64/bits/string.h: New file.
13584         (_STRING_ARCH_unaligned): Define.
13586 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13588         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13589         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13590         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13591         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13594 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13596         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13597         for original name of the DSO.  Add it to the name list of the DSO
13598         if it is actually given.
13599         (_dl_map_object): Keep track of whether an audit module rewrote
13600         the file name.  If yes, pass the original name to
13601         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13602         debugging is enabled, log the change of the file name.
13603         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13604         _dl_map_object_from_fd.
13605         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13606         * elf/tst-audit11.c: New file
13607         * elf/tst-auditmod11.c: New file.
13608         * elf/tst-audit11mod1.c: New file.
13609         * elf/tst-audit11mod2.c: New file.
13610         * elf/tst-audit11mod2.map: New file.
13611         * elf/tst-audit12.c: New file
13612         * elf/tst-auditmod12.c: New file.
13613         * elf/tst-audit12mod1.c: New file.
13614         * elf/tst-audit12mod2.c: New file.
13615         * elf/tst-audit12mod2.map: New file.
13616         * elf/tst-audit12mod3.c: New file.
13618 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13620         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13621         Don't create weak aliases,
13622         because versioned symbols are created later.
13623         * sysdeps/s390/s390-32/setjmp.S
13624         (setjmp, _setjmp): Remove weak and rename to an unique name
13625         in SHARED case due to existing versioned symbols.
13626         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13627         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13628         (getcontext): Create weak alias only in non SHARED case.
13629         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13631 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13633         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13634         (__ASSUME_*_SYSCALL) Define new macros.
13635         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13636         Remove socketcall syscalls.
13637         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13638         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13639         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13640         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13641         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13642         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13644 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13646         [BZ #12926]
13647         Terminate process on invalid netlink response.
13648         * sysdeps/unix/sysv/linux/netlinkaccess.h
13649         (__netlink_assert_response): Declare.
13650         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13651         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13652         (sysdep_routines): Add netlink_assert_response.
13653         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13654         __netlink_assert_response.
13655         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13656         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13657         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13658         __netlink_assert_response.
13660 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13662         [BZ #19178]
13663         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13664         (RTYPE_CLASS_PLT): Likewise.
13665         (RTYPE_CLASS_COPY): Likewise.
13666         (RTYPE_CLASS_TLS): Likewise.
13667         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13668         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13669         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13670         DL_DEBUG_PRELINK.
13672 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13674         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13675         calls with argument -0.5.
13676         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13678         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13679         (libc_cv_z_nodlopen): Likewise.
13680         (libc_cv_z_initfirst): Likewise.
13681         * configure: Regenerated.
13683 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13685         Simplify abilist format to be line-based.
13686         * scripts/abilist.awk: Collect descriptors in the descs variable.
13687         (emit): Write descs variable and sort it
13688         externally, with sort.
13689         * sysdeps/**/*.abilist: Convert to new format.
13691 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13693         [BZ #11460]
13694         * io/Makefile (routines): Add fts64.
13695         (tests): Add tst-fts and tst-fts-lfs.
13696         (CFLAGS-fts64.c): New.
13697         * io/Versions (GLIBC_2.23): New.
13698         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13699         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13700         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13701         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13702         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13703         (FTSENT64): Likewise.
13704         (fts64_children): Likewise.
13705         (fts64_close): Likewise.
13706         (fts64_open): Likewise.
13707         (fts64_read): Likewise.
13708         (fts64_set): Likewise.
13709         * io/fts64.c: New file.
13710         * io/tst-fts.c: New test.
13711         * io/tst-fts-lfs.c: Likewise.
13712         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13713         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13714         fts64_set.
13715         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13729         Likewise.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13731         Likewise.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13735         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13736         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13738         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13744         * sysdeps/wordsize-64/fts.c: New file.
13745         * sysdeps/wordsize-64/fts64.c: Likewise.
13746         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13747         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13748         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13749         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13751 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13753         * math/libm-test.inc (NON_FINITE): New macro.
13754         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13755         * math/gen-libm-test.pl (show_exceptions): Add argument
13756         $non_finite.
13757         (parse_args): Update call to show_exceptions.
13758         * math/test-math-finite.h: New file.
13759         * math/test-math-no-finite.h: Likewise.
13760         * math/test-double-finite.c: Likewise.
13761         * math/test-float-finite.c: Likewise.
13762         * math/test-ldouble-finite.c: Likewise.
13763         * math/test-double.c: Include "test-math-no-finite.h".
13764         * math/test-float.c: Include "test-math-no-finite.h".
13765         * math/test-ldouble.c: Include "test-math-no-finite.h".
13766         * math/test-math-inline.h (TEST_FINITE): New macro.
13767         * math/test-math-vector.h (TEST_FINITE): Likewise.
13768         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13769         (libm-tests): Add test-float-finite and test-double-finite.
13770         ($(objpfx)test-float-finite.o): New dependency on
13771         $(objpfx)libm-test.stmp.
13772         ($(objpfx)test-double-finite.o): Likewise.
13773         ($(objpfx)test-ldouble-finite.o): Likewise.
13774         (libm-test-no-inline-cflags): New variable.
13775         (libm-test-finite-cflags): Likewise.
13776         (CFLAGS-test-float-finite.c): Likewise.
13777         (CFLAGS-test-double-finite.c): Likewise.
13778         (CFLAGS-test-ldouble-finite.c): Likewise.
13779         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13780         (CFLAGS-test-double.c): Likewise.
13781         (CFLAGS-test-ldouble.c): Likewise.
13783 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13785         * io/fcntl.c (__fcntl): Add ... to prototype.
13786         * misc/ioctl.c (__ioctl): Likewise.
13787         * misc/syscall.c (syscall): Likewise.
13789 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13791         * scripts/list-fixed-bugs.py: New file.
13793         [BZ #19213]
13794         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13795         returned for argument 1.
13796         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13797         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13798         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13799         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13800         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13801         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13803         [BZ #19211]
13804         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13805         __USE_XOPEN], not if [!__USE_ISOC99].
13806         (lgammaf): Likewise.
13807         (lgammal): Likewise.
13808         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13809         (gammaf): Likewise.
13810         (gammal): Likewise.
13811         * math/test-signgam-finite-c11.c: New file.
13812         * math/test-signgam-finite-c99.c: Likewise.
13813         * math/test-signgam-finite.c: Likewise.
13814         * math/Makefile (tests): Add test-signgam-finite,
13815         test-signgam-finite-c99 and test-signgam-finite-c11.
13816         (CFLAGS-test-signgam-finite.c): New variable.
13817         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13818         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13820         [BZ #19212]
13821         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13822         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13823         500].
13824         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13825         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13826         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13827         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13828         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13829         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13830         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13831         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13832         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13833         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13835         [BZ #19209]
13836         * math/bits/math-finite.h (ldexp): Remove declaration.
13837         (ldexpf): Likewise.
13838         (ldexpl): Likewise.
13840         [BZ #19205]
13841         * math/bits/math-finite.h (acosf): Condition declaration on
13842         [__USE_ISOC99].
13843         (acosl): Likewise.
13844         (acoshf): Likewise.
13845         (acoshl): Likewise.
13846         (asinf): Likewise.
13847         (asinl): Likewise.
13848         (atan2f): Likewise.
13849         (atan2l): Likewise.
13850         (atanhf): Likewise.
13851         (atanhl): Likewise.
13852         (coshf): Likewise.
13853         (coshl): Likewise.
13854         (expf): Likewise.
13855         (expl): Likewise.
13856         (fmodf): Likewise.
13857         (fmodl): Likewise.
13858         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13859         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13860         (j0l): Likewise.
13861         (y0f): Likewise.
13862         (y0l): Likewise.
13863         (j1f): Likewise.
13864         (j1l): Likewise.
13865         (y1f): Likewise.
13866         (y1l): Likewise.
13867         (jnf): Likewise.
13868         (jnl): Likewise.
13869         (ynf): Likewise.
13870         (ynl): Likewise.
13871         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13872         (lgammal_r): Likewise.
13873         (__lgamma_r_finite): New declaration.
13874         (__lgammaf_r_finite): Likewise.
13875         (__lgammal_r_finite): Likewise.
13876         (lgamma): Use __lgamma_r_finite.
13877         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13878         __lgammaf_r_finite.
13879         (lgammal): Condition definition on [__USE_ISOC99].  Use
13880         __lgammal_r_finite.
13881         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13882         __lgamma_r_finite.
13883         (gammaf): Condition definition on [__USE_ISOC99].  Use
13884         __lgammaf_r_finite.
13885         (gammal): Condition definition on [__USE_ISOC99].  Use
13886         __lgammal_r_finite.
13887         (logf): Condition declaration on [__USE_ISOC99].
13888         (logl): Likewise.
13889         (log10f): Likewise.
13890         (log10l): Likewise.
13891         (ldexpf): Likewise.
13892         (ldexpl): Likewise.
13893         (powf): Likewise.
13894         (powl): Likewise.
13895         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13896         __USE_ISOC99].
13897         (remainderf): Condition declaration on [__USE_ISOC99].
13898         (remainderl): Likewise.
13899         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13900         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13901         (scalbl): Likewise.
13902         (sinhf): Condition declaration on [__USE_ISOC99].
13903         (sinhl): Likewise.
13904         (sqrtf): Likewise.
13905         (sqrtl): Likewise.
13907 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13909         * sysdeps/arm/atomic-machine.h
13910         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13911         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13912         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13913         Remove conditional code.
13914         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13915         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13916         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13917         Change conditional to [__ASSEMBLER__].
13918         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13919         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13920         [!__ASSEMBLER__].
13921         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13922         code.
13923         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13924         conditional macro definitions.
13925         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13926         (__arch_compare_and_exchange_val_16_acq): Likewise.
13927         (__arch_compare_and_exchange_val_32_acq): Likewise.
13928         (atomic_exchange_and_add): Likewise.
13929         (atomic_add): Likewise.
13930         (atomic_add_negative): Likewise.
13931         (atomic_add_zero): Likewise.
13932         (atomic_bit_set): Likewise.
13933         (atomic_bit_test_set): Likewise.
13934         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13935         code unconditional.
13936         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13938         * math/test-math-errno.h: New file.
13939         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13940         empty.
13941         (TEST_ERRNO): New macro.
13942         (TEST_EXCEPTIONS): Likewise.
13943         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13944         (TEST_EXCEPTIONS): Likewise.
13945         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13946         * math/test-double.c: Include "test-math-errno.h".
13947         * math/test-float.c: Likewise.
13948         * math/test-ldouble.c: Likewise.
13949         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13950         code unconditional.
13951         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13952         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13953         unconditional.
13954         (test_errno): Only run code if TEST_ERRNO.
13955         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13957 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13959         * nptl/tst-once5.cc: Remove attribution.
13961 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13963         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13964         sqrt, tan, tanh, y0, y1 and yn.
13965         * math/auto-libm-test-out: Regenerated.
13966         * math/libm-test.inc (scalb_test_data): Add more tests.
13967         (scalbn_test_data): Likewise.
13968         (scalbln_test_data): Likewise.
13969         (signbit_test_data): Likewise.
13970         (sin_test_data): Likewise.
13971         (sincos_test_data): Likewise.
13972         (sinh_test_data): Likewise.
13973         (sqrt_test_data): Likewise.
13974         (tan_test_data): Likewise.
13975         (tanh_test_data): Likewise.
13976         (tgamma_test_data): Likewise.
13977         (y0_test_data): Likewise.
13978         (y1_test_data): Likewise.
13979         (yn_test_data): Likewise.
13980         (significand_test_data): Likewise.
13981         * sysdeps/i386/fpu/libm-test-ulps: Update.
13983 2015-11-03  David Kastrup  <dak@gnu.org>
13985         [BZ #18604]
13986         * assert/assert.h (assert): Don't macro-expand failed assertion
13987         expression in error message.
13988         * malloc/malloc.c (assert): Likewise.
13990 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13992         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13993         test.
13994         * configure: Regenerated.
13996 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13998         * math/libm-test.inc (modf_test_data): Add more tests.
13999         (nearbyint_test_data): Likewise.
14000         (nextafter_test_data): Likewise.
14001         (nexttoward_test_data): Likewise.
14002         (pow_test_data): Likewise.
14003         (remainder_test_data): Likewise.
14004         (remquo_test_data): Likewise.
14005         (rint_test_data): Likewise.
14007         [BZ #19201]
14008         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14009         Check for zero remainder in case of large exponents and ensure
14010         correct sign of result in that case.
14011         * math/libm-test.inc (remainder_test_data): Add more tests.
14013         [BZ #6799]
14014         * math/s_nextafter.c: Include <errno.h>.
14015         (__nextafter): Set errno on overflow and underflow.
14016         * math/s_nexttowardf.c: Include <errno.h>.
14017         (__nexttowardf): Set errno on overflow and underflow.
14018         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14019         (__nextafterl): Set errno on overflow and underflow.
14020         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14021         (__nexttoward): Set errno on overflow and underflow.
14022         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14023         (__nexttowardf): Set errno on overflow and underflow.
14024         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14025         (__nextafterf): Set errno on overflow and underflow.
14026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14027         (__nextafterl): Set errno on overflow and underflow.
14028         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14029         (__nexttoward): Set errno on overflow and underflow.
14030         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14031         (__nexttowardf): Set errno on overflow and underflow.
14032         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14033         (__nextafterl): Set errno on overflow and underflow.
14034         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14035         (__nexttoward): Set errno on overflow and underflow.
14036         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14037         (__nexttowardf): Set errno on overflow and underflow.
14038         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14039         (__nexttoward): Set errno on overflow and underflow.
14040         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14041         (__nexttowardf): Set errno on overflow and underflow.
14042         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14043         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14044         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14045         (__nextafterl): Set errno on overflow and underflow.
14046         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14047         setting to be missing on overflow.  Add more tests.
14048         (nexttoward_test_data): Likewise.
14050         * configure.ac (libc_cv_initfini_array): Remove configure test.
14051         * configure: Regenerated.
14053 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14055         [BZ #19189]
14056         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14057         non-finite argument handle arguments with negative sign.
14059         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14060         result from infinite argument.
14061         (j1_test_data): Likewise.
14062         (jn_test_data): Likewise.
14063         (y0_test_data): Likewise.
14064         (y1_test_data): Likewise.
14065         (yn_test_data): Likewise.
14067         [BZ #16171]
14068         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14069         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14070         * math/w_remainderf.c (dremf): Define as weak alias of
14071         __remainderf.
14072         * math/w_remainderl.c (dreml): Define as weak alias of
14073         __remainderl.
14074         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14075         __remainder.
14076         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14077         __remainderf.
14078         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14079         __remainderl.
14080         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14081         weak alias of remainderl.
14082         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14083         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14084         alias of __remainder.
14085         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14086         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14087         strong alias of __remainderl.
14088         (dreml): Use long_double_symbol.
14089         * math/Makefile (libm-calls): Remove w_drem.
14090         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14091         (CFLAGS-nldbl-drem.c): Remove variable.
14092         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14093         * math/w_drem.c: Remove file.
14094         * math/w_dremf.c: Likewise.
14095         * math/w_dreml.c: Likewise.
14096         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14097         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14098         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14100         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14101         * sysdeps/i386/configure: Regenerated.
14102         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14103         * sysdeps/x86_64/configure: Regenerated.
14105         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14106         test.
14107         (libc_cv_visibility_attribute): Likewise.
14108         (libc_cv_protected_data): Test unconditionally.
14109         (libc_cv_broken_visibility_attribute): Remove configure test.
14110         (libc_cv_have_sdata_section): Test unconditionally.
14111         * configure: Regenerated.
14113         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14114         * include/scratch_buffer.h: Include <stddef.h> instead of
14115         <libc-internal.h>.
14116         (struct scratch_buffer): Use max_align_t instead of
14117         libc_max_align_t.
14119 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14121         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14122         instead of extend_alloca.  Change control flow to avoid a goto.
14123         Remove assert which is trivially always true.
14125 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14127         [BZ #16068]
14128         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14129         (FE_ALL_EXCEPT_X86): New macro.
14130         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14131         FE_ALL_EXCEPT.  Ensure precision control is included in
14132         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14133         handle "denormal operand exception" and clear FZ and DAZ bits.
14134         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14135         (FE_ALL_EXCEPT_X86): New macro.
14136         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14137         FE_ALL_EXCEPT.  Ensure precision control is included in
14138         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14139         handle "denormal operand exception" and clear FZ and DAZ bits.
14140         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14141         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14142         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14143         test-fenv-x87 and test-fenv-sse-2.
14144         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14146         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14147         * math/test-double.h (BUILD_COMPLEX): New macro.
14148         * math/test-float.h (BUILD_COMPLEX): Likewise.
14149         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14151         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14152         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14153         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14155         instead of DBL_DENORM_MIN in comment.
14156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14157         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14158         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14159         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14161         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14163 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14165         [BZ# 19048]
14166         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14167         attached_threads member.
14168         (main_arena): Initialize attached_threads.
14169         * malloc/arena.c (list_lock): Update comment.
14170         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14171         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14172         (deattach_arena): New function.
14173         (_int_new_arena): Initialize arena reference count and deattach
14174         replaced arena.
14175         (get_free_list, reused_arena): Update reference count and deattach
14176         replaced arena.
14177         (arena_thread_freeres): Update arena reference count and only put
14178         unreferenced arenas on the free list.
14180 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14182         [BZ #19181]
14183         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14184         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14185         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14186         * math/test-fenv-clear-main.c: New file.
14187         * math/test-fenv-clear.c: Likewise.
14188         * math/Makefile (tests): Add test-fenv-clear.
14189         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14190         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14191         test-fenv-clear-sse.
14192         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14194         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14195         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14196         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14198 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14200         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14201         static libc.
14203 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14205         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14206         test.
14207         * sysdeps/i386/configure: Regenerated.
14208         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14209         test.
14210         * sysdeps/x86_64/configure: Regenerated.
14211         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14213         memset-avx2 unconditionally instead of conditionally on
14214         [$(config-cflags-avx2) = yes].
14215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14216         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14217         unconditional.
14218         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14219         * sysdeps/x86_64/multiarch/memset_chk.S
14220         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14221         to [IS_IN (libc) && SHARED].
14223 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14225         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14226         configure test.
14227         * sysdeps/arm/configure: Regenerated.
14228         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14229         Define variable if not already defined.
14231         [BZ #17404]
14232         * sysdeps/mips/atomic-machine.h
14233         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14234         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14235         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14237         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14238         unconditional.
14239         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14240         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14241         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14242         unconditional.
14243         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14244         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14245         unconditional.
14246         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14247         * stdlib/setenv.c
14248         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14249         code unconditional.
14250         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14251         Remove conditional code.
14252         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14253         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14254         unconditional.
14255         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14256         code.
14257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14258         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14259         unconditional.
14260         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14261         code.
14262         * sysdeps/ieee754/ldbl-128/k_tanl.c
14263         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14264         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14266         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14267         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14268         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14269         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14270         unconditional.
14271         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14272         code.
14273         * sysdeps/ieee754/ldbl-96/k_tanl.c
14274         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14275         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14277         * nptl/tst-initializers1-c11.c: New file.
14278         * nptl/tst-initializers1-gnu11.c: Likewise.
14279         * nptl/Makefile (tests): Add these new tests.
14280         (CFLAGS-tst-initializers1-c11.c): New variable.
14281         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14283         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14284         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14285         instead of -std=gnu99.
14286         * configure.ac (systemtap): Test with -std=gnu11 instead of
14287         -std=gnu99.
14288         * configure: Regenerated.
14289         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14290         in compilation command in comment.
14292         * sysdeps/nptl/configure.ac: Remove file.
14293         * sysdeps/nptl/configure: Remove generated file.
14294         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14295         * configure: Regenerated.
14296         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14297         * config.make.in (have-forced-unwind): Remove variable.
14298         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14299         unconditional.
14300         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14301         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14302         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14303         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14304         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14305         unconditional.
14307 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14309         [BZ #19174]
14310         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14311         .skip_lock_out_of_tbegin_retries.
14312         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14313         (__lll_lock_elision): Likewise, and respect a value of
14314         try_tbegin <= 0.
14316 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14318         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14319         statement.
14321 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14323         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14324         variable.
14325         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14326         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14328         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14329         of -std=c1x -D_ISOC11_SOURCE.
14331         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14332         * configure: Regenerated.
14333         * manual/install.texi (Tools for Compilation): Document
14334         requirement for GCC 4.7 or later.
14335         * INSTALL: Regenerated.
14337 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14339         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14340         on CNT to a conditional jump to 'puntdata'.
14342 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14344         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14345         (libc_cv_gcc_tls_model_attr): Likewise.
14346         * configure: Regenerated.
14348         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14349         * configure: Regenerated.
14350         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14352 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14354         * configure.ac (old_glibc_headers): Remove configure test.
14355         * configure: Regenerated.
14356         * config.make.in (old-glibc-headers): Remove variable.
14357         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14358         (install): Remove dependency on remove-old-headers.
14359         (headers2_0): Remove variable.
14360         (remove-old-headers): Remove rule.
14362         * configure.ac (libc_cv_dot_text): Remove configure test.
14363         (libc_cv_asm_set_directive): Use .text instead of
14364         ${libc_cv_dot_text} in configure test.
14365         * configure: Regenerated.
14367 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14369         [BZ #19168]
14370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14372 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14374         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14375         not support static linking.
14376         * configure: Regenerate.
14378 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14380         * math/libm-test.inc (check_float_internal): Do not special-case
14381         errors up to 0.5 ulp.
14383         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14384         log2.
14385         * math/auto-libm-test-out: Regenerated.
14386         * math/libm-test.inc (MAX_EXP): New macro.
14387         (ilogb_test_data): Add more tests.
14388         (isfinite_test_data): Likewise.
14389         (isgreater_test_data): Likewise.
14390         (isgreaterequal_test_data): Likewise.
14391         (isinf_test_data): Likewise.
14392         (isless_test_data): Likewise.
14393         (islessequal_test_data): Likewise.
14394         (islessgreater_test_data): Likewise.
14395         (isnan_test_data): Likewise.
14396         (isnormal_test_data): Likewise.
14397         (issignaling_test_data): Likewise.
14398         (isunordered_test_data): Likewise.
14399         (j0_test_data): Likewise.
14400         (j1_test_data): Likewise.
14401         (jn_test_data): Likewise.
14402         (lgamma_test_data): Likewise.
14403         (log_test_data): Likewise.
14404         (log10_test_data): Likewise.
14405         (log1p_test_data): Likewise.
14406         (log2_test_data): Likewise.
14407         (logb_test_data): Likewise.
14408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14410         [BZ #18611]
14411         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14412         avoid excess range and precision on underflow.
14413         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14414         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14415         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14417         underflow.
14418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14420         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14422         * math/auto-libm-test-in: Do not allow missing errno setting for
14423         tests of j1 and jn.
14424         * math/auto-libm-test-out: Regenerated.
14426 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14428         [BZ #15491]
14429         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14430         floating-point environment instead of clearing all exceptions.
14431         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14432         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14433         merging in "invalid" exceptions from frndint.
14434         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14435         * math/test-nearbyint-except.c: New file.
14436         * math/Makefile (tests): Add test-nearbyint-except.
14438 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14440         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14442         * sysdeps/tile/libm-test-ulps: Regenerated.
14444 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14447         (__NR_sync_file_range2): Assume it is always defined.
14448         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14449         (__NR_sync_file_range): Assume it is always defined.
14451 2015-10-22  Andreas Schwab  <schwab@suse.de>
14453         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14454         INTERNAL_SYSCALL_ERRNO.
14455         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14456         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14457         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14458         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14459         Likewise.
14460         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14462 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14464         * io/tst-fcntl.c (fd): New static variable.
14465         (do_prepare): Open temporary file here....
14466         (do_test): ...not here.
14468         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14470 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14472         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14473         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14474         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14475         Moved before "#ifdef __ASSEMBLER__".
14477 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14479         [BZ #19156]
14480         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14481         arguments very close to 0.
14483 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14485         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14486         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14488 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14490         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14491         New.  Defined for GCC 5 and above when not compiling for
14492         profiling.
14493         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14495         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14496         Renamed to ...
14497         (CFLAGS-epoll_pwait.o): This.
14498         (CFLAGS-mmap.c): Renamed to ...
14499         (CFLAGS-mmap.o): This.
14500         (CFLAGS-mmap64.c): Renamed to ...
14501         (CFLAGS-mmap64.o): This.
14502         (CFLAGS-epoll_pwait.os): New.
14503         (CFLAGS-mmap.os): Likewise.
14504         (CFLAGS-mmap64.os): Likewise.
14505         (CFLAGS-semtimedop.os): Likewise.
14506         (CFLAGS-semtimedop.c): Renamed to ...
14507         (CFLAGS-semtimedop.o): This.
14509 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14511         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14512         warning message.
14514 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14516         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14517         * Makefile ($(objpfx)c++-types-check.out): Filter out
14518         $(+gccwarn-c) instead of -Wstrict-prototypes.
14520         * io/fts.c (fts_open): Convert to prototype-style function
14521         definition.
14522         * malloc/mcheck.c (mcheck): Likewise.
14523         (mcheck_pedantic): Likewise.
14524         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14525         internal_function.
14526         (re_search_internal): Likewise.
14527         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14528         prototype-style function definition.
14529         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14530         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14531         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14532         (xdr_utmpptr): Likewise.
14533         (xdr_utmparr): Likewise.
14534         (xdr_utmpidle): Likewise.
14535         (xdr_utmpidleptr): Likewise.
14536         (xdr_utmpidlearr): Likewise.
14538         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14539         log, log10 and log2.
14540         * math/auto-libm-test-out: Regenerated.
14541         * math/libm-test.inc (fmod_test_data): Add more tests.
14542         (fpclassify_test_data): Likewise.
14543         (frexp_test_data): Likewise.
14544         (hypot_test_data): Likewise.
14545         (ilogb_test_data): Likewise.
14547 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14549         * debug/fortify_fail.c (__fortify_fail): Convert to
14550         prototype-style function definition.  Use internal_function.
14551         * libio/genops.c (save_for_backup): Convert to prototype-style
14552         function definition.
14553         * libio/wgenops.c (save_for_wbackup): Likewise.
14554         * login/grantpt.c (grantpt): Likewise.
14555         * login/ptsname.c (ptsname): Likewise.
14556         (__ptsname_r): Likewise.
14557         * login/unlockpt.c (unlockpt): Likewise.
14558         * mach/msgserver.c (__mach_msg_server): Likewise.
14559         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14560         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14561         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14562         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14563         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14564         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14565         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14566         Likewise.
14567         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14568         internal_function.
14569         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14570         prototype-style function definition.
14571         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14572         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14573         (__pthread_create_2_0): Likewise.
14574         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14575         * nptl/register-atfork.c (__register_atfork): Likewise.
14576         * posix/glob.c (glob): Likewise.
14577         * posix/regcomp.c (re_comp): Likewise.
14578         * posix/regexec.c (re_exec): Likewise.
14579         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14580         [!__STDC__]: Remove conditional code.
14581         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14582         [!__STDC__]: Remove conditional code.
14583         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14584         [!__STDC__]: Remove conditional code.
14585         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14586         [!__STDC__]: Remove conditional code.
14587         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14588         [!__STDC__]: Remove conditional code.
14589         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14590         [!__STDC__]: Remove conditional code.
14591         * stdlib/mul.c [__STDC__]: Make code unconditional.
14592         [!__STDC__]: Remove conditional code.
14593         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14594         [!__STDC__]: Remove conditional code.
14595         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14596         [!__STDC__]: Remove conditional code.
14597         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14598         function definition.
14599         (STRTOF): Likewise.
14600         * stdlib/strtod_l.c (__STRTOF): Likewise.
14601         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14602         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14603         (__strtol_l): Likewise.
14604         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14605         [!__STDC__]: Remove conditional code.
14606         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14607         definition.
14608         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14609         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14610         type.
14611         (__strcasecmp): Convert to prototype-style function definition.
14612         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14613         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14614         type.
14615         (__strncasecmp): Convert to prototype-style function definition.
14616         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14617         * sunrpc/xdr.c (xdr_union): Likewise.
14618         * sunrpc/xdr_array.c (xdr_array): Likewise.
14619         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14620         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14621         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14622         Likewise.
14623         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14624         Likewise.
14625         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14626         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14627         Likewise.
14628         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14629         (LOCALE_PARAM_PROTO): Likewise.
14630         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14631         argument type.
14632         (ut_argument_spec): Remove macro.
14633         (ut_argument_spec_iso): Rename to ut_argument_spec.
14634         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14635         prototype-style function definition.
14636         (memcpy_uppcase): Likewise.
14637         (__strftime_internal): Likewise.
14638         (my_strftime): Likewise.
14639         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14640         (LOCALE_PARAM_DECL): Likewise.
14641         [_LIBC] (LOCALE_PARAM): Include argument type.
14642         (__strptime_internal): Convert to prototype-style function
14643         definition.
14644         (strptime): Likewise.
14645         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14646         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14647         type.
14648         (__wcscasecmp): Convert to prototype-style function definition.
14649         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14650         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14651         type.
14652         (__wcsncasecmp): Convert to prototype-style function definition.
14654         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14655         function definition.
14656         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14657         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14658         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14659         * elf/dl-minimal.c (_itoa): Likewise.
14660         * hurd/hurdmalloc.c (malloc): Likewise.
14661         (free): Likewise.
14662         (realloc): Likewise.
14663         * inet/inet6_option.c (inet6_option_space): Likewise.
14664         (inet6_option_init): Likewise.
14665         (inet6_option_append): Likewise.
14666         (inet6_option_alloc): Likewise.
14667         (inet6_option_next): Likewise.
14668         (inet6_option_find): Likewise.
14669         * io/ftw.c (FTW_NAME): Likewise.
14670         (NFTW_NAME): Likewise.
14671         (NFTW_NEW_NAME): Likewise.
14672         (NFTW_OLD_NAME): Likewise.
14673         * libio/iofwide.c (_IO_fwide): Likewise.
14674         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14675         (_IO_str_init_static): Likewise.
14676         (_IO_str_init_readonly): Likewise.
14677         (_IO_str_overflow): Likewise.
14678         (_IO_str_underflow): Likewise.
14679         (_IO_str_count): Likewise.
14680         (_IO_str_seekoff): Likewise.
14681         (_IO_str_pbackfail): Likewise.
14682         (_IO_str_finish): Likewise.
14683         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14684         (_IO_wstr_overflow): Likewise.
14685         (_IO_wstr_underflow): Likewise.
14686         (_IO_wstr_count): Likewise.
14687         (_IO_wstr_seekoff): Likewise.
14688         (_IO_wstr_pbackfail): Likewise.
14689         (_IO_wstr_finish): Likewise.
14690         * locale/programs/localedef.c (normalize_codeset): Likewise.
14691         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14692         (add_locales_to_archive): Likewise.
14693         (delete_locales_from_archive): Likewise.
14694         * malloc/malloc.c (__libc_mallinfo): Likewise.
14695         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14696         * misc/tsearch.c (__tfind): Likewise.
14697         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14698         * nptl/pthread_attr_getdetachstate.c
14699         (__pthread_attr_getdetachstate): Likewise.
14700         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14701         Likewise.
14702         * nptl/pthread_attr_getinheritsched.c
14703         (__pthread_attr_getinheritsched): Likewise.
14704         * nptl/pthread_attr_getschedparam.c
14705         (__pthread_attr_getschedparam): Likewise.
14706         * nptl/pthread_attr_getschedpolicy.c
14707         (__pthread_attr_getschedpolicy): Likewise.
14708         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14709         Likewise.
14710         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14711         Likewise.
14712         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14713         Likewise.
14714         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14715         Likewise.
14716         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14717         (__pthread_attr_init_2_0): Likewise.
14718         * nptl/pthread_attr_setdetachstate.c
14719         (__pthread_attr_setdetachstate): Likewise.
14720         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14721         Likewise.
14722         * nptl/pthread_attr_setinheritsched.c
14723         (__pthread_attr_setinheritsched): Likewise.
14724         * nptl/pthread_attr_setschedparam.c
14725         (__pthread_attr_setschedparam): Likewise.
14726         * nptl/pthread_attr_setschedpolicy.c
14727         (__pthread_attr_setschedpolicy): Likewise.
14728         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14729         Likewise.
14730         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14731         Likewise.
14732         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14733         Likewise.
14734         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14735         Likewise.
14736         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14737         Likewise.
14738         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14739         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14740         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14741         use internal_function.
14742         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14743         prototype-style function definition.
14744         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14745         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14746         internal_function.
14747         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14748         Convert to prototype-style function definition.
14749         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14750         Likewise.
14751         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14752         Likewise.
14753         (__pthread_mutex_unlock): Likewise.
14754         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14755         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14756         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14757         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14758         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14759         * nss/makedb.c (process_input): Likewise.
14760         * posix/fnmatch.c (__strchrnul): Likewise.
14761         (__wcschrnul): Likewise.
14762         (fnmatch): Likewise.
14763         * posix/fnmatch_loop.c (FCT): Likewise.
14764         * posix/glob.c (globfree): Likewise.
14765         (__glob_pattern_type): Likewise.
14766         (__glob_pattern_p): Likewise.
14767         * posix/regcomp.c (re_compile_pattern): Likewise.
14768         (re_set_syntax): Likewise.
14769         (re_compile_fastmap): Likewise.
14770         (regcomp): Likewise.
14771         (regerror): Likewise.
14772         (regfree): Likewise.
14773         * posix/regexec.c (regexec): Likewise.
14774         (re_match): Likewise.
14775         (re_search): Likewise.
14776         (re_match_2): Likewise.
14777         (re_search_2): Likewise.
14778         (re_search_stub): Likewise.  Use internal_function
14779         (re_copy_regs): Likewise.
14780         (re_set_registers): Convert to prototype-style function
14781         definition.
14782         (prune_impossible_nodes): Likewise.  Use internal_function.
14783         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14784         prototype-style function definition.
14785         (inet_net_pton_ipv4): Likewise.
14786         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14787         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14788         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14789         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14790         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14791         Make variadic.
14792         * time/strptime_l.c (localtime_r): Convert to prototype-style
14793         function definition.
14794         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14795         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14796         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14797         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14799         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14800         definition.
14801         (_ufc_doit_r): Likewise.
14802         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14803         (_ufc_output_conversion_r): Likewise.
14804         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14805         * inet/rcmd.c (rcmd_af): Likewise.
14806         (rcmd): Likewise.
14807         (ruserok_af): Likewise.
14808         (ruserok): Likewise.
14809         (ruserok2_sa): Likewise.
14810         (ruserok_sa): Likewise.
14811         (iruserok_af): Likewise.
14812         (iruserok): Likewise.
14813         (__ivaliduser): Likewise.
14814         (__validuser2_sa): Likewise.
14815         * inet/rexec.c (rexec_af): Likewise.
14816         (rexec): Likewise.
14817         * inet/ruserpass.c (ruserpass): Likewise.
14818         * locale/programs/xmalloc.c (xcalloc): Likewise.
14819         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14820         * math/w_drem.c (__drem): Likewise.
14821         * math/w_dremf.c (__dremf): Likewise.
14822         * math/w_dreml.c (__dreml): Likewise.
14823         * misc/daemon.c (daemon): Likewise.
14824         * resolv/res_debug.c (p_fqnname): Likewise.
14825         * stdlib/div.c (div): Likewise.
14826         * string/memcmp.c (memcmp_bytes): Likewise.
14827         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14828         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14830         * crypt/cert.c (main): Convert to prototype-style function
14831         definition.
14832         * io/pipe.c (__pipe): Likewise.
14833         * io/pipe2.c (__pipe2): Likewise.
14834         * misc/futimesat.c (futimesat): Likewise.
14835         * misc/utimes.c (__utimes): Likewise.
14836         * posix/execve.c (__execve): Likewise.
14837         * posix/execvp.c (execvp): Likewise.
14838         * posix/execvpe.c (__execvpe): Likewise.
14839         * posix/fexecve.c (fexecve): Likewise.
14840         * socket/socketpair.c (socketpair): Likewise.
14841         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14842         * stdlib/erand48.c (erand48): Likewise.
14843         * stdlib/erand48_r.c (__erand48_r): Likewise.
14844         * stdlib/jrand48.c (jrand48): Likewise.
14845         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14846         * stdlib/lcong48.c (lcong48): Likewise.
14847         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14848         * stdlib/nrand48.c (nrand48): Likewise.
14849         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14850         * stdlib/seed48.c (seed48): Likewise.
14851         * stdlib/seed48_r.c (__seed48_r): Likewise.
14852         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14853         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14854         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14856 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14858         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14859         * configure: Regenerated.
14860         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14861         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14862         unconditional.
14863         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14864         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14865         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14866         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14867         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14868         unconditional.
14869         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14871         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14872         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14874         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14875         function definition.
14876         * crypt/crypt_util.c (__encrypt_r): Likewise.
14877         * libio/genops.c (_IO_no_init): Likewise.
14878         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14879         (_IO_old_fopencookie): Likewise.
14880         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14881         * libio/iogetline.c (_IO_getline): Likewise.
14882         (_IO_getline_info): Likewise.
14883         * libio/iogetwline.c (_IO_getwline): Likewise.
14884         (_IO_getwline_info): Likewise.
14885         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14886         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14887         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14888         (find_entry): Likewise.
14889         (iterate_table): Likewise.
14890         (lookup): Likewise.
14891         * login/forkpty.c (forkpty): Likewise.
14892         * misc/hsearch_r.c (__hsearch_r): Likewise.
14893         * misc/select.c (__select): Likewise.
14894         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14895         Likewise.
14896         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14897         Likewise.
14898         * nptl/old_pthread_cond_timedwait.c
14899         (__pthread_cond_timedwait_2_0): Likewise.
14900         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14901         * nptl/pthread_barrierattr_getpshared.c
14902         (pthread_barrierattr_getpshared): Likewise.
14903         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14904         Likewise.
14905         * nptl/pthread_mutex_setprioceiling.c
14906         (pthread_mutex_setprioceiling): Likewise.
14907         * nptl/pthread_mutexattr_getprioceiling.c
14908         (pthread_mutexattr_getprioceiling): Likewise.
14909         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14910         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14911         Likewise.
14912         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14913         Likewise.
14914         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14915         Likewise.
14916         * socket/recvfrom.c (__recvfrom): Likewise.
14917         * socket/sendto.c (__sendto): Likewise.
14918         * socket/setsockopt.c (__setsockopt): Likewise.
14919         * stdio-common/_itoa.c (_itoa): Likewise.
14920         * stdio-common/_itowa.c (_itowa): Likewise.
14921         * stdio-common/reg-printf.c (__register_printf_specifier):
14922         Likewise.
14923         (__register_printf_function): Likewise.
14924         * stdio-common/tempname.c (__path_search): Likewise.
14925         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14926         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14927         * stdlib/random_r.c (__initstate_r): Likewise.
14928         * stdlib/setenv.c (__add_to_environ): Likewise.
14929         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14930         * streams/getpmsg.c (getpmsg): Likewise.
14931         * streams/putmsg.c (putmsg): Likewise.
14932         * streams/putpmsg.c (putpmsg): Likewise.
14933         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14934         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14935         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14936         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14937         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14938         * sunrpc/svc_udp.c (cache_get): Likewise.
14939         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14940         * sysdeps/mach/hurd/getcwd.c
14941         (__canonicalize_directory_name_internal): Likewise.
14942         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14943         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14944         * sysdeps/mach/hurd/select.c (__select): Likewise.
14945         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14946         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14947         * sysdeps/sparc/nptl/pthread_barrier_init.c
14948         (__pthread_barrier_init): Likewise.
14949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14950         (__pthread_cond_timedwait): Likewise.
14951         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14952         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14953         Likewise.
14954         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14955         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14956         Likewise.
14957         * sysvipc/semtimedop.c (semtimedop): Likewise.
14958         * time/setitimer.c (__setitimer): Likewise.
14959         * time/strftime_l.c (emacs_strftime): Likewise.
14961 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14963         * config.make.in (have-ssp): Delete.
14964         (stack-protector): New variable.
14965         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14966         cache test for -fstack-protector-strong.  Export stack_protector to
14967         the best ssp flag.
14968         * configure: Regenerated.
14969         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14970         * nscd/Makefile (CFLAGS-nscd): Likewise.
14971         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14973 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14975         [BZ #19122]
14976         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14977         attribute_hidden.
14979 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14981         [BZ #18743]
14982         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14983         code to...
14984         (ELIDE_LOCK): ...here.
14985         (__get_new_count): New function with part of the code from
14986         __elide_lock that updates the value of adapt_count after a
14987         transaction abort.
14988         (__elided_trylock): Moved this code to...
14989         (ELIDE_TRYLOCK): ...here.
14991 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14993         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14994         * configure: Regenerate.
14995         * INSTALL: Regenerate.
14996         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14997         and tweak grammar.
14999 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15001         * login/programs/pt_chown.c: Include signal.h
15002         (main): Clear any signal mask from the parent process.
15004 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15006         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15007         * configure: Regenerated.
15008         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15009         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15010         $(gnu89-inline-CFLAGS).
15012         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15013         test.
15014         (libc_cv_asm_weakext_directive): Likewise.
15015         * configure: Regenerated.
15016         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15017         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15018         * include/libc-symbols.h
15019         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15020         #error.
15021         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15022         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15024         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15025         prototype-style function definition.
15026         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15027         * sysdeps/i386/ffs.c (__ffs): Likewise.
15028         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15029         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15030         Likewise.
15031         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15032         Likewise.
15033         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15035         Likewise.
15036         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15037         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15038         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15039         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15040         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15041         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15042         * sysdeps/mach/hurd/access.c (__access): Likewise.
15043         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15044         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15045         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15046         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15047         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15048         (cthread_getspecific): Likewise.
15049         (cthread_setspecific): Likewise.
15050         (__libc_getspecific): Likewise.
15051         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15052         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15053         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15054         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15055         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15056         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15057         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15058         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15059         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15060         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15061         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15062         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15063         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15064         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15065         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15066         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15067         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15068         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15069         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15070         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15071         * sysdeps/mach/hurd/link.c (__link): Likewise.
15072         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15073         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15074         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15075         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15076         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15077         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15078         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15079         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15080         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15081         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15082         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15083         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15084         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15085         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15086         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15087         * sysdeps/mach/hurd/send.c (__send): Likewise.
15088         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15089         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15090         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15091         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15092         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15093         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15094         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15095         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15096         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15097         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15098         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15099         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15100         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15101         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15102         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15103         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15104         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15105         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15106         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15107         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15108         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15109         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15110         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15111         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15112         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15113         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15114         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15115         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15116         * sysdeps/posix/alarm.c (alarm): Likewise.
15117         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15118         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15119         * sysdeps/posix/dup.c (__dup): Likewise.
15120         * sysdeps/posix/dup2.c (__dup2): Likewise.
15121         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15122         (main): Likewise.
15123         * sysdeps/posix/flock.c (__flock): Likewise.
15124         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15125         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15126         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15127         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15128         * sysdeps/posix/isatty.c (__isatty): Likewise.
15129         * sysdeps/posix/killpg.c (killpg): Likewise.
15130         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15131         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15132         * sysdeps/posix/raise.c (raise): Likewise.
15133         * sysdeps/posix/remove.c (remove): Likewise.
15134         * sysdeps/posix/rename.c (rename): Likewise.
15135         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15136         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15137         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15138         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15139         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15140         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15141         * sysdeps/posix/sigset.c (sigset): Likewise.
15142         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15143         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15144         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15145         * sysdeps/posix/time.c (time): Likewise.
15146         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15147         (ttyname): Likewise.
15148         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15149         * sysdeps/posix/utime.c (utime): Likewise.
15150         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15151         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15152         Likewise.
15153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15154         (pthread_spin_trylock): Likewise.
15155         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15156         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15157         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15158         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15159         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15160         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15161         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15162         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15163         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15164         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15165         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15166         * sysdeps/s390/ffs.c (__ffs): Likewise.
15167         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15168         Likewise.
15169         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15170         Likewise.
15171         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15172         Likewise.
15173         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15174         (pthread_barrier_destroy): Likewise.
15175         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15176         (__pthread_barrier_wait): Likewise.
15177         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15178         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15179         (__pthread_barrier_wait): Likewise.
15180         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15181         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15182         (memcmp_not_common_alignment): Likewise.
15183         (MEMCMP): Likewise.
15184         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15185         (_wordcopy_fwd_dest_aligned): Likewise.
15186         (_wordcopy_bwd_aligned): Likewise.
15187         (_wordcopy_bwd_dest_aligned): Likewise.
15188         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15189         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15190         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15191         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15192         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15193         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15194         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15195         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15196         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15197         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15198         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15199         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15200         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15201         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15202         * sysdeps/unix/stime.c (stime): Likewise.
15203         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15204         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15205         Likewise.  Use internal_function.
15206         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15207         Convert to prototype-style function definition.
15208         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15209         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15210         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15211         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15212         Likewise.  Use internal_function.
15213         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15214         prototype-style function definition
15215         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15216         Likewise.
15217         (__getlogin_r): Likewise.
15218         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15219         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15220         (__pthread_cond_broadcast): Likewise.
15221         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15222         (__pthread_cond_destroy): Likewise.
15223         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15224         (__pthread_cond_init): Likewise.
15225         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15226         (__pthread_cond_signal): Likewise.
15227         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15228         (__pthread_cond_wait): Likewise.
15229         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15230         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15231         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15232         Likewise.
15233         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15234         Likewise.
15235         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15236         Likewise.
15237         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15238         Likewise.
15239         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15241         (__ftruncate64): Likewise.
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15243         (truncate64): Likewise.
15244         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15245         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15246         (pthread_getcpuclockid): Likewise.
15247         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15248         Likewise.
15249         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15250         Likewise.
15251         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15256         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15257         (__libc_sigaction): Likewise.
15258         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15261         (__sigprocmask): Likewise.
15262         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15263         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15264         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15265         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15266         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15267         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15268         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15269         Likewise.
15270         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15271         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15272         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15273         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15274         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15275         Likewise.
15276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15277         (__sigprocmask): Likewise.
15278         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15279         (cfgetispeed): Likewise.
15280         (cfsetospeed): Likewise.
15281         (cfsetispeed): Likewise.
15282         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15283         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15284         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15285         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15286         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15287         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15288         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15289         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15290         Likewise.
15291         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15292         Likewise.
15293         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15294         Likewise.
15295         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15296         Likewise.
15297         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15299 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15301         sunrpc: Rewrite with explicit TLS access using __thread.
15302         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15303         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15304         directly.
15305         (__rpc_thread_variables): Access thread_rpc_vars directly.
15306         Eliminate redundant assignment of the tvp variable.
15308 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15310         malloc: Rewrite with explicit TLS access using __thread.
15311         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15312         (tsd_setspecific, tsd_getspecific): Remove.
15313         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15314         (tsd_setspecific, tsd_getspecific): Likewise.
15315         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15316         (tsd_setspecific, tsd_getspecific): Likewise.
15317         * malloc/arena.c (thread_arena): New TLS variable.
15318         (arena_key): Remove variable.
15319         (arena_get): Use thread_arena.
15320         (arena_lookup): Remove macro.
15321         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15322         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15323         (_int_new_arena, get_free_list, reused_arena)
15324         (arena_thread_freeres): Use thread_arena.
15325         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15326         tsd_getspecific, tsd_setspecific from safety annotations.
15327         (Allocating Cleared Space): Remove arena_lookup from safety
15328         annotations.
15330 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15332         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15333         struct scratch_buffer instead of extend_alloca.
15335 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15337         * sysdeps/unix/sysv/linux/kernel-features.h
15338         (__ASSUME_SOCK_CLOEXEC): Remove.
15339         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15340         (__have_paccept): Remove unused macro.
15341         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15342         * misc/syslog.c (openlog_internal): Remove fallback code for
15343         !__ASSUME_SOCK_CLOEXEC.
15344         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15345         missing SOCK_CLOEXEC.
15346         * nscd/connections.c (have_sock_cloexec): Remove definition.
15347         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15348         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15349         !__ASSUME_SOCK_CLOEXEC.
15350         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15351         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15352         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15353         definition.
15354         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15355         code for !__ASSUME_SOCK_CLOEXEC.
15357 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15359         [BZ #18982]
15360         * manual/stdio.texi (Variable Arguments Output): Add portability
15361         note, explaining that vfprintf clobbers the va_list pointer.
15363 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15365         * math/libm-test.inc (fabs_test_data): Add more tests.
15366         (fdim_test_data): Likewise.
15367         (fma_test_data): Likewise.
15368         (fmax_test_data): Likewise.
15369         (fmin_test_data): Likewise.
15370         (fmod_test_data): Likewise.
15372 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15374         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15375         data.
15377 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15379         * math/libm-test.inc (ceil_test_data): Add more tests and more
15380         expectations for "inexact".
15381         (floor_test_data): Add more tests.
15382         (round_test_data): Likewise.
15383         (trunc_test_data): Likewise.
15385         * crypt/cert.c (good_bye): Convert to prototype-style function
15386         definition.
15387         (get8): Likewise.
15388         (put8): Likewise.
15389         * crypt/crypt-entry.c (crypt): Likewise.
15390         (__fcrypt): Likewise.
15391         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15392         (_ufc_set_bits): Likewise.
15393         (_ufc_clearmem): Likewise.
15394         (__init_des_r): Likewise.
15395         (shuffle_sb): Likewise.
15396         (shuffle_sb): Likewise.
15397         (_ufc_setup_salt_r): Likewise.
15398         (_ufc_mk_keytab_r): Likewise.
15399         (_ufc_dofinalperm_r): Likewise.
15400         (encrypt): Likewise.
15401         (__setkey_r): Likewise.
15402         (setkey): Likewise.
15403         * crypt/md5.c (md5_init_ctx): Likewise.
15404         (md5_read_ctx): Likewise.
15405         (md5_finish_ctx): Likewise.
15406         (md5_stream): Likewise.
15407         (md5_buffer): Likewise.
15408         (md5_process_bytes): Likewise.
15409         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15410         (__sha256_finish_ctx): Likewise.
15411         (__sha256_process_bytes): Likewise.
15412         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15413         (__sha512_finish_ctx): Likewise.
15414         (__sha512_process_bytes): Likewise.
15415         * ctype/isctype.c (__isctype): Likewise.
15416         * debug/backtrace.c (__backtrace): Likewise.
15417         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15418         * debug/fgets_chk.c (__fgets_chk): Likewise.
15419         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15420         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15421         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15422         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15423         * debug/memset_chk.c (__memset_chk): Likewise.
15424         * debug/strcat_chk.c (__strcat_chk): Likewise.
15425         * debug/strncat_chk.c (__strncat_chk): Likewise.
15426         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15427         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15428         * dirent/dirfd.c (dirfd): Likewise.
15429         * dirent/getdents.c (__getdirentries): Likewise.
15430         * dirent/getdents64.c (getdirentries64): Likewise.
15431         * dirent/rewinddir.c (__rewinddir): Likewise.
15432         * dirent/seekdir.c (seekdir): Likewise.
15433         * dirent/telldir.c (telldir): Likewise.
15434         * elf/sln.c (makesymlinks): Likewise.
15435         (makesymlink): Likewise.
15436         * gmon/gmon.c (__moncontrol): Likewise.
15437         (__monstartup): Likewise.
15438         (write_hist): Likewise.
15439         (write_call_graph): Likewise.
15440         (write_bb_counts): Likewise.
15441         * grp/setgroups.c (setgroups): Likewise.
15442         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15443         * inet/inet_net.c (inet_network): Likewise.
15444         * inet/inet_netof.c (inet_netof): Likewise.
15445         * inet/rcmd.c (rresvport_af): Likewise.
15446         (rresvport): Likewise.
15447         * io/access.c (__access): Likewise.
15448         * io/chdir.c (__chdir): Likewise.
15449         * io/chmod.c (__chmod): Likewise.
15450         * io/chown.c (__chown): Likewise.
15451         * io/close.c (__close): Likewise.
15452         * io/creat.c (creat): Likewise.
15453         * io/creat64.c (creat64): Likewise.
15454         * io/dup.c (__dup): Likewise.
15455         * io/dup2.c (__dup2): Likewise.
15456         * io/dup3.c (__dup3): Likewise.
15457         * io/euidaccess.c (__euidaccess): Likewise.
15458         * io/faccessat.c (faccessat): Likewise.
15459         * io/fchmod.c (__fchmod): Likewise.
15460         * io/fchmodat.c (fchmodat): Likewise.
15461         * io/fchown.c (__fchown): Likewise.
15462         * io/fchownat.c (fchownat): Likewise.
15463         * io/fcntl.c (__fcntl): Likewise.
15464         * io/flock.c (__flock): Likewise.
15465         * io/fts.c (fts_load): Likewise.
15466         (fts_close): Likewise.
15467         (fts_read): Likewise.
15468         (fts_set): Likewise.
15469         (fts_children): Likewise.
15470         (fts_build): Likewise.
15471         (fts_stat): Likewise.
15472         (fts_sort): Likewise.
15473         (fts_alloc): Likewise.
15474         (fts_lfree): Likewise.
15475         (fts_palloc): Likewise.
15476         (fts_padjust): Likewise.
15477         (fts_maxarglen): Likewise.
15478         (fts_safe_changedir): Likewise.
15479         * io/getwd.c (getwd): Likewise.
15480         * io/isatty.c (__isatty): Likewise.
15481         * io/lchown.c (__lchown): Likewise.
15482         * io/link.c (__link): Likewise.
15483         * io/linkat.c (linkat): Likewise.
15484         * io/lseek.c (__libc_lseek): Likewise.
15485         * io/mkdir.c (__mkdir): Likewise.
15486         * io/mkdirat.c (mkdirat): Likewise.
15487         * io/mkfifo.c (mkfifo): Likewise.
15488         * io/mkfifoat.c (mkfifoat): Likewise.
15489         * io/open.c (__libc_open): Likewise.
15490         * io/open64.c (__libc_open64): Likewise.
15491         * io/readlink.c (__readlink): Likewise.
15492         * io/readlinkat.c (readlinkat): Likewise.
15493         * io/rmdir.c (__rmdir): Likewise.
15494         * io/symlink.c (__symlink): Likewise.
15495         * io/symlinkat.c (symlinkat): Likewise.
15496         * io/ttyname.c (ttyname): Likewise.
15497         * io/ttyname_r.c (__ttyname_r): Likewise.
15498         * io/umask.c (__umask): Likewise.
15499         * io/unlink.c (__unlink): Likewise.
15500         * io/unlinkat.c (unlinkat): Likewise.
15501         * io/utime.c (utime): Likewise.
15502         * libio/clearerr.c (clearerr): Likewise.
15503         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15504         * libio/feof.c (_IO_feof): Likewise.
15505         * libio/feof_u.c (feof_unlocked): Likewise.
15506         * libio/ferror.c (_IO_ferror): Likewise.
15507         * libio/ferror_u.c (ferror_unlocked): Likewise.
15508         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15509         * libio/fileno.c (__fileno): Likewise.
15510         * libio/fputc.c (fputc): Likewise.
15511         * libio/fputc_u.c (fputc_unlocked): Likewise.
15512         * libio/fputwc.c (fputwc): Likewise.
15513         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15514         * libio/freopen.c (freopen): Likewise.
15515         * libio/freopen64.c (freopen64): Likewise.
15516         * libio/fseek.c (fseek): Likewise.
15517         * libio/fseeko.c (fseeko): Likewise.
15518         * libio/fseeko64.c (fseeko64): Likewise.
15519         * libio/ftello.c (__ftello): Likewise.
15520         * libio/ftello64.c (ftello64): Likewise.
15521         * libio/fwide.c (fwide): Likewise.
15522         * libio/genops.c (_IO_un_link): Likewise.
15523         (_IO_link_in): Likewise.
15524         (_IO_least_marker): Likewise.
15525         (_IO_switch_to_main_get_area): Likewise.
15526         (_IO_switch_to_backup_area): Likewise.
15527         (_IO_switch_to_get_mode): Likewise.
15528         (_IO_free_backup_area): Likewise.
15529         (_IO_switch_to_put_mode): Likewise.
15530         (__overflow): Likewise.
15531         (__underflow): Likewise.
15532         (__uflow): Likewise.
15533         (_IO_setb): Likewise.
15534         (_IO_doallocbuf): Likewise.
15535         (_IO_default_underflow): Likewise.
15536         (_IO_default_uflow): Likewise.
15537         (_IO_default_xsputn): Likewise.
15538         (_IO_sgetn): Likewise.
15539         (_IO_default_xsgetn): Likewise.
15540         (_IO_sync): Likewise.
15541         (_IO_default_setbuf): Likewise.
15542         (_IO_default_seekpos): Likewise.
15543         (_IO_default_doallocate): Likewise.
15544         (_IO_init): Likewise.
15545         (_IO_old_init): Likewise.
15546         (_IO_default_sync): Likewise.
15547         (_IO_default_finish): Likewise.
15548         (_IO_default_seekoff): Likewise.
15549         (_IO_sputbackc): Likewise.
15550         (_IO_sungetc): Likewise.
15551         (_IO_set_column): Likewise.
15552         (_IO_set_column): Likewise.
15553         (_IO_adjust_column): Likewise.
15554         (_IO_get_column): Likewise.
15555         (_IO_init_marker): Likewise.
15556         (_IO_remove_marker): Likewise.
15557         (_IO_marker_difference): Likewise.
15558         (_IO_marker_delta): Likewise.
15559         (_IO_seekmark): Likewise.
15560         (_IO_unsave_markers): Likewise.
15561         (_IO_nobackup_pbackfail): Likewise.
15562         (_IO_default_pbackfail): Likewise.
15563         (_IO_default_seek): Likewise.
15564         (_IO_default_stat): Likewise.
15565         (_IO_default_read): Likewise.
15566         (_IO_default_write): Likewise.
15567         (_IO_default_showmanyc): Likewise.
15568         (_IO_default_imbue): Likewise.
15569         (_IO_iter_next): Likewise.
15570         (_IO_iter_file): Likewise.
15571         * libio/getc.c (_IO_getc): Likewise.
15572         * libio/getwc.c (_IO_getwc): Likewise.
15573         * libio/iofclose.c (_IO_new_fclose): Likewise.
15574         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15575         * libio/iofflush.c (_IO_fflush): Likewise.
15576         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15577         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15578         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15579         * libio/iofgets.c (_IO_fgets): Likewise.
15580         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15581         * libio/iofgetws.c (fgetws): Likewise.
15582         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15583         * libio/iofopen64.c (_IO_fopen64): Likewise.
15584         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15585         (_IO_cookie_write): Likewise.
15586         (_IO_cookie_seek): Likewise.
15587         (_IO_cookie_close): Likewise.
15588         (_IO_cookie_seekoff): Likewise.
15589         (_IO_old_cookie_seek): Likewise.
15590         * libio/iofputs.c (_IO_fputs): Likewise.
15591         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15592         * libio/iofputws.c (fputws): Likewise.
15593         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15594         * libio/iofread.c (_IO_fread): Likewise.
15595         * libio/iofread_u.c (__fread_unlocked): Likewise.
15596         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15597         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15598         * libio/ioftell.c (_IO_ftell): Likewise.
15599         * libio/iofwrite.c (_IO_fwrite): Likewise.
15600         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15601         * libio/iogets.c (_IO_gets): Likewise.
15602         * libio/iopadn.c (_IO_padn): Likewise.
15603         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15604         (_IO_new_popen): Likewise.
15605         (_IO_new_proc_close): Likewise.
15606         * libio/ioputs.c (_IO_puts): Likewise.
15607         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15608         (_IO_seekoff): Likewise.
15609         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15610         (_IO_seekpos): Likewise.
15611         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15612         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15613         * libio/ioungetc.c (_IO_ungetc): Likewise.
15614         * libio/ioungetwc.c (ungetwc): Likewise.
15615         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15616         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15617         * libio/iowpadn.c (_IO_wpadn): Likewise.
15618         * libio/libc_fatal.c (__libc_fatal): Likewise.
15619         * libio/memstream.c (__open_memstream): Likewise.
15620         (_IO_mem_sync): Likewise.
15621         (_IO_mem_finish): Likewise.
15622         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15623         (_IO_old_file_close_it): Likewise.
15624         (_IO_old_file_finish): Likewise.
15625         (_IO_old_file_fopen): Likewise.
15626         (_IO_old_file_attach): Likewise.
15627         (_IO_old_file_setbuf): Likewise.
15628         (_IO_old_do_write): Likewise.
15629         (old_do_write): Likewise.
15630         (_IO_old_file_underflow): Likewise.
15631         (_IO_old_file_overflow): Likewise.
15632         (_IO_old_file_sync): Likewise.
15633         (_IO_old_file_seekoff): Likewise.
15634         (_IO_old_file_write): Likewise.
15635         (_IO_old_file_xsputn): Likewise.
15636         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15637         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15638         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15639         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15640         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15641         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15642         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15643         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15644         (_IO_old_popen): Likewise.
15645         (_IO_old_proc_close): Likewise.
15646         * libio/oldpclose.c (__old_pclose): Likewise.
15647         * libio/pclose.c (__new_pclose): Likewise.
15648         * libio/peekc.c (_IO_peekc_locked): Likewise.
15649         * libio/putc.c (_IO_putc): Likewise.
15650         * libio/putc_u.c (putc_unlocked): Likewise.
15651         * libio/putchar.c (putchar): Likewise.
15652         * libio/putchar_u.c (putchar_unlocked): Likewise.
15653         * libio/putwc.c (putwc): Likewise.
15654         * libio/putwc_u.c (putwc_unlocked): Likewise.
15655         * libio/putwchar.c (putwchar): Likewise.
15656         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15657         * libio/rewind.c (rewind): Likewise.
15658         * libio/setbuf.c (setbuf): Likewise.
15659         * libio/setlinebuf.c (setlinebuf): Likewise.
15660         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15661         * libio/vscanf.c (_IO_vscanf): Likewise.
15662         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15663         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15664         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15665         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15666         (_IO_switch_to_main_wget_area): Likewise.
15667         (_IO_switch_to_wbackup_area): Likewise.
15668         (_IO_wsetb): Likewise.
15669         (_IO_wdefault_pbackfail): Likewise.
15670         (_IO_wdefault_finish): Likewise.
15671         (_IO_wdefault_uflow): Likewise.
15672         (__woverflow): Likewise.
15673         (__wuflow): Likewise.
15674         (__wunderflow): Likewise.
15675         (_IO_wdefault_xsputn): Likewise.
15676         (_IO_wdefault_xsgetn): Likewise.
15677         (_IO_wdoallocbuf): Likewise.
15678         (_IO_wdefault_doallocate): Likewise.
15679         (_IO_switch_to_wget_mode): Likewise.
15680         (_IO_free_wbackup_area): Likewise.
15681         (_IO_switch_to_wput_mode): Likewise.
15682         (_IO_sputbackwc): Likewise.
15683         (_IO_sungetwc): Likewise.
15684         (_IO_adjust_wcolumn): Likewise.
15685         (_IO_init_wmarker): Likewise.
15686         (_IO_wmarker_delta): Likewise.
15687         (_IO_seekwmark): Likewise.
15688         (_IO_unsave_wmarkers): Likewise.
15689         * libio/wmemstream.c (open_wmemstream): Likewise.
15690         (_IO_wmem_sync): Likewise.
15691         (_IO_wmem_finish): Likewise.
15692         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15693         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15694         * locale/programs/simple-hash.c (init_hash): Likewise.
15695         (delete_hash): Likewise.
15696         (insert_entry): Likewise.
15697         (set_entry): Likewise.
15698         (next_prime): Likewise.
15699         (is_prime): Likewise.
15700         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15701         (xmalloc): Likewise.
15702         (xrealloc): Likewise.
15703         * locale/programs/xstrdup.c (xstrdup): Likewise.
15704         * localedata/collate-test.c (xstrcoll): Likewise.
15705         * localedata/xfrm-test.c (xstrcmp): Likewise.
15706         * login/getlogin_r.c (__getlogin_r): Likewise.
15707         * login/getpt.c (__posix_openpt): Likewise.
15708         * login/login_tty.c (login_tty): Likewise.
15709         * login/setlogin.c (setlogin): Likewise.
15710         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15711         (mach_msg_destroy_port): Likewise.
15712         (mach_msg_destroy_memory): Likewise.
15713         * malloc/mcheck.c (flood): Likewise.
15714         * misc/acct.c (acct): Likewise.
15715         * misc/brk.c (__brk): Likewise.
15716         * misc/chflags.c (chflags): Likewise.
15717         * misc/chroot.c (chroot): Likewise.
15718         * misc/fchflags.c (fchflags): Likewise.
15719         * misc/fstab.c (getfsspec): Likewise.
15720         (getfsfile): Likewise.
15721         * misc/fsync.c (fsync): Likewise.
15722         * misc/ftruncate.c (__ftruncate): Likewise.
15723         * misc/ftruncate64.c (__ftruncate64): Likewise.
15724         * misc/getdomain.c (getdomainname): Likewise.
15725         (getdomainname): Likewise.
15726         * misc/gethostname.c (__gethostname): Likewise.
15727         * misc/getpass.c (getpass): Likewise.
15728         * misc/getttyent.c (skip): Likewise.
15729         (value): Likewise.
15730         * misc/gtty.c (gtty): Likewise.
15731         * misc/hsearch.c (hsearch): Likewise.
15732         (hcreate): Likewise.
15733         * misc/hsearch_r.c (__hcreate_r): Likewise.
15734         (__hdestroy_r): Likewise.
15735         * misc/ioctl.c (__ioctl): Likewise.
15736         * misc/mkdtemp.c (mkdtemp): Likewise.
15737         * misc/mkostemp.c (mkostemp): Likewise.
15738         * misc/mkostemp64.c (mkostemp64): Likewise.
15739         * misc/mkostemps.c (mkostemps): Likewise.
15740         * misc/mkostemps64.c (mkostemps64): Likewise.
15741         * misc/mkstemp.c (mkstemp): Likewise.
15742         * misc/mkstemp64.c (mkstemp64): Likewise.
15743         * misc/mkstemps.c (mkstemps): Likewise.
15744         * misc/mkstemps64.c (mkstemps64): Likewise.
15745         * misc/mktemp.c (__mktemp): Likewise.
15746         * misc/preadv.c (preadv): Likewise.
15747         * misc/preadv64.c (preadv64): Likewise.
15748         * misc/pwritev.c (pwritev): Likewise.
15749         * misc/pwritev64.c (pwritev64): Likewise.
15750         * misc/readv.c (__readv): Likewise.
15751         * misc/revoke.c (revoke): Likewise.
15752         * misc/setdomain.c (setdomainname): Likewise.
15753         * misc/setegid.c (setegid): Likewise.
15754         * misc/seteuid.c (seteuid): Likewise.
15755         * misc/sethostid.c (sethostid): Likewise.
15756         * misc/sethostname.c (sethostname): Likewise.
15757         * misc/setregid.c (__setregid): Likewise.
15758         * misc/setreuid.c (__setreuid): Likewise.
15759         * misc/sstk.c (sstk): Likewise.
15760         * misc/stty.c (stty): Likewise.
15761         * misc/syscall.c (syscall): Likewise.
15762         * misc/syslog.c (setlogmask): Likewise.
15763         * misc/truncate.c (__truncate): Likewise.
15764         * misc/truncate64.c (truncate64): Likewise.
15765         * misc/ualarm.c (ualarm): Likewise.
15766         * misc/usleep.c (usleep): Likewise.
15767         * misc/ustat.c (ustat): Likewise.
15768         * misc/writev.c (__writev): Likewise.
15769         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15770         * nptl/old_pthread_cond_broadcast.c
15771         (__pthread_cond_broadcast_2_0): Likewise.
15772         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15773         Likewise.
15774         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15775         Likewise.
15776         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15777         Likewise.
15778         * nptl/pt-raise.c (raise): Likewise.
15779         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15780         Likewise.
15781         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15782         * nptl/pthread_barrierattr_destroy.c
15783         (pthread_barrierattr_destroy): Likewise.
15784         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15785         Likewise.
15786         * nptl/pthread_barrierattr_setpshared.c
15787         (pthread_barrierattr_setpshared): Likewise.
15788         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15789         Likewise.
15790         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15791         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15792         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15793         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15794         Likewise.
15795         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15796         Likewise.
15797         * nptl/pthread_condattr_getpshared.c
15798         (pthread_condattr_getpshared): Likewise.
15799         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15800         Likewise.
15801         * nptl/pthread_condattr_setpshared.c
15802         (pthread_condattr_setpshared): Likewise.
15803         * nptl/pthread_detach.c (pthread_detach): Likewise.
15804         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15805         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15806         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15807         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15808         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15809         Likewise.
15810         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15811         Likewise.
15812         * nptl/pthread_mutex_getprioceiling.c
15813         (pthread_mutex_getprioceiling): Likewise.
15814         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15815         Likewise.
15816         * nptl/pthread_mutexattr_getprotocol.c
15817         (pthread_mutexattr_getprotocol): Likewise.
15818         * nptl/pthread_mutexattr_getpshared.c
15819         (pthread_mutexattr_getpshared): Likewise.
15820         * nptl/pthread_mutexattr_getrobust.c
15821         (pthread_mutexattr_getrobust): Likewise.
15822         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15823         Likewise.
15824         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15825         Likewise.
15826         * nptl/pthread_mutexattr_setprioceiling.c
15827         (pthread_mutexattr_setprioceiling): Likewise.
15828         * nptl/pthread_mutexattr_setprotocol.c
15829         (pthread_mutexattr_setprotocol): Likewise.
15830         * nptl/pthread_mutexattr_setpshared.c
15831         (pthread_mutexattr_setpshared): Likewise.
15832         * nptl/pthread_mutexattr_setrobust.c
15833         (pthread_mutexattr_setrobust): Likewise.
15834         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15835         Likewise.
15836         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15837         Likewise.
15838         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15839         Likewise.
15840         * nptl/pthread_rwlockattr_getkind_np.c
15841         (pthread_rwlockattr_getkind_np): Likewise.
15842         * nptl/pthread_rwlockattr_getpshared.c
15843         (pthread_rwlockattr_getpshared): Likewise.
15844         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15845         Likewise.
15846         * nptl/pthread_rwlockattr_setkind_np.c
15847         (pthread_rwlockattr_setkind_np): Likewise.
15848         * nptl/pthread_rwlockattr_setpshared.c
15849         (pthread_rwlockattr_setpshared): Likewise.
15850         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15851         Likewise.
15852         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15853         Likewise.
15854         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15855         Likewise.
15856         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15857         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15858         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15859         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15860         * nptl/sem_close.c (sem_close): Likewise.
15861         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15862         * nptl/sem_init.c (__old_sem_init): Likewise.
15863         * nptl/sigaction.c (__sigaction): Likewise.
15864         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15865         * posix/_exit.c (_exit): Likewise.
15866         * posix/alarm.c (alarm): Likewise.
15867         * posix/confstr.c (confstr): Likewise.
15868         * posix/fpathconf.c (__fpathconf): Likewise.
15869         * posix/getgroups.c (__getgroups): Likewise.
15870         * posix/getpgid.c (__getpgid): Likewise.
15871         * posix/group_member.c (__group_member): Likewise.
15872         * posix/pathconf.c (__pathconf): Likewise.
15873         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15874         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15875         * posix/setgid.c (__setgid): Likewise.
15876         * posix/setpgid.c (__setpgid): Likewise.
15877         * posix/setuid.c (__setuid): Likewise.
15878         * posix/sleep.c (__sleep): Likewise.
15879         * posix/sysconf.c (__sysconf): Likewise.
15880         * posix/times.c (__times): Likewise.
15881         * posix/uname.c (__uname): Likewise.
15882         * posix/waitid.c (__waitid): Likewise.
15883         * pwd/getpw.c (__getpw): Likewise.
15884         * resolv/base64.c (b64_pton): Likewise.
15885         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15886         * resolv/gethnamaddr.c (Dprintf): Likewise.
15887         (gethostbyname): Likewise.
15888         (gethostbyname2): Likewise.
15889         (gethostbyaddr): Likewise.
15890         (_sethtent): Likewise.
15891         (_gethtbyname): Likewise.
15892         (_gethtbyname2): Likewise.
15893         (_gethtbyaddr): Likewise.
15894         (map_v4v6_address): Likewise.
15895         (map_v4v6_hostent): Likewise.
15896         (addrsort): Likewise.
15897         (ht_sethostent): Likewise.
15898         (ht_gethostbyname): Likewise.
15899         (ht_gethostbyaddr): Likewise.
15900         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15901         (inet_net_ntop_ipv4): Likewise.
15902         * resolv/inet_neta.c (inet_neta): Likewise.
15903         * resolv/inet_ntop.c (inet_ntop): Likewise.
15904         (inet_ntop4): Likewise.
15905         (inet_ntop6): Likewise.
15906         * resolv/inet_pton.c (__inet_pton): Likewise.
15907         (inet_pton4): Likewise.
15908         (inet_pton6): Likewise.
15909         * resolv/res_debug.c (loc_aton): Likewise.
15910         (loc_ntoa): Likewise.
15911         * resource/getpriority.c (__getpriority): Likewise.
15912         * resource/getrusage.c (__getrusage): Likewise.
15913         * resource/nice.c (nice): Likewise.
15914         * resource/setpriority.c (__setpriority): Likewise.
15915         * resource/setrlimit64.c (setrlimit64): Likewise.
15916         * resource/vlimit.c (vlimit): Likewise.
15917         * resource/vtimes.c (vtimes): Likewise.
15918         * rt/aio_error.c (aio_error): Likewise.
15919         * rt/aio_return.c (aio_return): Likewise.
15920         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15921         * signal/kill.c (__kill): Likewise.
15922         * signal/killpg.c (killpg): Likewise.
15923         * signal/raise.c (raise): Likewise.
15924         * signal/sigaction.c (__sigaction): Likewise.
15925         * signal/sigaddset.c (sigaddset): Likewise.
15926         * signal/sigaltstack.c (sigaltstack): Likewise.
15927         * signal/sigandset.c (sigandset): Likewise.
15928         * signal/sigblock.c (__sigblock): Likewise.
15929         * signal/sigdelset.c (sigdelset): Likewise.
15930         * signal/sigempty.c (sigemptyset): Likewise.
15931         * signal/sigfillset.c (sigfillset): Likewise.
15932         * signal/sighold.c (sighold): Likewise.
15933         * signal/sigignore.c (sigignore): Likewise.
15934         * signal/sigintr.c (siginterrupt): Likewise.
15935         * signal/sigisempty.c (sigisemptyset): Likewise.
15936         * signal/sigismem.c (sigismember): Likewise.
15937         * signal/signal.c (signal): Likewise.
15938         * signal/sigorset.c (sigorset): Likewise.
15939         * signal/sigpause.c (__sigpause): Likewise.
15940         * signal/sigpending.c (sigpending): Likewise.
15941         * signal/sigprocmask.c (__sigprocmask): Likewise.
15942         * signal/sigrelse.c (sigrelse): Likewise.
15943         * signal/sigreturn.c (__sigreturn): Likewise.
15944         * signal/sigset.c (sigset): Likewise.
15945         * signal/sigsetmask.c (__sigsetmask): Likewise.
15946         * signal/sigstack.c (sigstack): Likewise.
15947         * signal/sigsuspend.c (__sigsuspend): Likewise.
15948         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15949         * signal/sysv_signal.c (__sysv_signal): Likewise.
15950         * socket/accept.c (accept): Likewise.
15951         * socket/accept4.c (__libc_accept4): Likewise.
15952         * socket/bind.c (__bind): Likewise.
15953         * socket/connect.c (__connect): Likewise.
15954         * socket/getpeername.c (getpeername): Likewise.
15955         * socket/getsockname.c (__getsockname): Likewise.
15956         * socket/getsockopt.c (getsockopt): Likewise.
15957         * socket/listen.c (__listen): Likewise.
15958         * socket/recv.c (__recv): Likewise.
15959         * socket/recvmsg.c (__recvmsg): Likewise.
15960         * socket/send.c (__send): Likewise.
15961         * socket/sendmsg.c (__sendmsg): Likewise.
15962         * socket/shutdown.c (shutdown): Likewise.
15963         * socket/sockatmark.c (sockatmark): Likewise.
15964         * socket/socket.c (__socket): Likewise.
15965         * stdio-common/ctermid.c (ctermid): Likewise.
15966         * stdio-common/cuserid.c (cuserid): Likewise.
15967         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15968         * stdio-common/remove.c (remove): Likewise.
15969         * stdio-common/rename.c (rename): Likewise.
15970         * stdio-common/renameat.c (renameat): Likewise.
15971         * stdio-common/tempname.c (__gen_tempname): Likewise.
15972         * stdio-common/xbug.c (InitBuffer): Likewise.
15973         (AppendToBuffer): Likewise.
15974         (ReadFile): Likewise.
15975         * stdlib/a64l.c (a64l): Likewise.
15976         * stdlib/drand48_r.c (drand48_r): Likewise.
15977         * stdlib/getcontext.c (getcontext): Likewise.
15978         * stdlib/getenv.c (getenv): Likewise.
15979         * stdlib/l64a.c (l64a): Likewise.
15980         * stdlib/llabs.c (llabs): Likewise.
15981         * stdlib/lldiv.c (lldiv): Likewise.
15982         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15983         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15984         * stdlib/putenv.c (putenv): Likewise.
15985         * stdlib/random.c (__srandom): Likewise.
15986         (__initstate): Likewise.
15987         (__setstate): Likewise.
15988         * stdlib/random_r.c (__srandom_r): Likewise.
15989         (__setstate_r): Likewise.
15990         (__random_r): Likewise.
15991         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15992         * stdlib/setcontext.c (setcontext): Likewise.
15993         * stdlib/setenv.c (setenv): Likewise.
15994         (unsetenv): Likewise.
15995         * stdlib/srand48.c (srand48): Likewise.
15996         * stdlib/srand48_r.c (__srand48_r): Likewise.
15997         * stdlib/swapcontext.c (swapcontext): Likewise.
15998         * stdlib/system.c (__libc_system): Likewise.
15999         * stdlib/tst-strtod.c (expand): Likewise.
16000         * stdlib/tst-strtol.c (expand): Likewise.
16001         * stdlib/tst-strtoll.c (expand): Likewise.
16002         * streams/fattach.c (fattach): Likewise.
16003         * streams/fdetach.c (fdetach): Likewise.
16004         * streams/getmsg.c (getmsg): Likewise.
16005         * streams/isastream.c (isastream): Likewise.
16006         * string/ffs.c (__ffs): Likewise.
16007         * string/ffsll.c (ffsll): Likewise.
16008         * string/memcmp.c (memcmp_common_alignment): Likewise.
16009         (memcmp_not_common_alignment): Likewise.
16010         (MEMCMP): Likewise.
16011         * string/memcpy.c (memcpy): Likewise.
16012         * string/memmove.c (MEMMOVE): Likewise.
16013         * string/memset.c (memset): Likewise.
16014         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16015         * string/strchrnul.c (STRCHRNUL): Likewise.
16016         * string/strerror.c (strerror): Likewise.
16017         * string/strndup.c (__strndup): Likewise.
16018         * string/strverscmp.c (__strverscmp): Likewise.
16019         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16020         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16021         (clnttcp_freeres): Likewise.
16022         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16023         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16024         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16025         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16026         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16027         (xdr_callhdr): Likewise.
16028         * sunrpc/rpcinfo.c (udpping): Likewise.
16029         (tcpping): Likewise.
16030         (pstatus): Likewise.
16031         (pmapdump): Likewise.
16032         (brdcst): Likewise.
16033         (deletereg): Likewise.
16034         (getprognum): Likewise.
16035         (getvers): Likewise.
16036         (get_inet_address): Likewise.
16037         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16038         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16039         (svcudp_stat): Likewise.
16040         (svcudp_recv): Likewise.
16041         (svcudp_reply): Likewise.
16042         (svcudp_getargs): Likewise.
16043         (svcudp_freeargs): Likewise.
16044         (svcudp_destroy): Likewise.
16045         * sunrpc/xdr.c (xdr_bytes): Likewise.
16046         (xdr_netobj): Likewise.
16047         (xdr_string): Likewise.
16048         (xdr_wrapstring): Likewise.
16049         * sunrpc/xdr_float.c (xdr_float): Likewise.
16050         (xdr_double): Likewise.
16051         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16052         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16053         * sysvipc/ftok.c (ftok): Likewise.
16054         * sysvipc/msgctl.c (msgctl): Likewise.
16055         * sysvipc/msgget.c (msgget): Likewise.
16056         * sysvipc/msgrcv.c (msgrcv): Likewise.
16057         * sysvipc/msgsnd.c (msgsnd): Likewise.
16058         * sysvipc/semget.c (semget): Likewise.
16059         * sysvipc/semop.c (semop): Likewise.
16060         * sysvipc/shmat.c (shmat): Likewise.
16061         * sysvipc/shmctl.c (shmctl): Likewise.
16062         * sysvipc/shmdt.c (shmdt): Likewise.
16063         * sysvipc/shmget.c (shmget): Likewise.
16064         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16065         * termios/speed.c (cfgetospeed): Likewise.
16066         (cfgetispeed): Likewise.
16067         (cfsetospeed): Likewise.
16068         (cfsetispeed): Likewise.
16069         * termios/tcflow.c (tcflow): Likewise.
16070         * termios/tcflush.c (tcflush): Likewise.
16071         * termios/tcgetattr.c (__tcgetattr): Likewise.
16072         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16073         * termios/tcgetsid.c (tcgetsid): Likewise.
16074         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16075         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16076         * time/adjtime.c (__adjtime): Likewise.
16077         * time/dysize.c (dysize): Likewise.
16078         * time/ftime.c (ftime): Likewise.
16079         * time/getitimer.c (__getitimer): Likewise.
16080         * time/gettimeofday.c (__gettimeofday): Likewise.
16081         * time/gmtime.c (__gmtime_r): Likewise.
16082         (gmtime): Likewise.
16083         * time/localtime.c (__localtime_r): Likewise.
16084         (localtime): Likewise.
16085         * time/offtime.c (__offtime): Likewise.
16086         * time/settimeofday.c (__settimeofday): Likewise.
16087         * time/stime.c (stime): Likewise.
16088         * time/strftime_l.c (tm_diff): Likewise.
16089         (iso_week_days): Likewise.
16090         * time/strptime.c (strptime): Likewise.
16091         * time/time.c (time): Likewise.
16092         * time/timespec_get.c (timespec_get): Likewise.
16093         * time/tzset.c (tzset_internal): Likewise.
16094         (compute_change): Likewise.
16095         (__tz_compute): Likewise.
16096         * wcsmbs/btowc.c (__btowc): Likewise.
16097         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16098         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16099         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16100         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16101         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16102         * wcsmbs/wcscat.c (__wcscat): Likewise.
16103         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16104         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16105         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16106         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16107         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16108         * wcsmbs/wcslen.c (__wcslen): Likewise.
16109         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16110         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16111         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16112         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16113         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16114         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16115         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16116         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16117         * wcsmbs/wcstok.c (wcstok): Likewise.
16118         * wcsmbs/wctob.c (wctob): Likewise.
16119         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16120         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16121         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16122         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16123         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16124         * wcsmbs/wmemset.c (__wmemset): Likewise.
16125         * wctype/wcfuncs.c (__towlower): Likewise.
16126         (__towupper): Likewise.
16128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16129         (lll_unlock_elision): Add adapt_count parameter.
16131 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16133         * sysdeps/nptl/configure.ac: Do not give errors based on the
16134         results of top-level configure tests.
16135         * sysdeps/nptl/configure: Regenerated.
16137         * configure.ac (libc_cv_Bgroup): Remove configure test.
16138         * configure: Regenerated.
16139         * config.make.in (have-Bgroup): Remove variable.
16141         * configure.ac (sizeof_long_double): Remove configure test.
16142         * configure: Regenerated.
16143         * config.make.in (sizeof-long-double): Remove variable.
16145         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16146         * configure: Regenerated.
16147         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16148         variable.
16149         (exceptions): Likewise.
16150         * sysdeps/arm/configure: Regenerated.
16151         * config.make.in (exceptions): Remove variable.
16152         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16153         $(exceptions).
16154         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16155         (CFLAGS-vdprintf_chk.c): Likewise.
16156         (CFLAGS-printf_chk.c): Likewise.
16157         (CFLAGS-fprintf_chk.c): Likewise.
16158         (CFLAGS-vprintf_chk.c): Likewise.
16159         (CFLAGS-vfprintf_chk.c): Likewise.
16160         (CFLAGS-gets_chk.c): Likewise.
16161         (CFLAGS-fgets_chk.c): Likewise.
16162         (CFLAGS-fgets_u_chk.c): Likewise.
16163         (CFLAGS-fread_chk.c): Likewise.
16164         (CFLAGS-fread_u_chk.c): Likewise.
16165         (CFLAGS-wprintf_chk.c): Likewise.
16166         (CFLAGS-fwprintf_chk.c): Likewise.
16167         (CFLAGS-vwprintf_chk.c): Likewise.
16168         (CFLAGS-vfwprintf_chk.c): Likewise.
16169         (CFLAGS-fgetws_chk.c): Likewise.
16170         (CFLAGS-fgetws_u_chk.c): Likewise.
16171         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16172         (CFLAGS-fputc.c): Likewise.
16173         (CFLAGS-fputwc.c): Likewise.
16174         (CFLAGS-freopen64.c): Likewise.
16175         (CFLAGS-freopen.c): Likewise.
16176         (CFLAGS-fseek.c): Likewise.
16177         (CFLAGS-fseeko64.c): Likewise.
16178         (CFLAGS-fseeko.c): Likewise.
16179         (CFLAGS-ftello64.c): Likewise.
16180         (CFLAGS-ftello.c): Likewise.
16181         (CFLAGS-fwide.c): Likewise.
16182         (CFLAGS-genops.c): Likewise.
16183         (CFLAGS-getc.c): Likewise.
16184         (CFLAGS-getchar.c): Likewise.
16185         (CFLAGS-getwc.c): Likewise.
16186         (CFLAGS-getwchar.c): Likewise.
16187         (CFLAGS-iofclose.c): Likewise.
16188         (CFLAGS-iofflush.c): Likewise.
16189         (CFLAGS-iofgetpos64.c): Likewise.
16190         (CFLAGS-iofgetpos.c): Likewise.
16191         (CFLAGS-iofgets.c): Likewise.
16192         (CFLAGS-iofgetws.c): Likewise.
16193         (CFLAGS-iofputs.c): Likewise.
16194         (CFLAGS-iofputws.c): Likewise.
16195         (CFLAGS-iofread.c): Likewise.
16196         (CFLAGS-iofsetpos64.c): Likewise.
16197         (CFLAGS-iofsetpos.c): Likewise.
16198         (CFLAGS-ioftell.c): Likewise.
16199         (CFLAGS-iofwrite.c): Likewise.
16200         (CFLAGS-iogetdelim.c): Likewise.
16201         (CFLAGS-iogetline.c): Likewise.
16202         (CFLAGS-iogets.c): Likewise.
16203         (CFLAGS-iogetwline.c): Likewise.
16204         (CFLAGS-ioputs.c): Likewise.
16205         (CFLAGS-ioseekoff.c): Likewise.
16206         (CFLAGS-ioseekpos.c): Likewise.
16207         (CFLAGS-iosetbuffer.c): Likewise.
16208         (CFLAGS-iosetvbuf.c): Likewise.
16209         (CFLAGS-ioungetc.c): Likewise.
16210         (CFLAGS-ioungetwc.c): Likewise.
16211         (CFLAGS-oldfileops.c): Likewise.
16212         (CFLAGS-oldiofclose.c): Likewise.
16213         (CFLAGS-oldiofgetpos64.c): Likewise.
16214         (CFLAGS-oldiofgetpos.c): Likewise.
16215         (CFLAGS-oldiofsetpos64.c): Likewise.
16216         (CFLAGS-oldiofsetpos.c): Likewise.
16217         (CFLAGS-peekc.c): Likewise.
16218         (CFLAGS-putc.c): Likewise.
16219         (CFLAGS-putchar.c): Likewise.
16220         (CFLAGS-putwc.c): Likewise.
16221         (CFLAGS-putwchar.c): Likewise.
16222         (CFLAGS-rewind.c): Likewise.
16223         (CFLAGS-wfileops.c): Likewise.
16224         (CFLAGS-wgenops.c): Likewise.
16225         (CFLAGS-oldiofopen.c): Likewise.
16226         (CFLAGS-iofopen.c): Likewise.
16227         (CFLAGS-iofopen64.c): Likewise.
16228         (CFLAGS-oldtmpfile.c): Likewise.
16229         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16230         (CFLAGS-fprintf.c): Likewise.
16231         (CFLAGS-printf.c): Likewise.
16232         (CFLAGS-vfwprintf.c): Likewise.
16233         (CFLAGS-vfscanf.c): Likewise.
16234         (CFLAGS-vfwscanf.c): Likewise.
16235         (CFLAGS-fscanf.c): Likewise.
16236         (CFLAGS-scanf.c): Likewise.
16237         (CFLAGS-isoc99_vfscanf.c): Likewise.
16238         (CFLAGS-isoc99_vscanf.c): Likewise.
16239         (CFLAGS-isoc99_fscanf.c): Likewise.
16240         (CFLAGS-isoc99_scanf.c): Likewise.
16241         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16242         (CFLAGS-isoc99_fwscanf.c): Likewise.
16243         (CFLAGS-isoc99_vwscanf.c): Likewise.
16244         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16246         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16247         after mkstemp64.
16248         * login/tst-utmp.c (do_prepare): Likewise.
16249         * rt/tst-aio.c (do_prepare): Likewise.
16250         * rt/tst-aio64.c (do_prepare): Likewise.
16252 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16254         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16255         (__lll_lock_elision): Remove adapt_count decrement...
16256         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16257         (__lll_trylock_elision): Likewise.
16258         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16259         (__lll_unlock_elision): ... to here. And utilize
16260         new adapt_count parameter.
16261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16262         (__lll_unlock_elision): Update to include adapt_count
16263         parameter.
16264         (lll_unlock_elision): Pass pointer to adapt_count
16265         variable.
16267 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16269         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16270         Add elision adapt_count parameter to list of arguments.
16271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16272         (lll_unlock_elision): Update with new parameter list
16273         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16274         (lll_unlock_elision): Likewise.
16275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16276         (lll_unlock_elision): Likewise.
16278 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16280         [BZ #19122]
16281         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16282         attribute_hidden.
16284         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16285         attribute_hidden.
16286         [IS_IN (rtld)] (__strdup): Likewise.
16287         [IS_IN (rtld)] (__strerror_r): Likewise.
16288         [IS_IN (rtld)] (__strsep_g): Likewise.
16289         [IS_IN (rtld)] (memchr): Likewise.
16290         [IS_IN (rtld)] (memcmp): Likewise.
16291         [IS_IN (rtld)] (memcpy): Likewise.
16292         [IS_IN (rtld)] (memmove): Likewise.
16293         [IS_IN (rtld)] (memset): Likewise.
16294         [IS_IN (rtld)] (rawmemchr): Likewise.
16295         [IS_IN (rtld)] (stpcpy): Likewise.
16296         [IS_IN (rtld)] (strchr): Likewise.
16297         [IS_IN (rtld)] (strcmp): Likewise.
16298         [IS_IN (rtld)] (strlen): Likewise.
16299         [IS_IN (rtld)] (strnlen): Likewise.
16300         [IS_IN (rtld)] (strsep): Likewise.
16302         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16303         attribute_hidden.
16304         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16306         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16307         attribute_hidden.
16308         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16310         * include/setjmp.h (__longjmp): Add attribute_hidden.
16311         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16313         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16314         Add attribute_hidden.
16316         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16317         [IS_IN (rtld)] (__open): Likewise.
16318         [IS_IN (rtld)] (__fcntl): Likewise.
16320         * include/dirent.h (__opendirat): Add attribute_hidden.
16321         (__getdents): Likewise.
16322         (__getdents64): Likewise.
16323         (__alloc_dir): Likewise.
16324         [IS_IN (rtld)] (__closedir): Likewise.
16325         [IS_IN (rtld)] (__fdopendir): Likewise.
16326         [IS_IN (rtld)] (__readdir): Likewise.
16327         [IS_IN (rtld)] (__readdir64): Likewise.
16328         [IS_IN (rtld)] (__rewinddir): Likewise.
16330         * include/dlfcn.h (_dl_catch_error): Moved to ...
16331         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16332         attribute_hidden.
16334         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16335         (_itoa_word): Likewise.
16337         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16338         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16339         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16340         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16341         (_dl_higher_prime_number): Likewise.
16342         (_dl_debug_printf_c): Likewise.
16343         (_dl_signal_cerror): Likewise.
16344         (_dl_receive_error): Likewise.
16345         (_dl_reloc_bad_type): Likewise.
16346         (_dl_resolve_conflicts): Likewise.
16347         (_dl_check_all_versions): Likewise.
16348         (_dl_check_map_versions): Likewise.
16349         (_dl_sort_fini): Likewise.
16350         (_dl_debug_initialize): Likewise.
16351         (_dl_init_paths): Likewise.
16352         (_dl_show_auxv): Likewise.
16353         (_dl_next_ld_env_entry): Likewise.
16354         (_dl_important_hwcaps): Likewise.
16355         (_dl_load_cache_lookup): Likewise.
16356         (_dl_update_slotinfo): Likewise.
16357         (_dl_show_scope): Likewise.
16359         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16360         attribute_hidden.
16361         (_wordcopy_fwd_dest_aligned): Likewise.
16362         (_wordcopy_bwd_aligned): Likewise.
16363         (_wordcopy_bwd_dest_aligned): Likewise.
16365         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16366         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16367         Likewise.
16368         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16369         Likewise.
16370         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16372 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16374         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16375         GCC 5 requirement.
16377 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16379         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16380         test.
16381         * sysdeps/i386/configure: Regenerated.
16382         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16383         code unconditional.
16385         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16386         test.
16387         (libc_cv_asm_popsection_directive): Likewise.
16388         * configure: Regenerated.
16389         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16390         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16391         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16392         (__make_section_unallocated): Make definition unconditional.
16393         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16394         Remove conditional definition.
16395         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16396         (__make_section_unallocated): Likewise.
16398         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16399         * configure: Regenerated.
16400         * config.make.in (static-libgcc): Remove variable.
16401         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16402         $(static-libgcc).
16403         (build-module-helper): Likewise.
16405         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16406         * configure: Regenerated.
16408 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16410         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16411         (struct char_buffer): New type.
16412         (char_buffer_start, char_buffer_size, char_buffer_error)
16413         (char_buffer_rewind, char_buffer_add): New functions.
16414         (ADDW): Remove macro, replaced by the char_buffer_add function.
16415         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16416         of extend_alloca.  Make control flow more explicit.
16418 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16420         [BZ #19137]
16421         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16422         Add -fomit-frame-pointer.
16423         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16425 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16427         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16428         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16430         only if !__GNUC_PREREQ (5,0).
16431         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16432         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16433         (INTERNAL_SYSCALL_NCS): Likewise.
16434         (LOADREGS_0): New macro for GCC 5.
16435         (ASMARGS_0): Likewise.
16436         (LOADREGS_1): Likewise.
16437         (ASMARGS_1): Likewise.
16438         (LOADREGS_2): Likewise.
16439         (ASMARGS_2): Likewise.
16440         (LOADREGS_3): Likewise.
16441         (ASMARGS_3): Likewise.
16442         (LOADREGS_4): Likewise.
16443         (ASMARGS_4): Likewise.
16444         (LOADREGS_5): Likewise.
16445         (ASMARGS_5): Likewise.
16446         (LOADREGS_6): Likewise.
16447         (ASMARGS_6): Likewise.
16449 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16451         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16452         -fomit-frame-pointer.
16453         (CFLAGS-mmap64.c): Likewise.
16454         (CFLAGS-semtimedop.c): Likewise.
16455         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16456         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16457         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16458         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16460 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16462         [BZ #18928]
16463         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16464         _dl_pointer_guard member.
16465         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16466         initializer.
16467         (security_init): Always set up pointer guard.
16468         (process_envvars): Do not process LD_POINTER_GUARD.
16470 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #19134]
16473         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16474         (.LC2): Likewise.
16475         (.LC3): Likewise.
16476         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16478 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16480         [BZ #19129]
16481         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16482         r0 and r1.
16484 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16486         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16488 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16490         * include/stap-probe.h: Fix macro definition formatting.
16492 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16494         [BZ #19074]
16495         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16496         load and store num_ifs.
16498 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16500         [BZ #18822]
16501         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16502         (__sched_getaffinity_new): Add libc_hidden_proto and
16503         libc_hidden_def.
16505 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16507         [BZ #19007]
16508         * scripts/localplt.awk: Also allow GOT references.
16509         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16510         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16511         with "+ REL R_386_GLOB_DAT".
16512         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16513         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16515 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16517         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16518         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16519         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16520         Likewise.
16521         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16522         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16523         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16524         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16525         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16526         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16527         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16528         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16532 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16534         [BZ #19125]
16535         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16536         <math_private.h> and <stdint.h>.
16537         (__llround): Avoid conversions to and from long long int, and
16538         subtractions, where those might raise spurious exceptions.
16539         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16540         <math_private.h> and <stdint.h>.
16541         (__llroundf): Avoid conversions to and from long long int, and
16542         subtractions, where those might raise spurious exceptions.
16544 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16546         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16547         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16548         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16549         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16550         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16551         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16552         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16553         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16554         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16555         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16556         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16557         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16558         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16559         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16560         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16561         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16562         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16563         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16564         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16565         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16566         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16567         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16568         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16569         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16570         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16571         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16572         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16573         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16574         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16575         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16576         (__xstat64_conv): Likewise.
16577         (__xstat32_conv): Likewise.
16579 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16581         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16582         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16583         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16584         <sysdeps/unix/sysv/linux/sysdep.h>.
16585         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16586         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16587         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16588         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16589         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16590         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16591         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16592         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16593         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16598         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16599         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16601         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16602         (sysdep-dl-routines): Add sysdep.
16603         [$(subdir) == nptl] (libpthread-routines): Likewise.
16604         [$(subdir) == rt] (librt-routines): Likewise.
16605         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16606         PIC when branching to SYSCALL_ERROR_LABEL.
16607         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16609         <sysdeps/unix/sysv/linux/sysdep.h>.
16610         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16611         (SYSCALL_ERROR_ERRNO): Removed.
16612         (SYSCALL_ERROR_HANDLER): Changed to empty.
16613         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16614         (__syscall_error): New prototype.
16615         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16616         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16618 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16620         [BZ #19124]
16621         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16622         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16623         _dl_runtime_resolve_avx.
16624         (_dl_runtime_profile_avx512): Make it a hidden alias of
16625         _dl_runtime_profile_avx.
16627 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16629         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16630         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16631         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16632         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16634         [BZ #16422]
16635         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16636         New configure test.
16637         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16638         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16639         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16640         <math_private.h> and <stdint.h>.
16641         (__llrint): Avoid conversions to long long int where those might
16642         raise spurious exceptions.
16643         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16644         <math_private.h> and <stdint.h>.
16645         (__llrintf): Avoid conversions to long long int where those might
16646         raise spurious exceptions.
16648 2015-10-12  Andreas Schwab  <schwab@suse.de>
16650         [BZ #18969]
16651         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16652         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16653         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16654         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16655         $(gen-locales).
16656         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16657         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16658         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16659         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16660         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16661         $(gen-locales).
16662         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16663         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16664         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16665         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16666         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16667         ($(objpfx)tst-ftell-active-handler.out)
16668         ($(objpfx)tst-ftell-append.out)
16669         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16670         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16671         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16672         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16673         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16674         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16675         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16676         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16677         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16678         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16679         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16680         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16681         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16682         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16683         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16684         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16685         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16686         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16687         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16688         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16689         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16690         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16691         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16692         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16693         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16694         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16695         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16696         $(gen-locales).
16697         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16698         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16699         $(gen-locales).
16700         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16701         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16702         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16703         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16704         $(gen-locales).
16705         * libio/tst_wprintf2.c (main): Use explicit locale.
16706         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16708 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16710         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16711         __msg_sig_post.
16712         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16714 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16716         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16717         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16719         * sysdeps/arm/libm-test-ulps: Regenerated.
16721         [BZ #15470]
16722         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16724         [BZ #16399]
16725         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16726         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16727         and <fix-fp-int-convert-overflow.h>.
16728         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16729         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16730         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16731         and <fix-fp-int-convert-overflow.h>.
16732         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16733         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16734         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16735         <fix-fp-int-convert-overflow.h>.
16736         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16737         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16738         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16739         <fix-fp-int-convert-overflow.h>.
16740         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16741         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16742         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16743         and <fix-fp-int-convert-overflow.h>.
16744         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16745         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16746         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16747         <limits.h> and <fix-fp-int-convert-overflow.h>.
16748         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16749         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16750         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16751         and <fix-fp-int-convert-overflow.h>.
16752         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16753         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16754         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16755         and <fix-fp-int-convert-overflow.h>.
16756         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16757         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16758         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16760 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16762         [BZ #18589]
16763         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16764         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16765         $(gen-locales).
16767 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16768             Phil Blundell <pb@pbcl.net>
16770         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16771         * nptl/tst-cancel26.c: New file.
16772         * nptl/tst-cancel27.c: Likewise.
16774 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16776         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16777         __ILP32__ isn't defined.
16778         (lrint): Likewise.
16779         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16780         (lrintf): Likewise.
16781         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16782         (lrintl): Likewise.
16783         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16784         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16785         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16787 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16789         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16792         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16793         file.
16794         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16795         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16797 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16799         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16800         configure test.
16801         * sysdeps/i386/configure: Regenerated.
16802         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16803         configure test.
16804         * sysdeps/x86_64/configure: Regenerated.
16805         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16806         Make code unconditional.
16808         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16809         test.
16810         * sysdeps/i386/configure: Regenerated.
16811         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16812         test.
16813         * sysdeps/x86_64/configure: Regenerated.
16814         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16815         Make code unconditional.
16816         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16817         Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16819         Likewise.
16820         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16821         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16822         code unconditional.
16823         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16824         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16825         code unconditional.
16826         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16827         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16828         code unconditional.
16829         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16830         code unconditional.
16831         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16832         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16833         code unconditional.
16834         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16835         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16836         code unconditional.
16837         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16838         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16839         code unconditional.
16840         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16841         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16842         code unconditional.
16843         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16844         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16846         [BZ #19095]
16847         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16848         mantissa to long int before shifting left.
16850 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16852         [BZ #19094]
16853         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16854         <limits.h>.
16855         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16856         when result overflows but exception would not result from cast.
16857         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16858         <limits.h>.
16859         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16860         when result overflows but exception would not result from cast.
16861         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16862         <limits.h>.
16863         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16864         when result overflows but exception would not result from cast.
16865         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16866         <limits.h>.
16867         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16868         when result overflows but exception would not result from cast.
16869         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16870         <limits.h>.
16871         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16872         when result overflows but exception would not result from cast.
16873         * math/libm-test.inc (lrint_test_data): Add more tests.
16874         (llrint_test_data): Likewise.
16876 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16878         [BZ #18872]
16879         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16880         Move out from under [$(run-built-tests) = yes] conditional.
16881         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16882         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16884 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16886         [BZ #18589]
16887         * string/Makefile (tests): Add bug-strcoll2.
16888         (LOCALES): Add cs_CZ.UTF-8.
16889         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16891         [BZ #18589]
16892         * string/bug-strcoll2.c: New file.
16893         * locale/categories.def: Revert commit
16894         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16895         * locale/langinfo.h: Likewise.
16896         * locale/localeinfo.h: Likewise.
16897         * locale/C-collate.c: Likewise.
16898         * locale/programs/ld-collate.c (collate_output): Likewise.
16899         * string/strcoll_l.c (STRDIFF): Likewise.
16900         (STRCOLL): Likewise.
16901         * wcsmbs/wcscoll_l.c: Likewise.
16903 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16905         * math/libm-test.inc (lround_test_data): Do not expect the absence
16906         of "inexact" for some tests with non-integer arguments.
16907         (llround_test_data): Likewise.
16909         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16910         test.
16911         (libc_cv_cc_sse2avx): Likewise.
16912         * sysdeps/i386/configure: Regenerated.
16913         * sysdeps/i386/i686/multiarch/Makefile
16914         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16915         [$(subdir) = math].
16916         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16917         code unconditional.
16918         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16919         Likewise.
16920         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16921         Likewise.
16922         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16923         Likewise.
16924         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16925         test.
16926         (libc_cv_cc_sse2avx): Likewise.
16927         * sysdeps/x86_64/configure: Regenerated.
16928         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16929         unconditional.
16930         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16931         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16932         unconditional.
16933         (_dl_runtime_profile)
16934         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16935         conditional code.
16936         * sysdeps/x86_64/fpu/multiarch/Makefile
16937         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16938         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16939         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16940         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16941         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16942         * sysdeps/x86_64/fpu/multiarch/e_log.c
16943         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16944         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16945         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16946         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16947         Likewise.
16948         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16949         Likewise.
16950         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16951         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16952         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16953         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16954         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16955         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16956         (HAVE_SSE2AVX_SUPPORT): Likewise.
16958 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16960         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16961         instead of #pragma optimize.
16963 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16965         [BZ #17195]
16966         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16967         as is similarly done in systrim and _int_free already.
16969 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16971         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16973 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16975         [BZ #19088]
16976         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16977         <limits.h>.
16978         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16979         overflows but exception would not result from cast.
16980         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16981         and <limits.h>.
16982         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16983         overflows but exception would not result from cast.
16984         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16985         <limits.h>.
16986         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16987         overflows but exception would not result from cast.
16988         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16989         <limits.h>.
16990         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16991         overflows but exception would not result from cast.
16992         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16993         <limits.h>.
16994         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16995         overflows but exception would not result from cast.
16996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16997         <limits.h>.
16998         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16999         overflows but exception would not result from cast.
17000         * math/libm-test.inc (lround_test_data): Add more tests.
17001         (llround_test_data): Likewise.
17003 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17005         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17006         (CFLAGS-ialloc.c): Ditto.
17007         (CFLAGS-scheck.c): Ditto.
17009 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17011         [BZ #19086]
17012         * manual/filesys.texi (Storage Allocation): Fix argument order for
17013         posix_fallocate64.
17015 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17017         [BZ #19085]
17018         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17019         exponent below 48 inside case for non-overflowing exponent.
17020         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17022 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17024         * iconvdata/cp737.h (from_idx): Add const.
17025         * iconvdata/cp775.h (from_idx): Likewise.
17027 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17029         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17030         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17031         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17033         [BZ #19079]
17034         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17035         file, conditioned on [!_LP64].
17036         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17037         [!_LP64] (__lround): Do not define as function or alias.
17038         [!_LP64] (lround): Likewise.
17039         [!_LP64] (__lroundl): Likewise.
17040         [!_LP64] (lroundl): Likewise.
17041         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17042         macro.
17043         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17044         Likewise.
17046 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17048         * math/libm-test.inc (lrint_test_data): Add more tests.
17049         (llrint_test_data): Likewise.
17050         (lround_test_data): Likewise.
17051         (llround_test_data): Likewise.
17053         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17054         (llrint_test_data): Add tests used for lrint.
17056         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17057         test.
17058         * sysdeps/i386/configure: Regenerated.
17059         * sysdeps/i386/i686/multiarch/Makefile
17060         [$(config-cflags-sse4) = yes]: Make code unconditional.
17061         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17062         Likewise.
17063         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17064         Likewise.
17065         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17066         test.
17067         * sysdeps/x86_64/configure: Regenerated.
17068         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17069         Make code unconditional.
17070         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17071         Likewise.
17072         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17073         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17075         * scripts/rpm2dynsym.sh: Remove file.
17077 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17079         * configure.ac (libc_cv_cxx_thread_local): Define.
17080         * configure: Regenerate.
17081         * config.make.in (have-cxx-thread_local): Define.
17082         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17083         (LDLIBS-tst-thread_local1): Define.
17084         (tests): Add tst-thread_local1.
17085         [have-cxx-thread_local != yes] (tests-unsupported): Add
17086         tst-thread_local1.
17087         * nptl/tst-thread_local1.cc: New file.
17089 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17091         [BZ #19078]
17092         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17093         (u_thres): Likewise.
17094         (__expl): Determine whether to call __kernel_standard_l based on
17095         value of result, not argument.
17097         * math/libm-test.inc (scalb_test_data): Add more expectations for
17098         the "inexact" exception.
17100         [BZ #19077]
17101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17102         0.0L for argument 1.0L.
17104         [BZ #19076]
17105         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17106         constant 0.0L when computing infinite result.
17108 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17110         [BZ #10432]
17111         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17112         malloc_usable_size.
17114 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17116         [BZ #19018]
17117         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17118         Mangle function pointer before storing it.
17119         (__call_tls_dtors): Demangle function pointer before calling it.
17121 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17123         [BZ #19012]
17124         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17125         Clean up on failure.
17127 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17129         [BZ #19071]
17130         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17131         long int variable to store possibly incremented high part of
17132         mantissa.
17133         * math/libm-test.inc (lround_test_data): Add tests used for
17134         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17135         for tests requiring 64-bit long.  Do not condition tests on
17136         [TEST_FLOAT] unnecessarily.
17137         (llround_test_data): Add tests used for lround.  Add another
17138         expectation for the "inexact" exception.  Do not condition tests
17139         on [TEST_FLOAT] unnecessarily.
17141         [BZ #887]
17142         [BZ #19049]
17143         [BZ #19050]
17144         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17145         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17146         <fix-int-fp-convert-zero.h>.
17147         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17148         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17149         <fix-int-fp-convert-zero.h>.
17150         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17151         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17152         <fix-int-fp-convert-zero.h>.
17153         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17154         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17155         <fix-int-fp-convert-zero.h>.
17156         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17157         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17158         <fix-int-fp-convert-zero.h>.
17159         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17160         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17161         <fix-int-fp-convert-zero.h>.
17162         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17163         * sysdeps/ieee754/flt-32/s_erff.c: Include
17164         <fix-int-fp-convert-zero.h>.
17165         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17166         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17167         <fix-int-fp-convert-zero.h>.
17168         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17170         <fix-int-fp-convert-zero.h>.
17171         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17173         <fix-int-fp-convert-zero.h>.
17174         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17175         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17176         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17177         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17178         file.
17179         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17181 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17183         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17185 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17187         [BZ #19059]
17188         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17189         overflowing computation.
17190         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17191         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17192         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17193         Likewise.
17194         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17195         Likewise.
17196         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17197         Likewise.
17198         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17199         Likewise.
17200         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17202         Likewise.
17203         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17204         Likewise.
17205         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17207         * nss/rewrite_field.c (__nss_rewrite_field): Use
17208         internal_function.
17209         * nss/valid_field.c (__nss_valid_field): Likewise.
17210         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17212 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17214         [BZ #18724]
17215         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17216         (__nss_invalid_field_characters, __nss_valid_field)
17217         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17218         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17219         tst-field.c: New file.
17220         * nss/Makefile (routines): Add valid_field, rewrite_field.
17221         (tests-static): Define unconditionally.
17222         (tests): Include tests-static.
17223         [build-static-nss] (tests-static): Use append.
17224         [build-static-nss] (tests): Remove modification.
17225         * nss/getent.c (print_group): Call putgrent.  Report error.
17226         (print_gshadow): Call putsgent.  Report error.
17227         (print_passwd): Call putpwent.  Report error.
17228         (print_shadow): Call putspent.  Report error.
17229         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17230         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17231         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17232         name, password, directory, shell fields for valid syntax.  Rewrite
17233         GECOS field to match syntax.
17234         * pwd/Makefile (tests): Add tst-putpwent.
17235         * pwd/tst-putpwent.c: New file.
17236         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17237         Check grName, grpasswd, gr_mem fields for valid syntax.
17238         Change loop variable i to size_t.
17239         * grp/Makefile (tests): Add tst-putgrent.
17240         * grp/tst-putgrent.c: New file.
17241         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17242         valid syntax.
17243         * shadow/Makefile (tests): Add tst-putspent.
17244         * shadow/tst-putspent.c: New file.
17245         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17246         sg_mem fields for valid syntax.
17247         * gshadow/Makefile (tests): Add tst-putsgent.
17248         * gshadow/tst-putsgent.c: New file.
17250 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17252         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17253         assembly instructions.
17255 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17257         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17258         prefix from operands.
17260 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17262         [BZ #16347]
17263         [BZ #19046]
17264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17265         <libc-internal.h>.
17266         (MAXLGM): Do not use diagnostic control macros.
17267         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17268         threshold for ldbl-128ibm.
17269         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17270         instead of multiplying by log then subtracting.
17271         * math/auto-libm-test-in: Add more tests of lgamma.
17272         * math/auto-libm-test-out: Regenerated.
17274         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17275         (TYPE_HEX_DIG): Likewise.
17276         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17277         precisions when printing floating-point numbers.
17278         (check_float_internal): Likewise.
17280 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17282         [BZ #16620]
17283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17284         of log (10) rounded downward to 48 bits.
17285         (log10_low): Use corresponding low part of log (10).
17287         [BZ #19032]
17288         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17289         compute result as (x - x) / (x - x) not as 0 / 0.
17290         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17291         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17293         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17294         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17295         and expm1.
17296         * math/auto-libm-test-out: Regenerated.
17297         * math/libm-test.inc (acos_test_data): Add more tests.
17298         (asin_test_data): Likewise.
17299         (asinh_test_data): Likewise.
17300         (atan_test_data): Likewise.
17301         (atanh_test_data): Likewise.
17302         (atan2_test_data): Likewise.
17303         (cbrt_test_data): Likewise.
17304         (ceil_test_data): Likewise.
17305         (copysign_test_data): Likewise.
17306         (cos_test_data): Likewise.
17307         (cosh_test_data): Likewise.
17308         (erf_test_data): Likewise.
17309         (erfc_test_data): Likewise.
17310         (exp_test_data): Likewise.
17311         (exp10_test_data): Likewise.
17312         (exp2_test_data): Likewise.
17313         (expm1_test_data): Likewise.
17314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17316 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17318         [BZ #19006]
17319         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17320         to ...
17321         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17322         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17323         to ...
17324         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17325         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17326         to ...
17327         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17328         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17329         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17330         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17331         to ...
17332         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17333         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17334         Moved to ...
17335         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17336         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17337         Moved to ...
17338         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17340         to ...
17341         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17343         Moved to ...
17344         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17346         to ...
17347         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17348         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17349         Removed.
17350         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17351         Likewise.
17352         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17353         Likewise.
17354         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17355         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17356         Likewise.
17357         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17360         Likewise.
17361         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17362         Likewise.
17363         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17364         Likewise.
17365         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17366         Likewise.
17367         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17368         Likewise.
17369         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17370         Likewise.
17371         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17372         Likewise.
17373         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17374         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17375         Likewise.
17376         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17377         Likewise.
17378         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17379         Likewise.
17380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17381         Likewise.
17382         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17385         Replace ../i486/pthread_cond_timedwait.S with
17386         ../pthread_cond_timedwait.S.
17388 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17390         * math/libm-test.inc (acos_test_data): Refine expectations for
17391         errno and "inexact" exceptions.
17392         (acosh_test_data): Likewise.
17393         (asin_test_data): Likewise.
17394         (asinh_test_data): Likewise.
17395         (atan_test_data): Likewise.
17396         (atanh_test_data): Likewise.
17397         (atan2_test_data): Likewise.
17398         (cbrt_test_data): Likewise.
17399         (ceil_test_data): Likewise.
17400         (copysign_test_data): Likewise.
17401         (cosh_test_data): Likewise.
17402         (erf_test_data): Likewise.
17403         (erfc_test_data): Likewise.
17404         (exp_test_data): Likewise.
17405         (exp10_test_data): Likewise.
17406         (exp2_test_data): Likewise.
17407         (expm1_test_data): Likewise.
17408         (fabs_test_data): Likewise.
17409         (floor_test_data): Likewise.
17410         (fma_test_data): Likewise.
17411         (fmax_test_data): Likewise.
17412         (fmin_test_data): Likewise.
17413         (fmod_test_data): Likewise.
17414         (fpclassify_test_data): Likewise.
17415         (frexp_test_data): Likewise.
17416         (hypot_test_data): Likewise.
17417         (ilogb_test_data): Likewise.
17418         (isgreater_test_data): Likewise.
17419         (isgreaterequal_test_data): Likewise.
17420         (isinf_test_data): Likewise.
17421         (isless_test_data): Likewise.
17422         (islessequal_test_data): Likewise.
17423         (islessgreater_test_data): Likewise.
17424         (isnan_test_data): Likewise.
17425         (isnormal_test_data): Likewise.
17426         (issignaling_test_data): Likewise.
17427         (isunordered_test_data): Likewise.
17428         (j0_test_data): Likewise.
17429         (j1_test_data): Likewise.
17430         (jn_test_data): Likewise.
17431         (lgamma_test_data): Likewise.
17432         (lrint_test_data): Likewise.
17433         (llrint_test_data): Likewise.
17434         (log_test_data): Likewise.
17435         (log10_test_data): Likewise.
17436         (log1p_test_data): Likewise.
17437         (log2_test_data): Likewise.
17438         (logb_test_data): Likewise.
17439         (lround_test_data): Likewise.
17440         (llround_test_data): Likewise.
17441         (modf_test_data): Likewise.
17442         (nearbyint_test_data): Likewise.
17443         (nextafter_test_data): Likewise.
17444         (nexttoward_test_data): Likewise.
17445         (pow_test_data): Likewise.
17446         (remainder_test_data): Likewise.
17447         (remquo_test_data): Likewise.
17448         (rint_test_data): Likewise.
17449         (round_test_data): Likewise.
17450         (signbit_test_data): Likewise.
17451         (sinh_test_data): Likewise.
17452         (sqrt_test_data): Likewise.
17453         (tanh_test_data): Likewise.
17454         (tgamma_test_data): Likewise.
17455         (trunc_test_data): Likewise.
17456         (y0_test_data): Likewise.
17457         (y1_test_data): Likewise.
17458         (yn_test_data): Likewise.
17459         (significand_test_data): Likewise.
17461 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17463         * manual/filesys.texi (Storage Allocation): Document that
17464         posix_fallocate emulation fails when fd is open with O_WRONLY.
17466 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17468         [BZ #19016]
17469         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17470         allow more cases with X^2 + Y^2 >= 0.5.
17471         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17472         normal element in sum instead of special-casing based on values of
17473         arguments.
17474         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17475         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17476         -1 as normal element in sum instead of special-casing based on
17477         values of arguments.
17478         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17479         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17480         (__x2y2m1): Update comment.
17481         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17482         as normal element in sum instead of special-casing based on values
17483         of arguments.
17484         * math/s_clog.c (__clog): Handle more cases using log1p without
17485         hypot.
17486         * math/s_clog10.c (__clog10): Likewise.
17487         * math/s_clog10f.c (__clog10f): Likewise.
17488         * math/s_clog10l.c (__clog10l): Likewise.
17489         * math/s_clogf.c (__clogf): Likewise.
17490         * math/s_clogl.c (__clogl): Likewise.
17491         * math/auto-libm-test-in: Add more tests of clog and clog10.
17492         * math/auto-libm-test-out: Regenerated.
17493         * sysdeps/i386/fpu/libm-test-ulps: Update.
17494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17496 2015-09-28  Martin Sebor  <msebor@redhat.com>
17498         [BZ #18969]
17499         * string/Makefile (LOCALES): Define.
17500         (gen-locales.mk): Include.
17501         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17502         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17503         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17504         on setlocale failure.
17506 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17508         [BZ #18985]
17509         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17510         (__strftime_internal): Likewise.
17511         * time/tst-strftime.c (do_bz18985): New test.
17512         (do_test): Call it.
17514 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17516         [BZ #18956]
17517         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17518         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17519         extracting high part.
17520         * math/auto-libm-test-in: Add another test of pow.
17521         * math/auto-libm-test-out: Regenerated.
17522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17524 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17526         [BZ #18825]
17527         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17528         New macro.
17529         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17530         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17531         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17532         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17533         DBL_NARROW_EVAL, reloading the PIC register as needed.
17534         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17535         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17536         FLT_NARROW_EVAL.  Use separate return path for case when first
17537         argument is NaN.
17538         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17539         DEFINE_LDBL_MIN.
17540         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17541         PIC register.
17542         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17543         math_check_force_underflow_nonneg.
17544         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17545         underflow for subnormal result.
17546         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17547         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17548         math_check_force_underflow_nonneg.
17549         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17550         math_check_force_underflow.
17551         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17552         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17553         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17554         DEFINE_LDBL_MIN.
17555         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17556         * math/auto-libm-test-in: Add more tests of pow.
17557         * math/auto-libm-test-out: Regenerated.
17559 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17561         * nss/bug17079.c (init_test_items): Add diagnostic for
17562         inconsistent entries.
17563         (test_buffer_size): Skip inconsistent entries.
17565 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17567         [BZ #13304]
17568         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17569         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17570         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17572         [BZ #13304]
17573         * sysdeps/microblaze/s_fma.c: New file.
17574         * sysdeps/microblaze/s_fmaf.c: Likewise.
17575         * sysdeps/microblaze/sfp-machine.h: Likewise.
17577 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17579         [BZ #17250]
17580         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17581         member.
17583 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17585         [BZ #18803]
17586         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17587         (MO): New macro.
17588         (__ieee754_hypot) [PIC]: Load PIC register.
17589         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17590         DBL_NARROW_EVAL.
17591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17592         math_check_force_underflow_nonneg in case where result might be
17593         tiny.
17594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17595         Likewise.
17596         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17597         Likewise.
17598         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17599         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17600         * math/auto-libm-test-in: Add more tests of hypot.
17601         * math/auto-libm-test-out: Regenerated.
17603 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17605         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17607 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17609         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17610         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17611         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17612         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17613         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17614         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17615         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17617         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17618         LOAD_PIC_REG.
17620         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17621         (FLT_CHECK_FORCE_UFLOW): Likewise.
17622         (DBL_CHECK_FORCE_UFLOW): Likewise.
17623         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17624         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17625         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17626         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17627         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17628         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17629         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17630         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17631         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17632         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17633         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17634         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17635         (flt_min): Replace with use of DEFINE_FLT_MIN.
17636         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17637         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17638         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17639         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17640         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17641         (flt_min): Replace with use of DEFINE_FLT_MIN.
17642         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17643         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17644         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17645         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17646         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17647         (flt_min): Replace with use of DEFINE_FLT_MIN.
17648         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17649         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17650         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17651         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17652         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17653         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17654         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17655         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17656         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17657         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17658         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17659         (flt_min): Replace with use of DEFINE_FLT_MIN.
17660         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17661         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17662         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17663         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17664         main computation.
17665         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17666         (flt_min): Replace with use of DEFINE_FLT_MIN.
17667         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17668         main computation.
17669         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17670         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17671         (MO): New macro.
17672         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17673         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17674         (flt_min): Replace with use of DEFINE_FLT_MIN.
17675         (MO): New macro.
17676         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17677         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17678         (__log1pl): Use MO.
17680         [BZ #19003]
17681         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17682         $(config-cflags-nofma).
17684 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17686         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17688 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17690         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17691         (TWO127): Likewise.
17693         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17694         (min_of_type): Likewise.
17695         (math_check_force_underflow): Likewise.
17696         (math_check_force_underflow_nonneg): Likewise.
17697         (math_check_force_underflow_complex): Likewise.
17698         * math/e_exp2l.c (__ieee754_exp2l): Use
17699         math_check_force_underflow_nonneg.
17700         * math/k_casinh.c (__kernel_casinh): Likewise.
17701         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17702         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17703         * math/s_catan.c (__catan): Use
17704         math_check_force_underflow_complex.
17705         * math/s_catanf.c (__catanf): Likewise.
17706         * math/s_catanh.c (__catanh): Likewise.
17707         * math/s_catanhf.c (__catanhf): Likewise.
17708         * math/s_catanhl.c (__catanhl): Likewise.
17709         * math/s_catanl.c (__catanl): Likewise.
17710         * math/s_ccosh.c (__ccosh): Likewise.
17711         * math/s_ccoshf.c (__ccoshf): Likewise.
17712         * math/s_ccoshl.c (__ccoshl): Likewise.
17713         * math/s_cexp.c (__cexp): Likewise.
17714         * math/s_cexpf.c (__cexpf): Likewise.
17715         * math/s_cexpl.c (__cexpl): Likewise.
17716         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17717         * math/s_clog10.c (__clog10): Likewise.
17718         * math/s_clog10f.c (__clog10f): Likewise.
17719         * math/s_clog10l.c (__clog10l): Likewise.
17720         * math/s_clogf.c (__clogf): Likewise.
17721         * math/s_clogl.c (__clogl): Likewise.
17722         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17723         * math/s_csinf.c (__csinf): Likewise.
17724         * math/s_csinh.c (__csinh): Likewise.
17725         * math/s_csinhf.c (__csinhf): Likewise.
17726         * math/s_csinhl.c (__csinhl): Likewise.
17727         * math/s_csinl.c (__csinl): Likewise.
17728         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17729         * math/s_csqrtf.c (__csqrtf): Likewise.
17730         * math/s_csqrtl.c (__csqrtl): Likewise.
17731         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17732         * math/s_ctanf.c (__ctanf): Likewise.
17733         * math/s_ctanh.c (__ctanh): Likewise.
17734         * math/s_ctanhf.c (__ctanhf): Likewise.
17735         * math/s_ctanhl.c (__ctanhl): Likewise.
17736         * math/s_ctanl.c (__ctanl): Likewise.
17737         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17738         instead of volatile.
17739         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17740         math_check_force_underflow.
17741         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17742         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17743         volatile when forcing underflow.
17744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17745         math_check_force_underflow_nonneg.
17746         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17747         Likewise.
17748         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17749         math_check_force_underflow.
17750         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17751         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17752         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17753         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17754         math_check_force_underflow_nonneg.
17755         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17756         math_check_force_underflow.
17757         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17759         instead of volatile.
17760         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17761         math_check_force_underflow.
17762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17763         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17764         math_check_force_underflow_nonneg.
17765         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17766         math_check_force_underflow.
17767         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17768         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17769         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17770         math_check_force_underflow_nonneg.
17771         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17772         Likewise.
17773         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17774         math_check_force_underflow.
17775         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17776         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17777         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17778         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17779         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17780         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17781         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17782         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17783         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17784         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17785         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17786         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17787         Likewise.
17788         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17789         math_check_force_underflow_nonneg.
17790         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17791         Likewise.
17792         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17793         math_check_force_underflow.
17794         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17795         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17796         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17797         Likewise.
17798         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17799         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17800         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17801         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17802         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17803         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17805         instead of volatile.
17806         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17807         math_check_force_underflow.
17808         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17810         math_check_force_underflow.
17811         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17812         Likewise.
17813         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17814         Use math_check_force_underflow_nonneg.
17815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17816         math_check_force_underflow.
17817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17818         Likewise.
17819         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17820         Likewise.
17821         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17822         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17823         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17826         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17827         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17828         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17829         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17830         math_check_force_underflow_nonneg.
17831         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17832         math_check_force_underflow.
17833         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17834         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17835         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17836         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17837         math_check_force_underflow_nonneg.
17838         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17839         math_check_force_underflow.
17840         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17842         instead of volatile.
17843         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17844         math_check_force_underflow.
17846         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17847         * stdlib/strtod_l.c: Include <math_private.h>.
17848         (overflow_value): Use math_narrow_eval.
17849         (underflow_value): Likewise.
17850         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17851         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17852         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17853         (__ieee754_gamma_r): Likewise.
17854         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17855         Likewise.
17856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17857         Likewise.
17858         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17859         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17860         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17861         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17862         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17863         (__ieee754_gammaf_r): Likewise.
17864         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17865         Likewise.
17866         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17867         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17868         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17869         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17870         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17871         volatile.
17872         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17874         math_narrow_eval.
17875         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17876         Likewise.
17877         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17878         Likewise.
17879         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17880         Likewise.
17881         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17882         volatile.
17883         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17884         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17885         math_narrow_eval.
17886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17887         Likewise.
17888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17889         Likewise.
17891 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17893         * nptl/Versions: Remove ignored symbols.
17895 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17897         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17898         * nss/Makefile (tests): Update.
17900 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17902         * nss/bug18287.c: New file.
17903         * nss/Makefile (tests): Add bug18287.
17905 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17907         * mach/Versions (__mach_host_self_): Add symbol.
17909 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17911         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17912         vm_page_size.
17914 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17916         Really fix sysdeps/i386/fpu/s_scalbn.S build
17918         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17919         (libc: GLIBC_2_22): Remove unused version set.
17921 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17923         * config.make.in (enable-timezone-tools): New variable.
17924         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17925         (enable_timezone_tools): Export to generated files.
17926         * configure: Regenerate.
17927         * INSTALL: Regenerate.
17928         * manual/install.texi (--disable-timezone-tools): Document new flag.
17929         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17930         ifeq ($(enable-timezone-tools),yes) check.
17932 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17934         * timezone/Makefile: Revert previous change.
17936         [BZ #18980]
17937         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17938         (DEFINE_DBL_MIN): Likewise.
17939         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17940         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17941         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17942         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17943         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17944         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17945         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17946         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17947         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17948         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17949         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17950         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17951         (flt_min): Replace with use of DEFINE_FLT_MIN.
17952         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17953         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17955         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17956         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17957         (flt_min): Replace with use of DEFINE_FLT_MIN.
17958         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17959         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17960         (flt_min): Replace with use of DEFINE_FLT_MIN.
17961         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17962         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17963         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17964         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17965         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17966         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17967         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17968         (__ieee754_pow): Use DBL_NARROW_EVAL.
17969         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17970         (__ieee754_powf): Use FLT_NARROW_EVAL.
17971         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17972         (__ieee754_expf_sse2): Convert double-precision result to single
17973         precision.
17974         * sysdeps/i386/fpu/libm-test-ulps: Update.
17976 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17978         * timezone/Makefile: Ignore unused variable errors due to private.h
17979         (time_t_min) and (time_t_max).
17980         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17981         Likewise.
17983 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17985         [BZ #18981]
17986         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17987         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17988         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17989         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17990         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17991         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17992         (__scalbn): Use DBL_NARROW_EVAL.
17993         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17994         (__scalbnf): Use FLT_NARROW_EVAL.
17996 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17998         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17999         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18000         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18001         * stdio-common/printf_fp.c (___printf_fp):
18002         Use signbit to get the sign. Use isinf macro to allow inlining.
18003         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18004         * stdio-common/printf_size.c (__printf_size): Likewise.
18006 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18008         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18010 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18012         [BZ #18980]
18013         * sysdeps/generic/math_private.h: Include <float.h>.
18014         (math_narrow_eval): New macro.
18015         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18016         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18017         math_narrow_eval on overflowing return value.
18018         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18019         Likewise.
18020         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18021         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18023         Likewise.
18024         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18026 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18028         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18029         * math/Makefile: Remove isinf_ns.c.
18030         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18031         * math/multc3.c (__multc3): Likewise.
18032         * math/s_casin.c (__casin): Likewise.
18033         * math/s_casinf.c (__casinf): Likewise.
18034         * math/s_casinl.c (__casinl): Likewise.
18035         * math/s_cproj.c (__cproj): Likewise.
18036         * math/s_cprojf.c (__cprojf): Likewise.
18037         * math/s_cprojl.c (__cprofl): Likewise.
18038         * math/s_ctan.c (__ctan): Likewise.
18039         * math/s_ctanf.c (__ctanf): Likewise.
18040         * math/s_ctanh.c (__ctanh): Likewise.
18041         * math/s_ctanhf.c (__ctanhf): Likewise.
18042         * math/s_ctanhl.c (__ctanhl): Likewise.
18043         * math/s_ctanl.c (__ctanl): Likewise.
18044         * math/w_fmod.c (__fmod): Likewise.
18045         * math/w_fmodf.c (__fmodf): Likewise.
18046         * math/w_fmodl.c (_fmodl): Likewise.
18047         * math/w_remainder.c (__remainder): Likewise.
18048         * math/w_remainderf.c (__remainderf): Likewise.
18049         * math/w_remainderl.c (__remainderl): Likewise.
18050         * math/w_scalb.c (__scalb): Likewise.
18051         * math/w_scalbf.c (__scalbf): Likewise.
18052         * math/w_scalbl.c (__scalbl): Likewise.
18053         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18054         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18055         with isinf.
18056         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18058         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18059         __isinf_nsf with isinf.
18060         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18061         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18062         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18063         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18064         with isinf.
18065         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18066         __isinf_nsl with isinf.
18067         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18068         with isinf.
18069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18071         __isinf_nsl with isinf.
18072         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18073         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18074         with isinf.
18076 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18078         * resolv/base64.c (rcsid): Remove unused static.
18079         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18080         static.  (tqpi1): Likewise.
18081         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18082         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18083         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18084         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18085         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18086         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18087         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18088         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18089         Likewise.
18091 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18093         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18094         <nptl/pthreadP.h>.
18095         (_longjmp_unwind): Use __libc_ptf_call.
18096         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18098 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18100         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18101         * sysdeps/arm/__longjmp.S: Likewise.
18103 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18105         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18106         Use __builtin_signbit.
18107         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18108         Use __builtin_signbitf.
18109         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18110         Use __builtin_signbitl.
18111         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18112         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18114 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18116         [BZ #15367]
18117         [BZ #17441]
18119         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18120         * math/math.h (fpclassify): Use __builtin_fpclassify when
18121         available.  (signbit): Use __builtin_signbit(f/l).
18122         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18123         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18124         (isinf): Use __builtin_isinf_sign.
18126 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18128         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18129         * benchtests/bench-math-inlines.c: New benchmark.
18130         * benchtests/bench-util.h: New file.
18131         * benchtests/bench-util.c: New file.
18132         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18134 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18136         * elf/tst-dlmopen1.c: Define TEST_SO.
18137         (do_test): Use TEST_SO.
18139         * elf/dl-load.c: Include libc-internal.h.
18140         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18142 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18144         [BZ #17887]
18145         * time/strptime_l.c (__strptime_internal): Make %z accept
18146         [+-]HH:MM time zones.
18148 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18150         [BZ #17886]
18151         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18152         valid time zone.
18154 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18156         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18157         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18158         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18159         (__ASSUME_FDATASYNC): Delete.
18161 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18163         * conform/linknamespace.pl: Require weak undefined symbols to be
18164         in the standard namespace.
18165         (%strong_syms): Rename to %seen_syms.
18166         (%strong_seen): Rename to %seen_where.
18168 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18170         [BZ #18970]
18171         * misc/error.c (error): Replace pthread_setcancelstate with
18172         __pthread_setcancelstate.
18173         (error_at_line): Likewise.
18174         * posix/wordexp.c (parse_comm): Likewise.
18175         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18176         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18177         (__pthread_setcancelstate): This.
18178         (pthread_setcancelstate): Add an alias.
18179         * nptl/nptl-init.c (pthread_functions): Replace
18180         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18181         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18182         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18183         hidden_proto.
18184         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18185         it with hidden_def.
18186         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18187         (pthread_setcancelstate): Renamed to ...
18188         (__pthread_setcancelstate): This.
18189         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18190         __libc_ptf_call with __pthread_setcancelstate.
18192 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18193             Andreas Schwab  <schwab@suse.de>
18195         [BZ #17118]
18196         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18197         result when imaginary part of argument is infinite using sine and
18198         cosine.
18199         * math/s_ctanf.c (__ctanf): Likewise.
18200         * math/s_ctanl.c (__ctanl): Likewise.
18201         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18202         of result when real part of argument is infinite using sine and
18203         cosine.
18204         * math/s_ctanhf.c (__ctanhf): Likewise.
18205         * math/s_ctanhl.c (__ctanhl): Likewise.
18206         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18207         (ctanh_test_data): Add more tests of ctanh.
18209 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18211         [BZ #15384]
18212         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18213         bit-mask as in subtraction.
18214         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18215         Likewise.
18216         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18217         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18218         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18220         [BZ #18951]
18221         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18222         underflow exception for small results.
18223         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18224         Likewise.
18225         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18226         Likewise.
18227         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18228         Likewise.
18229         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18230         Likewise.
18231         * math/auto-libm-test-in: Add more tests of tgamma.
18232         * math/auto-libm-test-out: Regenerated.
18234 2015-09-17  Andreas Schwab  <schwab@suse.de>
18236         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18238 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #18977]
18241         * math/bits/mathcalls.h
18242         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18243         not declare.
18244         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18245         Likewise.
18246         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18247         Likewise.
18248         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18249         Likewise.
18250         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18251         Likewise.
18252         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18253         Likewise.
18254         * conform/data/math.h-data
18255         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18256         function.
18257         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18259         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18261         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18266         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18267         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18269         [BZ #6803]
18270         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18271         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18272         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18273         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18274         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18275         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18276         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18277         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18278         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18280         Likewise.
18281         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18282         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18283         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18285         long_double_symbol calls.
18286         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18287         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18288         strong alias of __ldexpl.
18289         (scalbnl): Define using long_double_symbol.
18290         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18291         Remove alias.
18292         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18293         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18294         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18295         (scalbln_test_data): Add more errno expectations.
18297 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18299         Cache the host port like we cache the task port.  This way we do not
18300         need to call the kernel just to get the port.  Furthermore, we no
18301         longer increase the reference count on every invocation of
18302         `mach_host_self'.
18304         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18305         Protect declarations against the macro expansion.
18306         * mach/mach_init.c (__mach_host_self_): New variable.
18307         (mach_init): Initialize `__mach_host_self_'.
18308         * mach/mach_init.h (__mach_host_self_): New declaration.
18309         (__mach_host_self, mach_host_self): New macros.
18310         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18311         Release reference.
18313 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18315         [BZ #4404]
18316         * po/de.po: Update from Translation Project.
18318         [BZ #16415]
18319         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18320         (__expm1l): Remove code to handle positive infinity and overflow.
18321         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18322         variable.
18323         (__expm1l): Remove code to handle positive infinity and overflow.
18325 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18326             Paul Pluzhnikov  <ppluzhnikov@google.com>
18328         [BZ #18872]
18329         * stdio-common/Makefile (tst-printf-bz18872): New test.
18330         (tst-printf-bz18872-mem.out): Likewise.
18331         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18332         * stdio-common/vfprintf.c: Fix memory leaks.
18334 2015-09-16  Andreas Schwab  <schwab@suse.de>
18336         [BZ #17244]
18337         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18338         Remove extra va_start/va_end calls.
18340         [BZ #17243]
18341         * posix/execl.c (execl): Add missing va_end.
18342         * posix/execle.c (execle): Likewise.
18343         * posix/execlp.c (execlp): Likewise.
18345 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18347         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18348         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18350 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18352         [BZ #18967]
18353         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18354         undefine around includes of <bits/mathcalls.h>.
18355         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18356         not declare function.
18357         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18358         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18359         (scalb): Likewise.
18360         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18361         not define macro.
18362         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18363         variable.
18364         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18365         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18366         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18368         [BZ #18857]
18369         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18370         return non-finite argument without doing ordered comparisons on
18371         it.
18373         [BZ #16296]
18374         * math/fenv.h (fegetround): Use __attribute_pure__.
18375         * include/fenv.h (__fegetround): Likewise.
18377         [BZ #18595]
18378         * math/s_ctan.c (__ctan): Force underflow exception for results
18379         whose real or imaginary part has small absolute value.
18380         * math/s_ctanf.c (__ctanf): Likewise.
18381         * math/s_ctanh.c (__ctanh): Likewise.
18382         * math/s_ctanhf.c (__ctanhf): Likewise.
18383         * math/s_ctanhl.c (__ctanhl): Likewise.
18384         * math/s_ctanl.c (__ctanl): Likewise.
18385         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18386         and ctanh.  Add more tests of ctan and ctanh.
18388         [BZ #15918]
18389         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18390         handling of cases where one argument is an infinity.
18392         [BZ #18875]
18393         [BZ #18966]
18394         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18395         (MO): New macro.
18396         (__ieee754_exp10): For small results, force underflow exception
18397         and remove excess range and precision from return value.
18398         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18399         (MO): New macro.
18400         (__ieee754_exp10f): For small results, force underflow exception
18401         and remove excess range and precision from return value.
18402         * math/auto-libm-test-in: Add more tests of exp10.
18403         * math/auto-libm-test-out: Regenerated.
18405 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18407         [BZ #18875]
18408         [BZ #18961]
18409         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18410         (MO): New macro.
18411         (__ieee754_exp): For small results, force underflow exception and
18412         remove excess range and precision from return value.
18413         (__exp_finite): Likewise.
18414         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18415         (MO): New macro.
18416         (__ieee754_expf): For small results, force underflow exception and
18417         remove excess range and precision from return value.
18418         (__expf_finite): Likewise.
18419         * math/auto-libm-test-in: Add more tests of exp.
18420         * math/auto-libm-test-out: Regenerated.
18422         [BZ #16521]
18423         [BZ #18875]
18424         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18425         small results.
18426         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18427         (MO): New macro.
18428         (__ieee754_exp2): For small results, force underflow exception and
18429         remove excess range and precision from return value.
18430         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18431         (MO): New macro.
18432         (__ieee754_exp2f): For small results, force underflow exception
18433         and remove excess range and precision from return value.
18434         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18435         (MO): New macro.
18436         (__ieee754_exp2l): Force underflow exception for small results.
18437         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18438         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18439         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18440         (MO): New macro.
18441         (__ieee754_exp2l): Force underflow exception for small results.
18442         * math/auto-libm-test-in: Add more tests or exp2.
18443         * math/auto-libm-test-out: Regenerated.
18445 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18447         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18449         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18450         /dev/null.
18452 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18454         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18455         io fs process)): Drop spurious backslash.
18457 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18460         Use sysinfo system call instead of parsing /proc/meminfo.
18461         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18462         Likewise.
18464 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18466         [BZ #16985]
18467         * programs/localedef.c (main): Display argv[remaining] when
18468         output_path is NULL.
18470 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18472         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18473         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18474         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18475         tanh.
18476         * math/auto-libm-test-out: Regenerated.
18477         * sysdeps/i386/fpu/libm-test-ulps: Update.
18478         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18479         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18482 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18484         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18485         Use 'override' keyword to freeze the value here, preventing
18486         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18488 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18490         [BZ #14912]
18491         * sysdeps/aarch64/bits/atomic.h: Move to ...
18492         * sysdeps/aarch64/atomic-machine.h: ...here.
18493         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18494         _AARCH64_ATOMIC_MACHINE_H.
18495         * sysdeps/alpha/bits/atomic.h: Move to ...
18496         * sysdeps/alpha/atomic-machine.h: ...here.
18497         * sysdeps/arm/bits/atomic.h: Move to ...
18498         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18499         * bits/atomic.h: Move to ...
18500         * sysdeps/generic/atomic-machine.h: ...here.
18501         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18502         * sysdeps/i386/bits/atomic.h: Move to ...
18503         * sysdeps/i386/atomic-machine.h: ...here.
18504         * sysdeps/ia64/bits/atomic.h: Move to ...
18505         * sysdeps/ia64/atomic-machine.h: ...here.
18506         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18507         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18508         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18509         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18510         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18511         * sysdeps/microblaze/bits/atomic.h: Move to ...
18512         * sysdeps/microblaze/atomic-machine.h: ...here.
18513         * sysdeps/mips/bits/atomic.h: Move to ...
18514         * sysdeps/mips/atomic-machine.h: ...here.
18515         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18516         * sysdeps/powerpc/bits/atomic.h: Move to ...
18517         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18518         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18519         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18520         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18521         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18522         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18523         <atomic-machine.h> instead of <bits/atomic.h>.
18524         * sysdeps/s390/bits/atomic.h: Move to ...
18525         * sysdeps/s390/atomic-machine.h: ...here.
18526         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18527         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18528         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18529         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18530         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18531         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18532         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18533         * sysdeps/tile/bits/atomic.h: Move to ...
18534         * sysdeps/tile/atomic-machine.h: ...here.
18535         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18536         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18537         <sysdeps/tile/atomic-machine.h> instead of
18538         <sysdeps/tile/bits/atomic.h>.
18539         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18540         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18541         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18542         <sysdeps/tile/atomic-machine.h> instead of
18543         <sysdeps/tile/bits/atomic.h>.
18544         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18545         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18546         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18547         <sysdeps/arm/atomic-machine.h> instead of
18548         <sysdeps/arm/bits/atomic.h>.
18549         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18550         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18551         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18552         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18553         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18555         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18556         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18557         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18558         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18559         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18560         * sysdeps/x86_64/bits/atomic.h: Move to ...
18561         * sysdeps/x86_64/atomic-machine.h: ...here.
18562         * include/atomic.h: Include <atomic-machine.h> instead of
18563         <bits/atomic.h>.
18565         * sysdeps/mips/mips32/libm-test-ulps: Update.
18566         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18568         [BZ #18952]
18569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18570         not convert non-integer negative arguments to int to determine the
18571         value of signgam.
18572         * math/auto-libm-test-in: Add more tests of lgamma.
18573         * math/auto-libm-test-out: Regenerated.
18575         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18576         cosh, csqrt, erfc, expm1 and lgamma.
18577         * math/auto-libm-test-out: Regenerated.
18578         * sysdeps/i386/fpu/libm-test-ulps: Update.
18579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18581 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18583         [BZ #2542]
18584         [BZ #2543]
18585         [BZ #2558]
18586         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18587         __lgamma_neg for arguments from -28.0 to -2.0.
18588         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18589         __lgamma_negf for arguments from -15.0 to -2.0.
18590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18591         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18592         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18593         Call __lgamma_negl for arguments from -33.0 to -2.0.
18594         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18595         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18596         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18597         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18598         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18599         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18600         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18602         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18603         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18604         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18605         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18606         (__lgamma_neg): Likewise.
18607         (__lgamma_negl): Likewise.
18608         (__lgamma_product): Likewise.
18609         (__lgamma_productl): Likewise.
18610         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18611         * math/auto-libm-test-in: Add more tests of lgamma.
18612         * math/auto-libm-test-out: Regenerated.
18613         * sysdeps/i386/fpu/libm-test-ulps: Update.
18614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18616 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18618         [BZ #18675]
18619         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18621 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18623         [BZ #14912]
18624         * bits/libc-lock.h: Move to ...
18625         * sysdeps/generic/libc-lock.h: ...here.
18626         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18627         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18628         * sysdeps/mach/hurd/libc-lock.h: ...here.
18629         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18630         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18631         * sysdeps/mach/bits/libc-lock.h: Move to ...
18632         * sysdeps/mach/libc-lock.h: ...here.
18633         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18634         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18635         * sysdeps/nptl/libc-lock.h: ...here.
18636         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18637         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18638         * sysdeps/nptl/libc-lockP.h: ...here.
18639         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18640         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18641         <bits/libc-lock.h>.
18642         * dirent/scandir-tail.c: Likewise.
18643         * dlfcn/dlerror.c: Likewise.
18644         * elf/dl-close.c: Likewise.
18645         * elf/dl-iteratephdr.c: Likewise.
18646         * elf/dl-lookup.c: Likewise.
18647         * elf/dl-open.c: Likewise.
18648         * elf/dl-support.c: Likewise.
18649         * elf/dl-writev.h: Likewise.
18650         * elf/rtld.c: Likewise.
18651         * grp/fgetgrent.c: Likewise.
18652         * gshadow/fgetsgent.c: Likewise.
18653         * gshadow/sgetsgent.c: Likewise.
18654         * iconv/gconv_conf.c: Likewise.
18655         * iconv/gconv_db.c: Likewise.
18656         * iconv/gconv_dl.c: Likewise.
18657         * iconv/gconv_int.h: Likewise.
18658         * iconv/gconv_trans.c: Likewise.
18659         * include/link.h: Likewise.
18660         * inet/getnameinfo.c: Likewise.
18661         * inet/getnetgrent.c: Likewise.
18662         * inet/getnetgrent_r.c: Likewise.
18663         * intl/bindtextdom.c: Likewise.
18664         * intl/dcigettext.c: Likewise.
18665         * intl/finddomain.c: Likewise.
18666         * intl/gettextP.h: Likewise.
18667         * intl/loadmsgcat.c: Likewise.
18668         * intl/localealias.c: Likewise.
18669         * intl/textdomain.c: Likewise.
18670         * libidn/idn-stub.c: Likewise.
18671         * libio/libioP.h: Likewise.
18672         * locale/duplocale.c: Likewise.
18673         * locale/freelocale.c: Likewise.
18674         * locale/newlocale.c: Likewise.
18675         * locale/setlocale.c: Likewise.
18676         * login/getutent_r.c: Likewise.
18677         * login/getutid_r.c: Likewise.
18678         * login/getutline_r.c: Likewise.
18679         * login/utmp-private.h: Likewise.
18680         * login/utmpname.c: Likewise.
18681         * malloc/mtrace.c: Likewise.
18682         * misc/efgcvt.c: Likewise.
18683         * misc/error.c: Likewise.
18684         * misc/fstab.c: Likewise.
18685         * misc/getpass.c: Likewise.
18686         * misc/mntent.c: Likewise.
18687         * misc/syslog.c: Likewise.
18688         * nis/nis_call.c: Likewise.
18689         * nis/nis_callback.c: Likewise.
18690         * nis/nss-default.c: Likewise.
18691         * nis/nss_compat/compat-grp.c: Likewise.
18692         * nis/nss_compat/compat-initgroups.c: Likewise.
18693         * nis/nss_compat/compat-pwd.c: Likewise.
18694         * nis/nss_compat/compat-spwd.c: Likewise.
18695         * nis/nss_nis/nis-alias.c: Likewise.
18696         * nis/nss_nis/nis-ethers.c: Likewise.
18697         * nis/nss_nis/nis-grp.c: Likewise.
18698         * nis/nss_nis/nis-hosts.c: Likewise.
18699         * nis/nss_nis/nis-network.c: Likewise.
18700         * nis/nss_nis/nis-proto.c: Likewise.
18701         * nis/nss_nis/nis-pwd.c: Likewise.
18702         * nis/nss_nis/nis-rpc.c: Likewise.
18703         * nis/nss_nis/nis-service.c: Likewise.
18704         * nis/nss_nis/nis-spwd.c: Likewise.
18705         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18706         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18707         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18708         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18709         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18710         * nis/nss_nisplus/nisplus-network.c: Likewise.
18711         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18712         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18713         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18714         * nis/nss_nisplus/nisplus-service.c: Likewise.
18715         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18716         * nis/ypclnt.c: Likewise.
18717         * nptl/libc_pthread_init.c: Likewise.
18718         * nss/getXXbyYY.c: Likewise.
18719         * nss/getXXent.c: Likewise.
18720         * nss/getXXent_r.c: Likewise.
18721         * nss/nss_db/db-XXX.c: Likewise.
18722         * nss/nss_db/db-netgrp.c: Likewise.
18723         * nss/nss_db/nss_db.h: Likewise.
18724         * nss/nss_files/files-XXX.c: Likewise.
18725         * nss/nss_files/files-alias.c: Likewise.
18726         * nss/nsswitch.c: Likewise.
18727         * posix/regex_internal.h: Likewise.
18728         * posix/wordexp.c: Likewise.
18729         * pwd/fgetpwent.c: Likewise.
18730         * resolv/res_hconf.c: Likewise.
18731         * resolv/res_libc.c: Likewise.
18732         * shadow/fgetspent.c: Likewise.
18733         * shadow/lckpwdf.c: Likewise.
18734         * shadow/sgetspent.c: Likewise.
18735         * socket/opensock.c: Likewise.
18736         * stdio-common/reg-modifier.c: Likewise.
18737         * stdio-common/reg-printf.c: Likewise.
18738         * stdio-common/reg-type.c: Likewise.
18739         * stdio-common/vfprintf.c: Likewise.
18740         * stdio-common/vfscanf.c: Likewise.
18741         * stdlib/abort.c: Likewise.
18742         * stdlib/cxa_atexit.c: Likewise.
18743         * stdlib/fmtmsg.c: Likewise.
18744         * stdlib/random.c: Likewise.
18745         * stdlib/setenv.c: Likewise.
18746         * string/strsignal.c: Likewise.
18747         * sunrpc/auth_none.c: Likewise.
18748         * sunrpc/bindrsvprt.c: Likewise.
18749         * sunrpc/create_xid.c: Likewise.
18750         * sunrpc/key_call.c: Likewise.
18751         * sunrpc/rpc_thread.c: Likewise.
18752         * sysdeps/arm/backtrace.c: Likewise.
18753         * sysdeps/generic/ldsodefs.h: Likewise.
18754         * sysdeps/generic/stdio-lock.h: Likewise.
18755         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18756         * sysdeps/i386/backtrace.c: Likewise.
18757         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18758         * sysdeps/m68k/backtrace.c: Likewise.
18759         * sysdeps/mach/hurd/cthreads.c: Likewise.
18760         * sysdeps/mach/hurd/dirstream.h: Likewise.
18761         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18762         * sysdeps/nptl/malloc-machine.h: Likewise.
18763         * sysdeps/nptl/stdio-lock.h: Likewise.
18764         * sysdeps/posix/dirstream.h: Likewise.
18765         * sysdeps/posix/getaddrinfo.c: Likewise.
18766         * sysdeps/posix/system.c: Likewise.
18767         * sysdeps/pthread/aio_suspend.c: Likewise.
18768         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18769         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18770         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18771         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18772         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18773         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18774         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18775         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18776         * sysdeps/unix/sysv/linux/system.c: Likewise.
18777         * sysdeps/x86_64/backtrace.c: Likewise.
18778         * time/alt_digit.c: Likewise.
18779         * time/era.c: Likewise.
18780         * time/tzset.c: Likewise.
18781         * wcsmbs/wcsmbsload.c: Likewise.
18782         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18783         instead of <bits/libc-lock.h> in comment.
18785 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18787         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18788         Only use .set mips2 if the current ISA is below mips2.
18789         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18790         Likewise.
18791         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18792         mips32r2 if the current ISA is below mips32r2.
18793         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18794         (TLS_IE): Updated to use the TLD_RDHWR macro.
18795         (TLS_LE): Likewise.
18796         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18797         __ASSEMBLER__ condition.
18799 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18801         Fix parallel build of before-compile targets.
18803         * sysdeps/mach/Makefile ($(patsubst
18804         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18805         mach-before-compile target.
18806         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18807         io fs process)): Move rule to dedicated hurd-before-compile target.
18809 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18811         Fix rules generating headers in hurd/ and mach/ when initial make call
18812         has subdir= explicitly set.
18814         * sysdeps/mach/Makefile ($(patsubst
18815         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18816         calling $(MAKE).
18817         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18818         io fs process)): Force subdir to hurd when calling $(MAKE).
18819         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18820         subdir to mach when calling $(MAKE).
18822 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18824         Check sysheaders when looking for Mach and Hurd headers
18826         * sysdeps/mach/configure.ac: Add sysheaders check.
18827         * sysdeps/mach/configure: Regenerate.
18828         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18829         * sysdeps/mach/hurd/configure: Regenerate.
18831 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18833         [BZ #18921]
18834         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18835         Fix inverted sense of test of 'o_directory_works' value.
18836         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18837         Bernhard Voelker <mail@bernhard-voelker.de>.
18839 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18841         [BZ #14912]
18842         * bits/linkmap.h: Move to ...
18843         * sysdeps/generic/linkmap.h: ...here.
18844         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18845         * sysdeps/aarch64/linkmap.h: ...here.
18846         * sysdeps/arm/bits/linkmap.h: Move to ...
18847         * sysdeps/arm/linkmap.h: ...here.
18848         * sysdeps/hppa/bits/linkmap.h: Move to ...
18849         * sysdeps/hppa/linkmap.h: ...here.
18850         * sysdeps/ia64/bits/linkmap.h: Move to ...
18851         * sysdeps/ia64/linkmap.h: ...here.
18852         * sysdeps/mips/bits/linkmap.h: Move to ...
18853         * sysdeps/mips/linkmap.h: ...here.
18854         * sysdeps/s390/bits/linkmap.h: Move to ...
18855         * sysdeps/s390/linkmap.h: ...here.
18856         * sysdeps/sh/bits/linkmap.h: Move to ...
18857         * sysdeps/sh/linkmap.h: ...here.
18858         * sysdeps/x86/bits/linkmap.h: Move to ...
18859         * sysdeps/x86/linkmap.h: ...here.
18860         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18862 2015-09-04  Andreas Schwab  <schwab@suse.de>
18864         [BZ #18635]
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18866         (__makecontext): Terminate FDE before return label.
18867         (__novec_makecontext): Likewise.
18869 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18871         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18872         first member of struct sv in syscall macro.
18874 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18876         [BZ #14912]
18877         * bits/stdio-lock.h: Move to ...
18878         * sysdeps/generic/stdio-lock.h: ...here.
18879         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18880         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18881         * sysdeps/nptl/stdio-lock.h: ...here.
18882         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18883         * include/libio.h: Include <stdio-lock.h> instead of
18884         <bits/stdio-lock.h>.
18885         * sysdeps/nptl/fork.c: Likewise.
18886         * sysdeps/pthread/flockfile.c: Likewise.
18887         * sysdeps/pthread/ftrylockfile.c: Likewise.
18888         * sysdeps/pthread/funlockfile.c: Likewise.
18890         [BZ #14912]
18891         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18892         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18893         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18894         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18895         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18896         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18897         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18899 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18901         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18902         (test-xfail-tst-protected1b): New variable.
18904 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18906         [BZ #14912]
18907         * bits/libc-tsd.h: Move to ...
18908         * sysdeps/generic/libc-tsd.h: ...here.
18909         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18910         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18911         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18912         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18913         * include/ctype.h: Include <libc-tsd.h> instead of
18914         <bits/libc-tsd.h>.
18915         * include/rpc/rpc.h: Likewise.
18916         * locale/localeinfo.h: Likewise.
18917         * sunrpc/rpc_thread.c: Likewise.
18918         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18919         * sysdeps/nptl/malloc-machine.h: Likewise.
18921         * Makefile (headers): Remove bits/libc-lock.h.
18922         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18924         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18925         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18926         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18927         <bits/stdio-lock.h>.
18928         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18929         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18931 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18933         [BZ #18757]
18934         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18935         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18936         BZ #18757.
18938 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18940         * malloc/mtrace.pl: Filter out NULL entries.
18942 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18944         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18945         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18946         macro.
18948         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18949         (TCP_CC_INFO): Likewise.
18950         (TCP_SAVE_SYN): Likewise.
18951         (TCP_SAVED_SYN): Likewise.
18953 2015-08-31  Brett Neumeier <brett@neumeier.us>
18955         [BZ #18870]
18956         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18958 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18960         [BZ #18873]
18961         Fix broken overflow check in posix_fallocate
18962         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18963         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18964         Fix parenthesization typo.
18966 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18968         [BZ #18887]
18969         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18970         tst-mntent-blank-passno.
18971         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18972         * misc/tst-mntent-blank-corrupt.c: New test.
18973         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18974         * misc/tst-mntent.c (do_test): ... here.
18976 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18978         [BZ #4404]
18979         * po/de.po: Fix SIGALRM typo.
18981 2015-08-28  James Perkins  <james@loowit.net>
18983         * time/tst-strptime2.c (tests): Replace short list of test
18984         strings for strptime %z specifier with code which exhaustively
18985         tests every combination of sign and 0 to 5 digits. Tests for
18986         rejection of invalid strings.
18988 2015-08-28  James Perkins  <james@loowit.net>
18990         [BZ #16141]
18991         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18992         calculation, removing incorrect decimal time rounding, so that
18993         all minute values result in a valid seconds value.
18994         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18995         offset range limits to UTC-99:59 through UTC+99:59 to parse
18996         current and historical use cases.
18997         * time/tst-strptime2.c (tests): Modify and add tests for the
18998         strptime %z input field descriptor, specifically conversion of
18999         minutes to seconds and validating an offset range of -9959 to
19000         +9959.
19002 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19003             Dmitry V. Levin  <ldv@altlinux.org>
19005         [BZ #18877]
19006         * posix/Makefile (tests): Add tst-mmap-offset.
19007         * posix/tst-mmap.c: New file.
19008         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19009         offset calculation for negative values.
19011 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19013         * sysdeps/i386/init-arch.h: New file.
19014         * sysdeps/i386/i586/init-arch.h: Likewise.
19015         * sysdeps/i386/i686/init-arch.h: Likewise.
19016         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19017         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19018         * sysdeps/x86/cpu-features.h (bit_I586): New.
19019         (bit_I686): Likewise.
19020         (bit_CX8): Likewise.
19021         (bit_CMOV): Likewise.
19022         (index_CX8): Likewise.
19023         (index_CMOV): Likewise.
19024         (index_I586): Likewise.
19025         (index_I686): Likewise.
19026         (reg_CX8): Likewise.
19027         (reg_CMOV): Likewise.
19028         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19029         available at compile-time.
19030         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19031         available at compile-time.
19032         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19033         (USE_I686): Likewise.
19035 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19037         * sysdeps/i386/bcopy.S: New file.
19038         * sysdeps/i386/bzero.S: Likewise.
19039         * sysdeps/i386/memcpy.S: Likewise.
19040         * sysdeps/i386/memmove.S: Likewise.
19041         * sysdeps/i386/mempcpy.S: Likewise.
19042         * sysdeps/i386/memset.S: Likewise.
19043         * sysdeps/i386/bzero.c: Removed.
19044         * sysdeps/i386/memset.c: Likewise.
19045         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19046         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19047         * sysdeps/i386/i586/memset_chk.S: Likewise.
19048         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19049         * sysdeps/i386/memcpy_chk.S: Here.
19050         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19051         * sysdeps/i386/memmove_chk.S: Here.
19052         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19053         * sysdeps/i386/mempcpy_chk.S: Likewise.
19054         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19055         * sysdeps/i386/memset_chk.S: Likewise.
19057 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19059         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19060         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19061         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19062         * soft-fp/fmadf4.c: Ditto.
19063         * soft-fp/fmatf4.c: Ditto.
19065 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19067         * sysdeps/i386/i586/Implies: Removed.
19068         * sysdeps/i386/i686/Implies: Likewise.
19070 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19072         * sysdeps/i386/i486/strlen.S: Moved to ...
19073         * sysdeps/i386/strlen.S: Here.
19075 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19077         * sysdeps/i386/i486/strcat.S: Moved to ...
19078         * sysdeps/i386/strcat.S: Here.
19080 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19082         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19083         * sysdeps/i386/pthread_spin_trylock.S: Here.
19084         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19085         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19087 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19089         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19090         * sysdeps/i386/string-inlines.c: Here.
19092 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19094         * sysdeps/i386/i486/htonl.S: Moved ...
19095         * sysdeps/i386/htonl.S: here.
19097 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19099         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19100         * sysdeps/i386/bits/atomic.h: Here.
19102 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19104         * sysdeps/i386/i486/Versions: Removed.
19106 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19108         [BZ #2898]
19109         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19110         Based on patch by Aurelien Jarno.
19112 2015-08-26  Stan Shebs  <stanshebs@google.com>
19114         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19115         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19117 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19119         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19120         * sysdeps/powerpc/dl-procinfo.c:
19121         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19122         feature so it shows when LD_SHOW_AUXV=1.
19124 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19126         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19127         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19128         definition.  ISA 2.07B no longer requires full sync.
19130 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19132         [BZ #18863]
19133         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19134         (si_call_addr): Define.
19135         (si_syscall): Define.
19136         (si_arch): Define.
19138 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19140         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19141         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19142         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19143         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19144         (__memset_zero_constant_len_parameter): New.
19145         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19146         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19147         (__memset_zero_constant_len_parameter): Don't define if
19148         __memset_chk or USE_AS_BZERO are defined.
19150         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19151         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19152         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19154         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19155         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19156         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19157         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19158         comments.
19159         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19160         -mno-mmx for $(all-rtld-routines).
19161         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19162         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19163         i386.
19165 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19167         * sysdeps/generic/unwind.h
19168         (_Unwind_Word): Use __mode__(__unwind_word__)
19169         instead of __mode__(__word__).
19170         (_Unwind_Sword): Likewise.
19172         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19173         (MAX_NEEDED_INPUT): New define.
19174         (MAX_NEEDED_OUTPUT): New define.
19176         * NEWS: New item for IBM z13 string optimizations.
19178         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19179         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19180         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19181         * sysdeps/s390/multiarch/Makefile
19182         (sysdep_routines): Add memrchr functions.
19183         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19184         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19186         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19187         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19188         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19189         * sysdeps/s390/multiarch/Makefile
19190         (sysdep_routines): Add wmemcmp functions.
19191         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19192         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19193         * benchtests/bench-wmemcmp.c: New File.
19194         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19196         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19197         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19198         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19199         * sysdeps/s390/multiarch/Makefile
19200         (sysdep_routines): Add wmemset functions.
19201         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19202         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19203         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19204         * string/test-memset.c: Add wmemset support.
19205         * wcsmbs/test-wmemset.c: New File.
19206         * wcsmbs/Makefile (strop-tests): Add wmemset.
19207         * benchtests/bench-memset.c: Add wmemset support.
19208         * benchtests/bench-wmemset.c: New File.
19209         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19211         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19212         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19213         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19214         * sysdeps/s390/multiarch/Makefile
19215         (sysdep_routines): Add memccpy functions.
19216         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19217         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19218         * string/memccpy.c: Use MEMCCPY if defined.
19220         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19221         * sysdeps/s390/multiarch/memchr.c: Likewise.
19222         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19223         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19224         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19225         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19226         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19227         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19228         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19229         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19231         and rawmemchr functions.
19232         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19233         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19234         and wmemchr.
19235         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19236         * string/test-memchr.c: Add wmemchr support.
19237         * wcsmbs/test-wmemchr.c: New File.
19238         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19239         * benchtests/bench-memchr.c: Add wmemchr support.
19240         * benchtests/bench-wmemchr.c: New File.
19241         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19243         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19244         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19245         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19246         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19247         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19248         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19249         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19250         wcscspn functions.
19251         * sysdeps/s390/multiarch/ifunc-impl-list.c
19252         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19253         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19254         * string/test-strcspn.c: Add wcscspn support.
19255         * wcsmbs/test-wcscspn.c: New File.
19256         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19257         * benchtests/bench-strcspn.c: Add wcscspn support.
19258         * benchtests/bench-wcscspn.c: New File.
19259         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19261         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19262         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19263         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19264         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19265         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19266         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19268         wcspbrk functions.
19269         * sysdeps/s390/multiarch/ifunc-impl-list.c
19270         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19271         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19272         * string/test-strpbrk.c: Add wcspbrk support.
19273         * wcsmbs/test-wcspbrk.c: New File.
19274         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19275         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19276         * benchtests/bench-wcspbrk.c: New File.
19277         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19279         * sysdeps/s390/multiarch/strspn-c.c: New File.
19280         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19281         * sysdeps/s390/multiarch/strspn.c: Likewise.
19282         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19283         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19284         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19285         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19286         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19287         wcsspn functions.
19288         * sysdeps/s390/multiarch/ifunc-impl-list.c
19289         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19290         * string/test-strspn.c: Add wcsspn support.
19291         * wcsmbs/test-wcsspn.c: New File.
19292         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19293         * benchtests/bench-strspn.c: Add wcsspn support.
19294         * benchtests/bench-wcsspn.c: New File.
19295         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19297         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19298         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19299         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19300         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19301         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19302         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19304         wcsrchr functions.
19305         * sysdeps/s390/multiarch/ifunc-impl-list.c
19306         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19307         * benchtests/bench-wcsrchr.c: New File.
19308         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19310         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19311         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19312         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19313         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19314         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19315         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19316         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19317         wcschrnul functions.
19318         * sysdeps/s390/multiarch/ifunc-impl-list.c
19319         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19320         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19321         * string/test-strchr.c: Add wcschrnul support.
19322         * wcsmbs/test-wcschrnul.c: New File.
19323         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19324         * benchtests/bench-strchr.c: Add wcschrnul support.
19325         * benchtests/bench-wcschrnul.c: New File.
19326         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19328         * sysdeps/s390/multiarch/strchr-c.c: New File.
19329         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19330         * sysdeps/s390/multiarch/strchr.c: Likewise.
19331         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19332         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19333         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19335         wcschr functions.
19336         * sysdeps/s390/multiarch/ifunc-impl-list.c
19337         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19338         * string/strchr.c (STRCHR): Define and use macro.
19339         * benchtests/bench-wcschr.c: New File.
19340         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19342         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19343         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19344         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19345         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19346         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19347         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19349         wcsncmp functions.
19350         * sysdeps/s390/multiarch/ifunc-impl-list.c
19351         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19352         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19353         * benchtests/bench-strncmp.c: Add wcsncmp support.
19354         * benchtests/bench-wcsncmp.c: New File.
19355         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19357         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19358         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19359         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19360         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19361         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19362         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19363         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19364         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19365         wcscmp functions.
19366         * sysdeps/s390/multiarch/ifunc-impl-list.c
19367         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19368         * string/strcmp.c (STRCMP): Define and use macro.
19369         * benchtests/bench-wcscmp.c: New File.
19370         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19371         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19372         instead of _HAVE_STRING_ARCH_memchr.
19374         * sysdeps/s390/multiarch/strncat-c.c: New File.
19375         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19376         * sysdeps/s390/multiarch/strncat.c: Likewise.
19377         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19378         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19379         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19381         wcsncat functions.
19382         * sysdeps/s390/multiarch/ifunc-impl-list.c
19383         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19384         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19385         * string/test-strncat.c: Add wcsncat support.
19386         * wcsmbs/test-wcsncat.c: New File.
19387         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19388         * benchtests/bench-strncat.c: Add wcsncat support.
19389         * benchtests/bench-wcsncat.c: New File.
19390         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19392         * sysdeps/s390/multiarch/strcat-c.c: New File.
19393         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19394         * sysdeps/s390/multiarch/strcat.c: Likewise.
19395         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19396         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19397         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19399         wcscat functions.
19400         * sysdeps/s390/multiarch/ifunc-impl-list.c
19401         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19402         * string/strcat.c (STRCAT): Define and use macro.
19403         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19404         * string/test-strcat.c: Add wcscat support.
19405         * wcsmbs/test-wcscat.c: New File.
19406         * wcsmbs/Makefile (strop-tests): Add wcscat.
19407         * benchtests/bench-strcat.c: Add wcscat support.
19408         * benchtests/bench-wcscat.c: New File.
19409         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19411         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19412         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19413         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19414         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19415         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19416         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19418         wcpncpy functions.
19419         * sysdeps/s390/multiarch/ifunc-impl-list.c
19420         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19421         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19422         * string/test-stpncpy.c: Add wcpncpy support.
19423         * wcsmbs/test-wcpncpy.c: New File.
19424         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19425         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19426         * benchtests/bench-wcpncpy.c: New File.
19427         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19429         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19430         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19431         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19432         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19433         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19434         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19435         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19437         wcsncpy functions.
19438         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19439         * sysdeps/s390/multiarch/ifunc-impl-list.c
19440         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19441         * string/test-strncpy.c: Add wcsncpy support.
19442         * wcsmbs/test-wcsncpy.c: New File.
19443         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19444         * benchtests/bench-strncpy.c: Add wcsncpy support.
19445         * benchtests/bench-wcsncpy.c: New File.
19446         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19448         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19449         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19450         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19451         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19452         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19453         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19454         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19455         wcpcpy functions.
19456         * string/stpcpy.c: Use STPCPY if defined.
19457         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19458         * sysdeps/s390/multiarch/ifunc-impl-list.c
19459         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19460         * string/test-stpcpy.c: Add wcpcpy support.
19461         * wcsmbs/test-wcpcpy.c: New File.
19462         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19463         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19464         * benchtests/bench-wcpcpy.c: New File.
19465         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19467         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19468         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19469         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19470         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19471         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19472         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19473         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19475         wcscpy functions.
19476         * sysdeps/s390/multiarch/ifunc-impl-list.c
19477         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19478         * benchtests/bench-wcscpy.c: New File.
19479         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19481         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19482         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19483         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19484         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19485         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19486         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19487         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19488         wcsnlen functions.
19489         * sysdeps/s390/multiarch/ifunc-impl-list.c
19490         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19491         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19492         * string/test-strnlen.c: Add wcsnlen support.
19493         * wcsmbs/test-wcsnlen.c: New File.
19494         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19495         * benchtests/bench-strnlen.c: Add wcsnlen support.
19496         * benchtests/bench-wcsnlen.c: New File.
19497         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19499         * sysdeps/s390/multiarch/Makefile: New File.
19500         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19501         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19502         * sysdeps/s390/multiarch/strlen.c: Likewise.
19503         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19504         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19505         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19506         * string/strlen.c (STRLEN): Define and use macro.
19507         * sysdeps/s390/multiarch/ifunc-impl-list.c
19508         (IFUNC_VX_IMPL): New macro function.
19509         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19510         * benchtests/Makefile (wcsmbs-bench): New variable.
19511         (string-bench-all): Added wcsmbs-bench.
19512         * benchtests/bench-wcslen.c: New File.
19514         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19515         s390_vx_libc_ifunc2): New macro function.
19517         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19518         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19519         assembler support.
19520         * sysdeps/s390/configure: Regenerated.
19522         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19523         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19525         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19526         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19527         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19529         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19530         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19532         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19533         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19534         (memcmp, bcmp): Use __memcmp_default as alias source.
19535         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19536         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19537         Rename to __memcmp_default.
19538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19539         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19540         (memcpy): Use __memcpy_default as alias source.
19541         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19542         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19543         Rename to __memcpy_default.
19544         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19545         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19546         (memset): Use __memset_default as alias source.
19547         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19548         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19549         Rename to __memset_default.
19550         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19551         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19553         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19554         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19555         (memcmp, bcmp): Use __memcmp_default as alias source.
19556         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19557         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19558         Rename to __memcmp_default.
19559         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19560         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19561         (memcpy): Use __memcpy_default as alias source.
19562         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19563         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19564         Rename to __memcpy_default.
19565         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19566         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19567         (memset): Use __memset_default as alias source.
19568         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19569         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19570         Rename to __memset_default.
19571         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19572         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19574         [BZ #18610]
19575         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19576         __ieee_instruction_pointer to __unused.
19577         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19578         __ieee_instruction_pointer.
19579         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19580         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19581         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19582         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19583         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19584         Mark dxc-field as reserved.
19586 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19588         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19589         if the weak reference is not null.
19591 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19593         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19595         [BZ #11214]
19596         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19598 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19600         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19601         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19602         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19603         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19604         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19605         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19606         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19607         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19608         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19609         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19610         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19611         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19612         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19613         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19614         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19615         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19616         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19617         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19619 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19621         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19622         register other than r0 for tabort, it has special meaning.
19623         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19624         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19625         transaction before starting syscall.
19627 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19629         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19631 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19633         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19635         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19636         * sysdeps/x86_64/rtld-memset.S: Likewise.
19637         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19638         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19639         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19640         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19642         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19644 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19646         * debug/strcpy_chk.c: Improve performance.
19647         * debug/stpcpy_chk.c: Likewise.
19648         * sysdeps/x86_64/strcpy_chk.S: Remove.
19649         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19651         [BZ #18240]
19652         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19654 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19656         [BZ #15128]
19657         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19658         ifuncmain8.
19659         (modules-names): Add ifuncmod8.
19660         ($(objpfx)ifuncmain8): New rule.
19661         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19662         <cpuid.h>.
19663         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19664         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19665         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19666         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19667         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19668         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19669         * sysdeps/x86_64/ifuncmain8.c: New file.
19670         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19671         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19672         Removed.
19673         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19674         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19675         Change rtld_savespace_sse to __glibc_unused2.
19676         (RTLD_CHECK_FOREIGN_CALL): Removed.
19677         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19678         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19679         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19681 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19683         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19685 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19687         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19688         Unconditionally set __fpcr to avoid uninialized warning.
19689         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19691 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19693         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19694         is corrupt.
19696         * malloc/arena.c (arena_get2): Drop unused argument.
19697         (arena_lock): Adjust.
19698         (arena_get_retry): Likewise.
19700 2015-08-24  Andreas Schwab  <schwab@suse.de>
19702         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19703         Don't define.
19704         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19705         (__ASSUME_IPC64): Don't undef.
19706         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19707         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19708         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19709         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19710         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19711         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19712         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19713         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19714         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19716         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19717         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19718         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19719         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19720         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19721         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19722         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19723         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19724         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19725         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19726         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19728 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19730         * manual/Makefile (install): Only build manual when perl is available.
19732 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19734         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19735         '#undef memcpy' by '#undef memchr'.
19737 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19739         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19740         memchr not point to the internal __GI_memchr implementation.
19742 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19744         * timezone/Makefile (CFLAGS-zdump.c): Remove
19745         -Wno-strict-prototypes.
19746         (CFLAGS-zic.c): Likewise.
19747         (CFLAGS-ialloc.c): Likewise.
19748         (CFLAGS-scheck.c): Likewise.
19750         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19751         -Wno-error=undef.
19753 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19755         * i386/i686/multiarch/strcasestr-c.c: Removed.
19756         * x86_64/multiarch/strcasestr.c: Likewise.
19757         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19758         Remove strcasestr.
19760 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19762         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19765         variables for high and low parts before possibly modifying them.
19767 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19769         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19770         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19771         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19772         of "multiarch/init-arch.h".
19773         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19774         * sysdeps/x86/init-arch.h: This.
19776 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19778         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19779         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19781 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19783         [BZ #17787]
19784         * manual/macros.texi: Add twoexp macro.
19785         * manual/filesys.texi: Fix exponents.
19786         * manual/llio.texi: Likewise.
19787         * manual/stdio.texi: Likewise.
19789 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19791         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19792         incorrect use.
19794 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19796         [BZ #18370]
19797         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19798         whose real or imaginary part has small absolute value.
19799         * math/s_csqrtf.c (__csqrtf): Likewise.
19800         * math/s_csqrtl.c (__csqrtl): Likewise.
19801         * math/auto-libm-test-in: Add more tests of csqrt.
19802         * math/auto-libm-test-out: Regenerated.
19803         * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19807         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19808         __ppc_set_ppr_very_low): New functions.
19809         * manual/platform.texi: Add documentation about
19810         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19812 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19814         * string/stpncpy.c (stpncpy): Improve performance using
19815         __strnlen/memcpy/memset.
19817 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19819         [BZ #18796]
19820         * scripts/test-installation.pl: Don't add -lmvec to build options if
19821         libmvec wasn't built.
19823 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19825         [BZ #14341]
19826         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19827         case when there is a gap between DT_REL and DT_JMPREL sections.
19828         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19829         (LDFLAGS-tst-split-dynreloc): New.
19830         (tst-split-dynreloc-ENV): Likewise.
19831         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19832         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19834 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19836         [BZ #18822]
19837         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19838         attribute_hidden.
19839         (__xstat64_conv): Likewise.
19840         (__xstat32_conv): Likewise.
19842 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19844         [BZ #18822]
19845         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19846         Don't load %ebx when calling __setcontext.  Call __setcontext
19847         with HIDDEN_JUMPTARGET.
19848         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19849         libc_hidden_def.
19851 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19853         * sysdeps/i386/i686/Makefile
19854         [$(subdir) == string] (sysdep_routines): Moved to ...
19855         * sysdeps/i386/Makefile: Here.
19856         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19857         * sysdeps/i386/cacheinfo.c: Here.
19858         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19859         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19860         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19861         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19863 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19865         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19866         __i586__ is defined.
19867         (HAS_I686): Defined to 1 if __i686__ is defined.
19869 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19871         * elf/Makefile [$(have-z-execstack) = yes]
19872         (CPPFLAGS-tst-execstack.c): New variable.
19874         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19875         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19876         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19877         UTMPX || _HAVE_UT_TV].
19878         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19879         UTMPX || _HAVE_UT_TV - 0].
19881 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19883         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19884         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19885         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19887 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19889         * sysdeps/powerpc/dl-procinfo.c:
19890         (_dl_powerpc_cap_flags): Added missing strings for some
19891         hwcap features.
19892         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19894 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19896         Port the 0x7efe...feff pattern to GCC 6.
19897         See Steve Ellcey's bug report in:
19898         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19899         * string/memrchr.c (MEMRCHR):
19900         * string/rawmemchr.c (RAWMEMCHR):
19901         * string/strchr.c (strchr):
19902         * string/strchrnul.c (STRCHRNUL):
19903         Rewrite code to avoid issues with signed shift overflow.
19905 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19907         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19908         whether cpuid is available only if HAS_CPUID is 0.
19909         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19910         (HAS_I586): Likewise.
19911         (HAS_I686): Likewise.
19913 2015-08-18  Zack Weinberg  <zackw@panix.com>
19915         * misc/Versions (libc): Add GLIBC_2.23.
19917 2015-08-18  Alan Modra  <amodra@gmail.com>
19919         [BZ #18421]
19920         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19921         .Lp__global.
19922         (_start): Load %dp via .Lp__global.
19923         [!SHARED]: Use .section .rodata.
19925 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19927         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19928         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19930 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19932         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19933         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19935 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19937         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19938         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19942         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19943         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19947         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19948         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19950 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19952         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19953         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19955 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19957         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19959 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19961         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19962         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19963         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19964         (__ASSUME_LWS_CAS): Delete.
19966 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19968         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19969         * sysdeps/hppa/configure: Regenerated.
19970         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19971         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19972         * sysdeps/hppa/nptl/tls.h: Likewise.
19974 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19976         [BZ #18823]
19977         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19978         for scaling up small arguments.
19979         * math/s_csqrtf.c (__csqrtf): Likewise.
19980         * math/s_csqrtl.c (__csqrtl): Likewise.
19981         * math/auto-libm-test-in: Add more tests of csqrt.
19982         * math/auto-libm-test-out: Regenerated.
19984 2015-08-17  Andreas Schwab  <schwab@suse.de>
19986         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19987         version set GLIBC_2.19.
19989 2015-08-16  Zack Weinberg  <zackw@panix.com>
19991         [BZ #18681]
19992         * misc/regexp.h: This interface is no longer supported.
19993         Remove all contents, leaving only an #error directive.
19994         * misc/regexp.c (loc1, loc2, locs, step, advance):
19995         Demote to compatibility symbols.
19997 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19999         [BZ #18084]
20000         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20001         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20002         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20003         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20004         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20005         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20006         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20007         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20008         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20010 2015-08-15  Zack Weinberg  <zackw@panix.com>
20012         [BZ #18795]
20013         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20014         buffer length is known to be too large, not if it's known to be
20015         small enough.
20016         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20017         overflow at runtime, involving a length parameter, twice: once
20018         with a compile-time constant length parameter, once without.
20020 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20022         [BZ #18824]
20023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20024         scaling x * y up instead of down.
20025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20027         * math/auto-libm-test-in: Add more tests of fma.
20028         * math/auto-libm-test-out: Regenerated.
20030 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20034 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20036         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20037         unnecessary movq.
20038         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20039         Likewise.
20041 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20043         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20044         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20045         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20046         and tgamma.
20047         * math/auto-libm-test-out: Regenerated.
20048         * sysdeps/i386/fpu/libm-test-ulps: Update.
20049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051         [BZ #16520]
20052         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20053         (__tanh): Force underflow exception for arguments with small
20054         absolute value.
20055         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20056         (__tanhf): Force underflow exception for arguments with small
20057         absolute value.
20058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20059         (__tanhl): Force underflow exception for arguments with small
20060         absolute value.
20061         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20062         (__tanhl): Force underflow exception for arguments with small
20063         absolute value.
20064         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20065         (__tanhl): Force underflow exception for arguments with small
20066         absolute value.
20067         * math/auto-libm-test-in: Add more tests of tanh.
20068         * math/auto-libm-test-out: Regenerated.
20069         * sysdeps/i386/fpu/libm-test-ulps: Update.
20071 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20073         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20074         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20076 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20078         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20079         <cpuid.h>.
20081 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20083         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20084         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20086 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20088         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20089         Remove $(objpfx)init-arch.o.
20090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20091         init-arch.
20092         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20093         (INIT_ARCH_EXT): Defined as empty.
20094         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20096         __init_cpu_features call.  Replace HAS_XXX with
20097         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20099         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20100         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20102         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20105         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20108         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20120         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20123         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20126         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20132         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20134 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20136         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20137         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20138         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20139         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20140         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20141         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20142         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20143         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20144         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20145         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20146         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20147         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20148         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20149         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20150         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20151         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20152         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20153         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20154         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20159         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20180 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20182         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20183         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20184         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20187         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20188         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20189         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20191         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20193         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20194         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20195         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20196         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20197         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20198         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20199         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20200         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20201         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20203         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20204         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20205         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20206         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20207         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20208         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20209         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20210         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20211         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20212         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20213         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20215         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20217         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20218         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20219         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20220         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20221         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20222         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20223         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20224         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20226 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20228         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20229         (dl_platform_init): Call init_cpu_features.
20230         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20231         * sysdeps/i386/i686/cacheinfo.c
20232         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20233         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20234         * sysdeps/i386/i686/multiarch/Versions: Removed.
20235         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20236         Removed.
20237         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20238         * sysdeps/unix/sysv/linux/x86/Makefile
20239         (libpthread-sysdep_routines): Remove init-arch.
20240         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20241         <sysdeps/x86_64/dl-procinfo.c> instead of
20242         sysdeps/generic/dl-procinfo.c>.
20243         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20244         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20245         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20246         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20247         [$(subdir) == elf] (tests-static): Add
20248         tst-get-cpu-features-static.
20249         * sysdeps/x86/Versions: New file.
20250         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20251         * sysdeps/x86/cpu-features.c: Likewise.
20252         * sysdeps/x86/cpu-features.h: Likewise.
20253         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20254         * sysdeps/x86/libc-start.c: Likewise.
20255         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20256         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20257         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20258         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20259         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20260         Assume USE_MULTIARCH is defined and don't check it.
20261         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20262         (is_amd): Likewise.
20263         (max_cpuid): Likewise.
20264         (intel_check_word): Likewise.
20265         (__cache_sysconf): Don't call __init_cpu_features.
20266         (__x86_preferred_memory_instruction): Removed.
20267         (init_cacheinfo): Don't call __init_cpu_features. Replace
20268         __cpu_features with GLRO(dl_x86_cpu_features).
20269         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20270         (dl_platform_init): Call init_cpu_features.
20271         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20272         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20273         * sysdeps/x86_64/multiarch/Versions: Removed.
20274         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20275         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20276         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20277         Removed.
20278         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20280 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20282         [BZ #18820]
20283         * libio/Makefile (test-fmemopen-mem): New test.
20284         * libio/test-fmemopen.c (do_bz18820): New test.
20285         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20286         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20288 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20290         [BZ #16734]
20291         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20292         (FREE_BUF): Delete.
20293         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20294         * libio/genops.c (_IO_setb): Use malloc and free directly.
20295         (_IO_default_doallocate, _IO_default_finish): Likewise.
20296         ( _IO_unbuffer_all): Likewise.
20297         ( libc_freeres_fn): Likewise.
20298         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20299         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20300         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20301         (_IO_wdefault_doallocate): Likewise.
20303 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20305         [BZ #18086]
20306         * sysdeps/posix/nice.c (nice): Restore old errno.
20307         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20309 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20313 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20315         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20316         __bcopy and add a weak_alias to bcopy.
20317         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20318         for static build.
20320         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20321         cleanup macro usage.
20322         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20326         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20327         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20328         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20329         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20330         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20331         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20333         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20335         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20338         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20339         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20340         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20342         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20343         libc_hidden_def.
20344         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20346         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20347         (sysdep_routines): Add strstr-ppc64.
20348         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20350 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20352         [BZ #18778]
20353         * elf/Makefile (tests): Add Add tst-nodelete2.
20354         (modules-names): Add tst-nodelete2mod.
20355         (tst-nodelete2mod.so-no-z-defs): New.
20356         ($(objpfx)tst-nodelete2): Likewise.
20357         ($(objpfx)tst-nodelete2.out): Likewise.
20358         (LDFLAGS-tst-nodelete2): Likewise.
20359         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20360         out of loop through all loaded libraries.
20361         * elf/tst-nodelete2.c: New file.
20362         * elf/tst-nodelete2mod.c: Likewise.
20363         * elf/tst-znodelete-zlib.cc: Delete.
20365 2015-08-11  Andreas Schwab  <schwab@suse.de>
20367         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20368         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20369         (__openat64_nocancel): Likewise.
20371 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20373         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20374         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20375         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20376         * math/auto-libm-test-out: Regenerated.
20377         * sysdeps/i386/fpu/libm-test-ulps: Update.
20378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20382         [BZ #18790]
20383         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20384         threshold for returning +/- 1.
20385         * math/auto-libm-test-in: Add more tests of tanh.
20386         * math/auto-libm-test-out: Regenerated.
20387         * sysdeps/i386/fpu/libm-test-ulps: Update.
20389 2015-08-10  Andreas Schwab  <schwab@suse.de>
20391         [BZ #18781]
20392         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20393         MORE_OFLAGS to oflag.
20394         * io/test-lfs.c (do_test): Test openat64.
20396 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20398         [BZ #18789]
20399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20400         smaller threshold for returning the argument.
20401         * math/auto-libm-test-in: Add more tests of sinh.
20402         * math/auto-libm-test-out: Regenerated.
20403         * sysdeps/i386/fpu/libm-test-ulps: Update.
20405 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20407         [BZ #18674]
20408         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20409         break.
20411 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20413         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20414         (generated): Don't add $(addprefix z.,$(tzfiles)).
20416 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20418         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20419         * scripts/sysd-rules.awk: Likewise.
20421 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20423         * iconvdata/tst-tables.sh: Change echo -n to printf.
20424         * nss/db-Makefile: Likewise.
20425         * posix/tst-getconf.sh: Likewise.
20426         * stdio-common/tst-unbputc.sh: Likewise.
20428 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20430         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20431         MADV_*_PAGES defines behind this feature check.
20433 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20435         [BZ #18480]
20436         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20437         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20438         Define.
20439         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20440         LOAD_REGS_5, LOAD_REGS_6): Update.
20441         (INTERNAL_SYSCALL): Update using new LOAD defines.
20442         (INTERNAL_SYSCALL_NCS): Likewise.
20443         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20445 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20447         [BZ #16734]
20448         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20450 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20452         [BZ #17905]
20453         * catgets/Makefile (tst-catgets-mem): New test.
20454         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20455         * catgets/open_catalog.c (__open_catalog): Likewise.
20456         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20458 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20460         [BZ #18787]
20461         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20462         clobber registers.
20463         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20464         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20465         Cast return to __typeof (oldval).
20467 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20469         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20470         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20471         and delete sys/syscall.h include.
20473 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20475         [BZ #16517]
20476         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20477         (tan): Force underflow exception for arguments with small absolute
20478         value.
20479         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20480         (__kernel_tanf): Force underflow exception for arguments with
20481         small absolute value.
20482         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20483         (__kernel_tanl): Force underflow exception for arguments with
20484         small absolute value.
20485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20486         (__kernel_tanl): Force underflow exception for arguments with
20487         small absolute value.
20488         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20489         (__kernel_tanl): Force underflow exception for arguments with
20490         small absolute value.
20491         * math/auto-libm-test-in: Add more tests of tan.
20492         * math/auto-libm-test-out: Regenerated.
20494 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20496         Fix sysdeps/i386/fpu/s_scalbn.S build
20498         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20500 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20502         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20504 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20506         Fix gcrt0.o compilation
20508         When static-start-installed-name is different from
20509         start-installed-name, we must not use the shared objects.
20511         * csu/Makefile
20512         (extra-objs): Add gmon-start.o when building shared library and
20513         $(static-start-installed-name) is different from
20514         $(start-installed-name).
20515         $(objpfx)g$(static-start-installed-name): When building shared
20516         library and $(static-start-installed-name) is different from
20517         $(static-start-installed-name), revert to non-shared rule,
20518         i.e. using $(objpfx)% and gmon-start.o.
20520 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20522         [BZ #16519]
20523         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20524         (__ieee754_sinh): Force underflow exception for arguments with
20525         small absolute value.
20526         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20527         (__ieee754_sinhf): Force underflow exception for arguments with
20528         small absolute value.
20529         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20530         (__ieee754_sinhl): Force underflow exception for arguments with
20531         small absolute value.
20532         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20533         (__ieee754_sinhl): Force underflow exception for arguments with
20534         small absolute value.
20535         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20536         (__ieee754_sinhl): Force underflow exception for arguments with
20537         small absolute value.
20538         * math/auto-libm-test-in: Add more tests of sinh.
20539         * math/auto-libm-test-out: Regenerated.
20540         * sysdeps/i386/fpu/libm-test-ulps: Update.
20542 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20544         * libio/oldfileops.c: Include unistd.h.
20546 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20548         * stdlib/isomac.c: Include ctype.h.
20550 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20552         * dirent/tst-seekdir.c (main): Converted to ...
20553         (do_test): ... this.
20554         (TEST_FUNCTION): New macro.
20555         Include test-skeleton.c.
20556         * elf/tst-dlmodcount.c (main): Converted to ...
20557         (do_test): ... this.
20558         (TEST_FUNCTION): New macro.
20559         Include test-skeleton.c.
20560         * elf/tst-order-main.c (main): Converted to ...
20561         (do_test): ... this.
20562         (TEST_FUNCTION): New macro.
20563         Include test-skeleton.c.
20564         * elf/tst-pie2.c (main): Converted to ...
20565         (do_test): ... this.
20566         (TEST_FUNCTION): New macro.
20567         Include test-skeleton.c.
20568         * inet/tst-ether_aton.c (main): Converted to ...
20569         (do_test): ... this.
20570         (TEST_FUNCTION): New macro.
20571         Include test-skeleton.c.
20572         * misc/tst-mntent.c (main): Converted to ...
20573         (do_test): ... this.
20574         (TEST_FUNCTION): New macro.
20575         Include test-skeleton.c.
20576         * misc/tst-tsearch.c (main): Converted to ...
20577         (do_test): ... this.
20578         (TEST_FUNCTION): New macro.
20579         Include test-skeleton.c.
20580         * posix/tst-regexloc.c (main): Converted to ...
20581         (do_test): ... this.
20582         (TEST_FUNCTION): New macro.
20583         Include test-skeleton.c.
20584         * resolv/tst-aton.c (main): Converted to ...
20585         (do_test): ... this.
20586         (TEST_FUNCTION): New macro.
20587         Include test-skeleton.c.
20588         * stdio-common/test-fwrite.c (main): Converted to ...
20589         (do_test): ... this.
20590         (TEST_FUNCTION): New macro.
20591         Include test-skeleton.c.
20592         * stdio-common/tst-ferror.c (main): Converted to ...
20593         (do_test): ... this.
20594         (TEST_FUNCTION): New macro.
20595         Include test-skeleton.c.
20596         * stdio-common/tst-printf.c (main): Converted to ...
20597         (do_test): ... this.
20598         (TEST_FUNCTION): New macro.
20599         Include test-skeleton.c.
20600         * stdio-common/tst-printfsz.c (main): Converted to ...
20601         (do_test): ... this.
20602         (TEST_FUNCTION): New macro.
20603         Include test-skeleton.c.
20604         * stdlib/tst-strtod.c (main): Converted to ...
20605         (do_test): ... this.
20606         (TEST_FUNCTION): New macro.
20607         Include test-skeleton.c.
20608         * string/tst-strlen.c (main): Converted to ...
20609         (do_test): ... this.
20610         (TEST_FUNCTION): New macro.
20611         Include test-skeleton.c.
20612         * string/tst-svc.c (main): Converted to ...
20613         (do_test): ... this.
20614         (TEST_FUNCTION): New macro.
20615         Include test-skeleton.c.
20616         * time/tst-strptime.c (main): Converted to ...
20617         (do_test): ... this.
20618         (TEST_FUNCTION): New macro.
20619         Include test-skeleton.c.
20620         * timezone/tst-timezone.c (main): Converted to ...
20621         (do_test): ... this.
20622         (TEST_FUNCTION): New macro.
20623         Include test-skeleton.c.
20625 2015-08-05  Zack Weinberg  <zackw@panix.com>
20627         * misc/regexp.h: Update comments.
20629 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20631         [BZ #18635]
20632         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20633         before return label.
20635 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20637         [BZ #18661]
20638         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20639         when calling __errno_location.
20640         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20641         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20643 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20645         [BZ #18661]
20646         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20647         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20648         __gettimeofday.
20650 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20652         [BZ #18661]
20653         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20654         (__start_context): Don't use pop to restore %rdi so that stack
20655         is aligned to 16 bytes when calling __setcontext.
20657 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20659         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20660         only for libc.
20661         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20663 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20665         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20666         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20667         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20669 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20671         * string/memccpy.c (memccpy):
20672         Improve performance by using memchr/memcpy/__mempcpy.
20674 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20676         * string/strncpy.c (strncpy):
20677         Improve performance by using __strnlen/memcpy.
20679 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20681         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20682         Optimize to avoid an unnecessary FPCR read.
20684 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20686         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20687         Optimize to reduce FPCR/FPSR accesses.
20689 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20691         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20692         dead->data[category] != NULL.
20694 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20696         [BZ #18647]
20697         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20698         and |x| close to 1, use absolute value of x when computing log.
20699         * math/auto-libm-test-in: Add more tests of pow.
20700         * math/auto-libm-test-out: Regenerated.
20702 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20704         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20705         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20706         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20708 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20710         [BZ #18525]
20711         * locales/km_KH: Remove timezone definition.
20712         * locales/lo_LA: Likewise.
20713         * locales/my_MM: Likewise.
20714         * locales/nan_TW@latin: Likewise.
20715         * locales/th_TH: Likewise.
20716         * locales/uk_UA: Likewise.
20718 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20720         [BZ #18265]
20721         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20722         (wcsncat): Likewise.
20723         (wcscmp): Likewise.
20724         (wcsncmp): Likewise.
20726 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20728         * test-skeleton.c (usage): New function.
20729         (main): Call usage when opt is '?'.
20731 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20733         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20734         before first use.
20736 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20738         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20739         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20740         in there too.
20742 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20744         * version.h (RELEASE): Set to "development".
20745         (VERSION): Set to "2.22.90"
20747         * version.h (RELEASE): Set to "stable".
20748         (VERSION): Set to "2.22"
20749         * include/features.h (__GLIBC_MINOR__): Set to 22.
20751 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20753         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20754         Restructure macro to avoid "value computed is not used" warning.
20755         (atomic_compare_and_exchange_val_acq): Likewise.
20757 2015-08-04  Andreas Schwab  <schwab@suse.de>
20759         [BZ #18635]
20760         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20761         ret.
20762         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20764 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20766         * po/pl.po: Updated translation.
20767         * po/uk.po: Likewise.
20768         * po/fi.po: Likewise.
20769         * po/ko.po: Likewise.
20770         * po/ru.po: Likewise.
20771         * po/vi.po: Likewise.
20773 2015-07-31  Zack Weinberg  <zackw@panix.com>
20775         [BZ #18681]
20776         * regexp.h: Add unconditional #warning stating that this header
20777         will be removed soon.  Revise banner comment to match.
20778         (compile): Consistently use ERROR instead of RETURN to report
20779         errors (partial fix for bz#18681).
20780         * regexp.c: Don't include regexp.h. Remove some unnecessary
20781         declarations.
20783 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20785         * po/libc.pot: Regenerated.
20787 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20789         [BZ #18740]
20790         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20791         float-vlen4-arch-ext-cflags): Removed.
20792         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20793         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20795 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20797         [BZ #14113]
20798         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20799         aligned to __aligned__.
20800         (pthread_cond_t, pthread_rwlock_t): Likewise.
20802 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20804         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20806 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20808         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20809         (struct sigaction): Change sa_flags from a long to an int, and add
20810         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20812 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20814         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20815         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20816         sysdeps/generic/sysdep.h include.
20817         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20818         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20819         sysdeps/hppa/sysdep.h.
20820         (ENTRY, PSEUDO): Undefine before defining.
20822 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20824         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20825         from scratch to use INTERNAL_SYSCALL.
20827 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20829         [BZ #18078]
20830         * scripts/check-localplt.awk: Support alternate relocations.
20831         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20832         sections.
20833         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20834         malloc entries with + REL R_386_GLOB_DAT.
20835         * sysdeps/x86_64/localplt.data: New file.
20837 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20839         [BZ #18731]
20840         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20841         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20842         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20844 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20846         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20848 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20850         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20851         directly in terms of __sync_fetch_and_add and delete (int) cast.
20853 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20855         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20856         the -D_ASM_IA64_CURRENT_H flag.
20858 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20860         [BZ #18641]
20861         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20863 2015-07-27  Andreas Schwab  <schwab@suse.de>
20865         * conform/conformtest.pl (checknamespace): Filter out string
20866         literals while tokenizing.
20868 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20870         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20871         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20872         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20874 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20876         * nptl/tst-join7mod.c: Add #include <string.h>.
20878 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20880         * sysdeps/nios2/libm-test-ulps: Update.
20882 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20884         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20885         Fix order of arguments to the rt_sigprocmask syscall.
20886         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20887         Likewise.
20889 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20891         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20893 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20895         [BZ #18457]
20896         * nptl/Makefile (tests): New test case tst-join7.
20897         (modules-names): New test case module tst-join7mod.
20898         * nptl/tst-join7.c: New file.
20899         * nptl/tst-join7mod.c: New file.
20900         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20901         all translation units in libc.so, libpthread.so and rtld.
20903 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20907 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20911         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20912         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20913         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20915         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20917         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20920         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20921         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20922         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20923         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20924         implementation.
20926 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20928         [BZ #17711]
20929         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20930         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20931         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20932         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20933         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20934         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20936 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20939         instead of just saying load lock in the comments.
20941 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20943         * sysdeps/unix/Subdirs: Moved ...
20944         * sysdeps/posix/Subdirs: ... here.
20945         * login/pty.h (struct termios, struct winsize): Add forward decls.
20946         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20947         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20948         * sysdeps/arm/nacl/libc.abilist: Updated.
20949         * sysdeps/nacl/libutil.abilist: New file.
20951         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20952         (SIGWINCH): New macro.
20954         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20955         * sysdeps/arm/nacl/libc.abilist: Add it.
20957 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20959         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20961 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20963         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20964         Swap __glibc_reserved0 and sa_flags order.
20966 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20968         [BZ #18657]
20969         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20970         are pending TLS destructor calls.
20971         * include/link.h (struct link_map): Add concurrency note for
20972         L_TLS_DTOR_COUNT.
20973         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20974         Don't touch the link map flag.  Atomically increment
20975         l_tls_dtor_count.
20976         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20977         Avoid taking the load lock and don't touch the link map flag.
20978         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20979         * stdlib/Makefile (tests): Use it.
20980         * stdlib/tst-tls-atexit.c (do_test): dlopen
20981         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20982         to allow tst-tls-atexit-nodelete test case to use it.
20984 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20986         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20987         to bits/types.h.
20988         (msgqnum_t): New typedef.
20989         (msglen_t): Likewise.
20990         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20991         and msg_qbytes type to msglen_t.
20993 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20995         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20996         pad0 to __glibc_reserved0.
20997         (struct stat64): Likewise.
20999 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21001         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21002         Change sa_flags from a long to an int and add __glibc_reserved0 before
21003         it for padding.
21005 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21007         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21008         anonymous by deleting "siginfo" name.
21010 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21012         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21013         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21014         rather than __nacl_irt_filename.
21015         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21017         * NEWS: New item for arm-nacl port.
21018         * sysdeps/arm/nacl/libc.abilist: New file.
21019         * sysdeps/nacl/ld.abilist: New file.
21020         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21021         * sysdeps/nacl/libanl.abilist: New file.
21022         * sysdeps/nacl/libcrypt.abilist: New file.
21023         * sysdeps/nacl/libdl.abilist: New file.
21024         * sysdeps/nacl/libm.abilist: New file.
21025         * sysdeps/nacl/libpthread.abilist: New file.
21026         * sysdeps/nacl/libresolv.abilist: New file.
21027         * sysdeps/nacl/librt.abilist: New file.
21029 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21031         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21032         __startcontext to initialize the new context.
21033         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21034         up CFI directive to forbid further backtracing.
21036 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21038         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21039         reference.
21040         * charmaps/ANSI_X3.4-1968: Likewise.
21041         * charmaps/BS_4730: Likewise.
21042         * charmaps/BS_VIEWDATA: Likewise.
21043         * charmaps/CP1250: Likewise.
21044         * charmaps/CP1251: Likewise.
21045         * charmaps/CP1252: Likewise.
21046         * charmaps/CP1253: Likewise.
21047         * charmaps/CP1254: Likewise.
21048         * charmaps/CP1255: Likewise.
21049         * charmaps/CP1256: Likewise.
21050         * charmaps/CSN_369103: Likewise.
21051         * charmaps/EBCDIC-DK-NO: Likewise.
21052         * charmaps/GB_1988-80: Likewise.
21053         * charmaps/GREEK-CCITT: Likewise.
21054         * charmaps/GREEK7: Likewise.
21055         * charmaps/INIS-8: Likewise.
21056         * charmaps/ISIRI-3342: Likewise.
21057         * charmaps/ISO_2033-1983: Likewise.
21058         * charmaps/ISO_5427-EXT: Likewise.
21059         * locales/POSIX: Likewise.
21060         * locales/ar_SA: Likewise.
21061         * locales/be_BY: Likewise.
21062         * locales/be_BY@latin: Likewise.
21063         * locales/ca_ES: Likewise.
21064         * locales/cs_CZ: Likewise.
21065         * locales/da_DK: Likewise.
21066         * locales/de_BE: Likewise.
21067         * locales/de_CH: Likewise.
21068         * locales/de_LU: Likewise.
21069         * locales/en_AU: Likewise.
21070         * locales/en_BW: Likewise.
21071         * locales/en_CA: Likewise.
21072         * locales/en_DK: Likewise.
21073         * locales/en_GB: Likewise.
21074         * locales/en_IE: Likewise.
21075         * locales/en_NZ: Likewise.
21076         * locales/en_ZA: Likewise.
21077         * locales/en_ZW: Likewise.
21078         * locales/es_AR: Likewise.
21079         * locales/es_BO: Likewise.
21080         * locales/es_CL: Likewise.
21081         * locales/es_CO: Likewise.
21082         * locales/es_DO: Likewise.
21083         * locales/es_EC: Likewise.
21084         * locales/es_ES: Likewise.
21085         * locales/es_HN: Likewise.
21086         * locales/es_MX: Likewise.
21087         * locales/es_PA: Likewise.
21088         * locales/es_PE: Likewise.
21089         * locales/es_PY: Likewise.
21090         * locales/es_SV: Likewise.
21091         * locales/es_US: Likewise.
21092         * locales/es_UY: Likewise.
21093         * locales/es_VE: Likewise.
21094         * locales/et_EE: Likewise.
21095         * locales/fa_IR: Likewise.
21096         * locales/fo_FO: Likewise.
21097         * locales/fr_CA: Likewise.
21098         * locales/fr_CH: Likewise.
21099         * locales/gv_GB: Likewise.
21100         * locales/he_IL: Likewise.
21101         * locales/hr_HR: Likewise.
21102         * locales/id_ID: Likewise.
21103         * locales/is_IS: Likewise.
21104         * locales/it_CH: Likewise.
21105         * locales/iw_IL: Likewise.
21106         * locales/kl_GL: Likewise.
21107         * locales/ko_KR: Likewise.
21108         * locales/kw_GB: Likewise.
21109         * locales/lg_UG: Likewise.
21110         * locales/lt_LT: Likewise.
21111         * locales/lv_LV: Likewise.
21112         * locales/mi_NZ: Likewise.
21113         * locales/nhn_MX: Likewise.
21114         * locales/nl_BE: Likewise.
21115         * locales/pl_PL: Likewise.
21116         * locales/sk_SK: Likewise.
21117         * locales/sl_SI: Likewise.
21118         * locales/sv_FI: Likewise.
21119         * locales/tl_PH: Likewise.
21120         * locales/tr_TR: Likewise.
21121         * locales/vi_VN: Likewise.
21123 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21125         [BZ #17475]
21126         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21127         of tu_IN and bh_IN.
21129 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21131         [BZ #18694]
21132         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21133         bits/wordsize.h.
21134         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21136 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21138         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21139         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21140         (spawn_thread): New function.
21141         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21142         (do_test): ... here.  Use IS_LOADED to test for its
21143         availability.
21145 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21147         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21149 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21151         [BZ #18696]
21152         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21153         si_addr_bnd.
21154         (si_lower): New.
21155         (si_upper): Likewise.
21157 2015-07-16  David S. Miller  <davem@davemloft.net>
21159         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21161 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21163         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21164         buffer.
21165         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21166         fail output information.
21168 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21171         and strstr-ppc64..
21172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21173         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21174         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21175         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21176         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21178 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21180         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21181         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21182         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21183         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21185 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21187         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21188         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21189         rtld_hidden_proto.
21190         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21192 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21194         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21195         the test can fail.
21197         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21199         [BZ #18676]
21200         * elf/tst-nodelete-opened.c: New test case.
21201         * elf/tst-nodelete-opened-lib.c: New test case module.
21202         * elf/Makefile (tests, modules-names): Use them.
21203         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21204         early.
21206 2015-07-15  David S. Miller  <davem@davemloft.net>
21208         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21209         futex-intenal.h
21210         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21211         * sysdeps/sparc/sparc64/Makefile: Likewise.
21212         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21213         Remove space from macro define.
21214         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21216 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21218         [BZ #17475]
21219         * locale/iso-639.def: Update Bhili and Tulu language codes as
21220         per iso639-3.
21222 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21224         * elf/tst-leaks1.c (main): Converted to ...
21225         (do_test): ... this.
21226         (TEST_FUNCTION): New macro.
21227         Include test-skeleton.c.
21228         * localedata/tst-langinfo.c (main): Converted to ...
21229         (do_test): ... this.
21230         (TEST_FUNCTION): New macro.
21231         Include test-skeleton.c.
21232         * math/test-fpucw.c (main): Converted to ...
21233         (do_test): ... this.
21234         (TEST_FUNCTION): New macro.
21235         Include test-skeleton.c.
21236         * math/test-tgmath.c (main): Converted to ...
21237         (do_test): ... this.
21238         (TEST_FUNCTION): New macro.
21239         Include test-skeleton.c.
21240         * math/test-tgmath2.c (main): Converted to ...
21241         (do_test): ... this.
21242         (TEST_FUNCTION): New macro.
21243         Include test-skeleton.c.
21244         * setjmp/tst-setjmp.c (main): Converted to ...
21245         (do_test): ... this.
21246         (TEST_FUNCTION): New macro.
21247         Include test-skeleton.c.
21248         * stdio-common/tst-sscanf.c (main): Converted to ...
21249         (do_test): ... this.
21250         (TEST_FUNCTION): New macro.
21251         Include test-skeleton.c.
21252         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21253         (do_test): ... this.
21254         (TEST_FUNCTION): New macro.
21255         Include test-skeleton.c.
21257         * elf/tst-audit9.c (main): Converted to ...
21258         (do_test): ... this.
21259         (TEST_FUNCTION): New macro.
21260         Include test-skeleton.c.
21262 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21264         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21266 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21268         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21269         New variable.
21271 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21273         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21275 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21277         * sysdeps/generic/dl-fileid.h: New file.
21278         * sysdeps/posix/dl-fileid.h: New file.
21279         * sysdeps/nacl/dl-fileid.h: New file.
21280         * include/link.h: Include <dl-fileid.h>.
21281         (struct link_map): Replace l_dev and l_ino with l_file_id.
21282         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21283         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21284         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21286 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21288         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21290 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21292         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21293         Add iff $CXX is set.
21294         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21295         Likewise.
21296         (tst-nodelete-zmodiff): Likewise.
21297         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21299 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21301         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21303 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21305         * sysdeps/aarch64/fpu/math_private.h
21306         (define math_opt_barrier): Add AArch64 version.
21307         (math_force_eval): Likewise.
21309 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21311         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21313 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21315         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21316         %ld with %jd and cast to intmax_t.
21317         (do_test_length_zero): Likewise.
21319 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21321         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21323 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21325         * sysdeps/tile/libm-test-ulps: Regenerated.
21327         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21328         Comment out the whole function, not just its body.
21330 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21332         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21333         locks.
21335         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21337 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21339         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21340         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21342 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21344         * sysdeps/nptl/futex-internal.h: New file.
21345         * sysdeps/nacl/futex-internal.h: New file.
21346         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21347         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21348         error checking.
21349         (setxid_unmark_thread): Likewise.
21350         (__nptl_setxid): Likewise.
21351         (__wait_lookup_done): Likewise.
21352         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21353         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21354         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21355         * nptl/pthread_once.c (clear_once_control): Likewise.
21356         (__pthread_once_slow): Likewise.
21357         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21358         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21359         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21360         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21361         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21362         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21363         Likewise.
21364         (__pthread_rwlock_rdlock): Likewise.
21365         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21366         Likewise.
21367         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21368         Likewise.
21369         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21370         Likewise.
21371         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21372         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21373         Likewise.
21374         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21375         __ASSUME_PRIVATE_FUTEX check.
21376         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21377         Check that shared futexes are supported.
21378         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21379         wrappers with error checking.
21380         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21381         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21382         * nptl/pthread_barrierattr_setpshared.c
21383         (pthread_barrierattr_setpshared): Check that shared futexes are
21384         supported.
21385         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21386         Likewise.
21387         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21388         Likewise.
21389         * nptl/sem_init.c (futex_private_if_supported): Remove.
21390         (__new_sem_init): Adapt and check that shared futexes are supported.
21391         * nptl/sem_open.c (sem_open): Likewise.
21392         * nptl/sem_post.c (futex_wake): Remove.
21393         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21394         (do_futex_wait): Use futex wrappers with error checking.
21395         * nptl/sem_wait.c: Include lowlevellock.h.
21396         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21397         Use futex_supports_pshared.
21398         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21399         Use futex wrappers with error checking.
21400         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21401         Likewise.
21402         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21403         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21404         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21405         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21406         (futex_wake): Likewise.
21407         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21408         (do_futex_wait): Use futex wrappers with error checking.
21409         (__new_sem_wait_slow): Update EINTR handling.
21410         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21412 2015-07-09  Martin Sebor  <msebor@redhat.com>
21414         [BZ #18435]
21415         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21416         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21417         * nptl/Makefile (test-xfail-tst-once5): Define.
21419 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21421         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21422         * elf/dl-minimal.c: For readability, reorder some definitions and
21423         introduce more page breaks.  Include <stdio.h>.
21424         (__libc_fatal): New function.
21426         * include/unistd.h: Add rtld_hidden_proto for _exit.
21427         * posix/_exit.c: Add rtld_hidden_def.
21428         * sysdeps/mach/hurd/_exit.c: Likewise.
21429         * sysdeps/nacl/_exit.c: Likewise.
21430         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21431         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21433 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21436         bndmov encoding with zero displacement.
21438 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21439             H.J. Lu  <hongjiu.lu@intel.com>
21441         [BZ #18134]
21442         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21443         * sysdeps/i386/configure: Regenerated.
21444         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21445         (_dl_runtime_profile): Save and restore Intel MPX return bound
21446         registers when calling _dl_call_pltexit.  Add
21447         PRESERVE_BND_REGS_PREFIX before return.
21448         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21449         (LRV_BND1_OFFSET): Likewise.
21450         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21451         lrv_bnd1.
21452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21453         typo in bndmov encoding.
21454         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21455         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21456         branch instructions to preserve bounds.
21458 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21461         [GLIBC_2.22]: Add fmemopen.
21463 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21465         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21466         returns an error, also try to use host port from __mach_host_self for
21467         the __vm_wire call.
21468         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21470 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21472         [BZ #18400]
21473         [BZ #18648]
21474         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21475         Fix pr_uid and pr_gid members.
21476         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21477         definition to elf_greg_t.
21479 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21481         [BZ #18383]
21482         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21483         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21484         * sysdeps/arm/configure: Regenerated.
21485         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21486         (test-xfail-tst-tlsalign-static): Variable removed.
21488         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21489         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21490         rather than explicit 'ln -s'.
21492         * resolv/rpc/netdb.h: New file.
21493         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21495 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21497         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21498         length buffers.
21499         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21500         test-skeleton.c.
21502         [BZ #6544]
21503         [BZ #11216]
21504         [BZ #12836]
21505         [BZ #13151]
21506         [BZ #13152]
21507         [BZ #14292]
21508         * include/stdio.h (fmemopen): Remove hidden prototype.
21509         (__fmemopen): Add new hidden prototype.
21510         * libio/Makefile: Add oldfmemopen object.
21511         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21512         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21513         compliance.
21514         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21515         symbol compatibility.
21516         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21517         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21518         fmemopen.
21519         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21520         on append and read mode.
21521         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21522         fmemopen.
21523         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21524         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21525         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21526         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21527         Likewise.
21528         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21529         [GLIBC_2.22]: Likewise.
21530         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21531         Likewise.
21532         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21533         Likewise.
21534         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21535         [GLIBC_2.22]: Likewise.
21536         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21537         [GLIBC_2.22]: Likewise.
21538         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21539         [GLIBC_2.22]: Likewise.
21540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21541         [GLIBC_2.22]: Likewise.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21543         [GLIBC_2.22]: Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21545         [GLIBC_2.22]: Likewise.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21547         [GLIBC_2.22]: Likewise.
21548         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21549         Likewise.
21550         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21551         Likewise.
21552         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21553         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21554         [GLIBC_2.22]: Likewise.
21555         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21556         [GLIBC_2.22]: Likewise.
21557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21558         [GLIBC_2.22]: Likewise.
21559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21560         [GLIBC_2.22]: Likewise.
21561         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21562         Likewise.
21563         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21564         Likewise.
21565         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21566         Likewise.
21567         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21568         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21570 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21572         [BZ #18643]
21573         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21574         IPV6_PATHMTU, and IPV6_DONTFRAG.
21576 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21578         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21579         and _IO_UNBUFFERED.
21580         * libio/oldfileops.c: Likewise.
21581         * libio/wfileops.c: Likewise.
21583 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21585         * nscd/selinux.c: Delete selinux/flask.h include.
21587 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21589         [BZ #18641]
21590         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21591         (putpwent): Likewise.
21592         (getpwnam): Likewise.
21593         (getpwent_r): Likewise.
21594         (getpwuid_r): Likewise.
21595         (getpwnam_r): Likewise.
21596         (fgetpwent_r): Likewise.
21598 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21600         [BZ #18557]
21601         * inet/rcmd.c (__validuser2_sa): Check user first to
21602         short-circuit host check.
21604 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21605             Mikhail Ilin  <m.ilin@samsung.com>
21607         [BZ #17833]
21608         * elf/Makefile (tests): Add tst-nodelete.
21609         (modules-names): Add tst-nodelete-uniquemod.
21610         (tst-nodelete-uniquemod.so-no-z-defs): New.
21611         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21612         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21613         ($(objpfx)tst-nodelete): Likewise.
21614         ($(objpfx)tst-nodelete.out): Likewise.
21615         (LDFLAGS-tst-nodelete): Likewise.
21616         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21617         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21618         implement forced object deletion.
21619         (_dl_close): Pass false to _dl_close_worker.
21620         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21621         * elf/tst-nodelete.cc: New file.
21622         * elf/tst-nodeletelib.cc: Likewise.
21623         * elf/tst-znodeletelib.cc: Likewise.
21624         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21626 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21628         [BZ #18508]
21629         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21630         Depend on $(libdl).
21631         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21632         is not called infinitely times.
21633         (backtrace_helper): New function.
21634         (trace_arg): New struct.
21635         (st1): Enlarge stack size.
21636         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21637         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21638         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21639         Likewise.
21641 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21643         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21645 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21647         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21648         Include sys/types.h instead of bits/types.h.
21649         Remove inclusion of bits/wordsize.h.
21651 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21653         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21654         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21655         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21656         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21657         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21658         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21660 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21662         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21663         link-defines.sym.
21664         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21665         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21666         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21667         and LR_SIZE.
21668         * sysdeps/i386/link-defines.sym: New file.
21670 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21672         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21673         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21674         ($(objpfx)tst-audit3): New rule.
21675         ($(objpfx)tst-audit3.out): Likewise.
21676         * sysdeps/i386/tst-audit3.c: New file.
21677         * sysdeps/i386/tst-audit3.h: Likewise.
21678         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21679         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21681 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21683         [BZ #18633]
21684         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21685         pointer in C code.
21686         (__strcat_c): Likewise.
21687         (__strcat_g): Likewise.
21689 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21691         [BZ #18592]
21692         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21694 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21696         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21697         New function.  (__ieee754_sqrtf): New function.
21698         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21699         New function.
21700         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21701         New function.
21703 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21705         * sysdeps/ieee754/support.c: Remove unused file.
21707 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21709         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21710         registers instead of d ones so the layout is kernel abi compatible.
21711         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21712         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21713         Likewise.
21715 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21717         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21719 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21721         [BZ #18619]
21722         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21723         and return argument in case of subnormal argument.
21725 2015-07-01  Martin Sebor  <msebor@redhat.com>
21727         [BZ #18435]
21728         * nptl/Makefile: Add tst-once5.cc.
21729         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21730         Remove macro redefinitions.
21731         * nptl/tst-once5.cc: New test.
21733 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21735         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21737         * sysdeps/arm/libm-test-ulps: Regenerated.
21739         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21740         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21742 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21744         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21745         lll_lock_wait_private and lll_futex_wake probes.
21747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21748         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21749         Likewise.
21750         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21751         atomic_spin_nop.
21752         * sysdeps/x86_64/bits/atomic.h: Likewise.
21753         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21754         to atomic_spin_nop and move ...
21755         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21756         ... here and ...
21757         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21758         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21759         atomic_spin_nop instead of BUSY_WAIT_NOP.
21760         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21761         Likewise.
21762         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21763         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21764         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21765         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21766         instead of atomic_delay.
21768 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #18613]
21771         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21772         X_ADJ not X when adjusting exponent.
21773         (__ieee754_gamma_r): Do intermediate computations in
21774         round-to-nearest then adjust overflowing and underflowing results
21775         as needed.
21776         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21777         of X_ADJ not X when adjusting exponent.
21778         (__ieee754_gammaf_r): Do intermediate computations in
21779         round-to-nearest then adjust overflowing and underflowing results
21780         as needed.
21781         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21782         log of X_ADJ not X when adjusting exponent.
21783         (__ieee754_gammal_r): Do intermediate computations in
21784         round-to-nearest then adjust overflowing and underflowing results
21785         as needed.  Use 1.0L not 1.0f as numerator of division.
21786         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21787         log of X_ADJ not X when adjusting exponent.
21788         (__ieee754_gammal_r): Do intermediate computations in
21789         round-to-nearest then adjust overflowing and underflowing results
21790         as needed.  Use 1.0L not 1.0f as numerator of division.
21791         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21792         of X_ADJ not X when adjusting exponent.
21793         (__ieee754_gammal_r): Do intermediate computations in
21794         round-to-nearest then adjust overflowing and underflowing results
21795         as needed.  Use 1.0L not 1.0f as numerator of division.
21796         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21797         to auto-libm-test-in.
21798         (tgamma_test): Use ALL_RM_TEST.
21799         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21800         tests of tgamma with spurious-overflow.
21801         * math/auto-libm-test-out: Regenerated.
21802         * math/gen-libm-have-vector-test.sh: Do not check for START.
21803         * sysdeps/i386/fpu/libm-test-ulps: Update.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806         [BZ #18612]
21807         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21808         arguments, just return 0.5 times the argument, with underflow
21809         forced as needed.
21810         * math/auto-libm-test-in: Add more tests of j1.
21811         * math/auto-libm-test-out: Regenerated.
21813         [BZ #16559]
21814         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21815         (__ieee754_j1): Force underflow exception for small results.
21816         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21817         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21818         (__ieee754_j1f): Force underflow exception for small results.
21819         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21820         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21822         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21823         (__ieee754_j1l): Force underflow exception for small results.
21824         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21825         * math/auto-libm-test-in: Add more tests of j1 and jn.
21826         * math/auto-libm-test-out: Regenerated.
21828         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21829         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21830         (PF_MPLS): Likewise.
21831         (AF_IB): Likewise.
21832         (AF_MPLS): Likewise.
21833         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21834         value and macro.
21835         (MS_RMT_MASK): Include MS_LAZYTIME.
21837 2015-06-26  Mel Gorman  <mgorman@suse.de>
21839         [BZ #18502]
21840         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21841         already minimal.
21843 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21845         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21846         (DT_MIPS_NUM): Update.
21847         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21848         DT_MIPS_RLD_MAP_REL.
21850 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21852         [BZ #16559]
21853         [BZ #18602]
21854         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21855         round-to-nearest internally then recompute results that
21856         underflowed to zero in the original rounding mode.
21857         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21858         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21859         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21860         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21861         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21862         * sysdeps/i386/fpu/libm-test-ulps: Update.
21863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21865 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21867         * NEWS: Fixed description of link with vector math library.
21869 2015-06-25  Andreas Schwab  <schwab@suse.de>
21871         [BZ #18549]
21872         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21873         * libio/test-fmemopen.c (do_test): Add test for it.
21875 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21877         [BZ #17841]
21878         * Makeconfig (no-pie-ldflag): New.
21879         (+link): Set to $(+link-pie) if default to PIE.
21880         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21881         * config.make.in (build-pie-default): New.
21882         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21883         is default.  AC_SUBST.
21884         * configure: Regenerated.
21885         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21887 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21889         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21890         to 'unsigned int'.
21892         * resolv/gai_misc.h (struct waitlist): Change type of field
21893         counterp to 'volatile unsigned int *'.
21894         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21895         FUTEXADDR and OLDVAL.
21896         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21897         Give local variable TOTAL type 'volatile unsigned int'.
21898         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21899         * resolv/gai_suspend.c (gai_suspend):
21900         Give local variable CNTR type 'unsigned int'.
21902         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21903         counterp to 'volatile unsigned int *'.
21904         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21905         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21906         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21907         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21908         Give local variable TOTAL type 'volatile unsigned int'.
21909         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21911 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21913         [BZ #18383]
21914         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21915         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21916         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21917         comment for i386/x86-64.
21918         (test-xfail-tst-tlsalign-extern-static): Removed.
21920 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21922         * math/test-double.h: New file.
21923         * math/test-float.h: Likewise.
21924         * math/test-ldouble.h: Likewise.
21925         * math/test-math-inline.h: Likewise.
21926         * math/test-math-no-inline.h: Likewise.
21927         * math/test-math-scalar.h: Likewise.
21928         * math/test-math-vector.h: Likewise.
21929         * math/test-vec-loop.h: Remove file.  Contents moved into
21930         test-math-vector.h.
21931         * math/libm-test.inc (MATHCONST): Do not document macro.
21932         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21933         and test-math-scalar.h.
21934         (FUNC): Remove macro.
21935         (FUNC_TEST): Likewise.
21936         (FLOAT): Likewise.
21937         (MATHCONST): Likewise.
21938         (PRINTF_EXPR): Likewise.
21939         (PRINTF_XEXPR): Likewise.
21940         (PRINTF_NEXPR): Likewise.
21941         (TEST_DOUBLE): Likewise.
21942         (TEST_MATHVEC): Likewise.
21943         (__NO_MATH_INLINES): Likewise.
21944         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21945         and test-math-scalar.h.
21946         (FUNC): Remove macro.
21947         (FUNC_TEST): Likewise.
21948         (FLOAT): Likewise.
21949         (MATHCONST): Likewise.
21950         (PRINTF_EXPR): Likewise.
21951         (PRINTF_XEXPR): Likewise.
21952         (PRINTF_NEXPR): Likewise.
21953         (TEST_FLOAT): Likewise.
21954         (TEST_MATHVEC): Likewise.
21955         (__NO_MATH_INLINES): Likewise.
21956         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21957         and test-math-scalar.h.
21958         (FUNC): Remove macro.
21959         (FUNC_TEST): Likewise.
21960         (FLOAT): Likewise.
21961         (MATHCONST): Likewise.
21962         (PRINTF_EXPR): Likewise.
21963         (PRINTF_XEXPR): Likewise.
21964         (PRINTF_NEXPR): Likewise.
21965         (TEST_DOUBLE): Likewise.
21966         (TEST_MATHVEC): Likewise.
21967         (TEST_INLINE): Likewise.
21968         (__NO_MATH_INLINES): Likewise.
21969         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21970         test-math-scalar.h.
21971         (FUNC): Remove macro.
21972         (FUNC_TEST): Likewise.
21973         (FLOAT): Likewise.
21974         (MATHCONST): Likewise.
21975         (PRINTF_EXPR): Likewise.
21976         (PRINTF_XEXPR): Likewise.
21977         (PRINTF_NEXPR): Likewise.
21978         (TEST_FLOAT): Likewise.
21979         (TEST_MATHVEC): Likewise.
21980         (TEST_INLINE): Likewise.
21981         (__NO_MATH_INLINES): Likewise.
21982         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21983         and test-math-scalar.h.
21984         (FUNC): Remove macro.
21985         (FUNC_TEST): Likewise.
21986         (FLOAT): Likewise.
21987         (MATHCONST): Likewise.
21988         (PRINTF_EXPR): Likewise.
21989         (PRINTF_XEXPR): Likewise.
21990         (PRINTF_NEXPR): Likewise.
21991         (TEST_LDOUBLE): Likewise.
21992         (TEST_MATHVEC): Likewise.
21993         (TEST_INLINE): Likewise.
21994         (__NO_MATH_INLINES): Likewise.
21995         * math/test-ldouble.c: Include test-ldouble.h,
21996         test-math-no-inline.h and test-math-scalar.h.
21997         (FUNC): Remove macro.
21998         (FUNC_TEST): Likewise.
21999         (FLOAT): Likewise.
22000         (MATHCONST): Likewise.
22001         (PRINTF_EXPR): Likewise.
22002         (PRINTF_XEXPR): Likewise.
22003         (PRINTF_NEXPR): Likewise.
22004         (TEST_LDOUBLE): Likewise.
22005         (TEST_MATHVEC): Likewise.
22006         (__NO_MATH_INLINES): Likewise.
22007         * math/test-double-vlen2.h: Include test-double.h,
22008         test-math-no-inline.h and test-math-vector.h.
22009         (FLOAT): Remove macro.
22010         (FUNC): Likewise.
22011         (MATHCONST): Likewise.
22012         (PRINTF_EXPR): Likewise.
22013         (PRINTF_XEXPR): Likewise.
22014         (PRINTF_NEXPR): Likewise.
22015         (TEST_DOUBLE): Likewise.
22016         (TEST_MATHVEC): Likewise.
22017         (__NO_MATH_INLINES): Likewise.
22018         (CNCT): Likewise.
22019         (CONCAT): Likewise.
22020         (WRAPPER_NAME): Likewise.
22021         (WRAPPER_DECL): Likewise.
22022         (WRAPPER_DECL_ff): Likewise.
22023         (WRAPPER_DECL_fFF): Likewise.
22024         (VECTOR_WRAPPER): Likewise.
22025         (VECTOR_WRAPPER_ff): Likewise.
22026         (VECTOR_WRAPPER_fFF): Likewise.
22027         (VEC_LEN): New macro.
22028         * math/test-double-vlen4.h: Include test-double.h,
22029         test-math-no-inline.h and test-math-vector.h.
22030         (FLOAT): Remove macro.
22031         (FUNC): Likewise.
22032         (MATHCONST): Likewise.
22033         (PRINTF_EXPR): Likewise.
22034         (PRINTF_XEXPR): Likewise.
22035         (PRINTF_NEXPR): Likewise.
22036         (TEST_DOUBLE): Likewise.
22037         (TEST_MATHVEC): Likewise.
22038         (__NO_MATH_INLINES): Likewise.
22039         (CNCT): Likewise.
22040         (CONCAT): Likewise.
22041         (WRAPPER_NAME): Likewise.
22042         (WRAPPER_DECL): Likewise.
22043         (WRAPPER_DECL_ff): Likewise.
22044         (WRAPPER_DECL_fFF): Likewise.
22045         (VECTOR_WRAPPER): Likewise.
22046         (VECTOR_WRAPPER_ff): Likewise.
22047         (VECTOR_WRAPPER_fFF): Likewise.
22048         (VEC_LEN): New macro.
22049         * math/test-double-vlen8.h: Include test-double.h,
22050         test-math-no-inline.h and test-math-vector.h.
22051         (FLOAT): Remove macro.
22052         (FUNC): Likewise.
22053         (MATHCONST): Likewise.
22054         (PRINTF_EXPR): Likewise.
22055         (PRINTF_XEXPR): Likewise.
22056         (PRINTF_NEXPR): Likewise.
22057         (TEST_DOUBLE): Likewise.
22058         (TEST_MATHVEC): Likewise.
22059         (__NO_MATH_INLINES): Likewise.
22060         (CNCT): Likewise.
22061         (CONCAT): Likewise.
22062         (WRAPPER_NAME): Likewise.
22063         (WRAPPER_DECL): Likewise.
22064         (WRAPPER_DECL_ff): Likewise.
22065         (WRAPPER_DECL_fFF): Likewise.
22066         (VECTOR_WRAPPER): Likewise.
22067         (VECTOR_WRAPPER_ff): Likewise.
22068         (VECTOR_WRAPPER_fFF): Likewise.
22069         (VEC_LEN): New macro.
22070         * math/test-float-vlen4.h: Include test-float.h,
22071         test-math-no-inline.h and test-math-vector.h.
22072         (FLOAT): Remove macro.
22073         (FUNC): Likewise.
22074         (MATHCONST): Likewise.
22075         (PRINTF_EXPR): Likewise.
22076         (PRINTF_XEXPR): Likewise.
22077         (PRINTF_NEXPR): Likewise.
22078         (TEST_FLOAT): Likewise.
22079         (TEST_MATHVEC): Likewise.
22080         (__NO_MATH_INLINES): Likewise.
22081         (CNCT): Likewise.
22082         (CONCAT): Likewise.
22083         (WRAPPER_NAME): Likewise.
22084         (WRAPPER_DECL): Likewise.
22085         (WRAPPER_DECL_ff): Likewise.
22086         (WRAPPER_DECL_fFF): Likewise.
22087         (VECTOR_WRAPPER): Likewise.
22088         (VECTOR_WRAPPER_ff): Likewise.
22089         (VECTOR_WRAPPER_fFF): Likewise.
22090         (VEC_LEN): New macro.
22091         * math/test-float-vlen8.h: Include test-float.h,
22092         test-math-no-inline.h and test-math-vector.h.
22093         (FLOAT): Remove macro.
22094         (FUNC): Likewise.
22095         (MATHCONST): Likewise.
22096         (PRINTF_EXPR): Likewise.
22097         (PRINTF_XEXPR): Likewise.
22098         (PRINTF_NEXPR): Likewise.
22099         (TEST_FLOAT): Likewise.
22100         (TEST_MATHVEC): Likewise.
22101         (__NO_MATH_INLINES): Likewise.
22102         (CNCT): Likewise.
22103         (CONCAT): Likewise.
22104         (WRAPPER_NAME): Likewise.
22105         (WRAPPER_DECL): Likewise.
22106         (WRAPPER_DECL_ff): Likewise.
22107         (WRAPPER_DECL_fFF): Likewise.
22108         (VECTOR_WRAPPER): Likewise.
22109         (VECTOR_WRAPPER_ff): Likewise.
22110         (VECTOR_WRAPPER_fFF): Likewise.
22111         (VEC_LEN): New macro.
22112         * math/test-float-vlen16.h: Include test-float.h,
22113         test-math-no-inline.h and test-math-vector.h.
22114         (FLOAT): Remove macro.
22115         (FUNC): Likewise.
22116         (MATHCONST): Likewise.
22117         (PRINTF_EXPR): Likewise.
22118         (PRINTF_XEXPR): Likewise.
22119         (PRINTF_NEXPR): Likewise.
22120         (TEST_FLOAT): Likewise.
22121         (TEST_MATHVEC): Likewise.
22122         (__NO_MATH_INLINES): Likewise.
22123         (CNCT): Likewise.
22124         (CONCAT): Likewise.
22125         (WRAPPER_NAME): Likewise.
22126         (WRAPPER_DECL): Likewise.
22127         (WRAPPER_DECL_ff): Likewise.
22128         (WRAPPER_DECL_fFF): Likewise.
22129         (VECTOR_WRAPPER): Likewise.
22130         (VECTOR_WRAPPER_ff): Likewise.
22131         (VECTOR_WRAPPER_fFF): Likewise.
22132         (VEC_LEN): New macro.
22133         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22134         test-vec-loop.h.
22135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22138         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22139         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22140         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22141         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22143 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22145         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22146         (__getlogin_r): ... this.
22148 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22150         [BZ #18594]
22151         * math/s_ccosh.c (__ccosh): Compare with least normal value
22152         instead of comparing class with FP_SUBNORMAL.
22153         * math/s_ccoshf.c (__ccoshf): Likewise.
22154         * math/s_ccoshl.c (__ccoshl): Likewise.
22155         * math/s_cexp.c (__cexp): Likewise.
22156         * math/s_cexpf.c (__cexpf): Likewise.
22157         * math/s_cexpl.c (__cexpl): Likewise.
22158         * math/s_csin.c (__csin): Likewise.
22159         * math/s_csinf.c (__csinf): Likewise.
22160         * math/s_csinh.c (__csinh): Likewise.
22161         * math/s_csinhf.c (__csinhf): Likewise.
22162         * math/s_csinhl.c (__csinhl): Likewise.
22163         * math/s_csinl.c (__csinl): Likewise.
22164         * math/s_ctan.c (__ctan): Likewise.
22165         * math/s_ctanf.c (__ctanf): Likewise.
22166         * math/s_ctanh.c (__ctanh): Likewise.
22167         * math/s_ctanhf.c (__ctanhf): Likewise.
22168         * math/s_ctanhl.c (__ctanhl): Likewise.
22169         * math/s_ctanl.c (__ctanl): Likewise.
22170         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22171         csin, csinh, ctan and ctanh.
22172         * math/auto-libm-test-out: Regenerated.
22173         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22174         * sysdeps/i386/fpu/libm-test-ulps: Update.
22175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22177 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22179         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22180         return value is wrong, print the expected value too.
22182 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22184         [BZ #18585]
22185         * elf/readlib.c (is_gdb_python_file): New.
22186         (process_file): Don't issue errors on filenames with -gdb.py
22187         suffix.
22189 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22191         * math/auto-libm-test-in: Add more tests of csin and csinh.
22192         * math/auto-libm-test-out: Regenerated.
22193         * math/libm-test.inc (csin_test_data): Remove tests moved to
22194         auto-libm-test-in.
22195         (csinh_test_data): Likewise.
22197         [BZ #18593]
22198         * math/s_csin.c (__csin): Negate before rather than after possibly
22199         overflowing multiplication.
22200         * math/s_csinf.c (__csinf): Likewise.
22201         * math/s_csinh.c (__csinh): Likewise.
22202         * math/s_csinhf.c (__csinhf): Likewise.
22203         * math/s_csinhl.c (__csinhl): Likewise.
22204         * math/s_csinl.c (__csinl): Likewise.
22205         * math/auto-libm-test-in: Add some tests of csin and csinh.
22206         * math/auto-libm-test-out: Regenerated.
22207         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22208         (csinh_test_data): Likewise.
22209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22211         [BZ #18586]
22212         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22213         underflow exception for small results.
22215 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22219         variable and included header.
22220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22228         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22229         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22230         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22231         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22232         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22233         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22234         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22235         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22237 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22239         [BZ #16526]
22240         [BZ #16538]
22241         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22242         (__sin): Force underflow exception for arguments with small
22243         absolute value.
22244         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22245         (__kernel_sinf): Force underflow exception for arguments with
22246         small absolute value.
22247         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22248         (__kernel_sincosl): Force underflow exception for arguments with
22249         small absolute value.
22250         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22251         (__kernel_sinl): Force underflow exception for arguments with
22252         small absolute value.
22253         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22254         (__kernel_sincosl): Force underflow exception for arguments with
22255         small absolute value.
22256         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22257         (__kernel_sinl): Force underflow exception for arguments with
22258         small absolute value.
22259         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22260         (__kernel_sinl): Force underflow exception for arguments with
22261         small absolute value.
22262         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22263         (__kernel_sinf): Force underflow exception for arguments with
22264         small absolute value.
22265         * math/auto-libm-test-in: Add more tests of sin and sincos.
22266         * math/auto-libm-test-out: Regenerated.
22268         [BZ #18245]
22269         [BZ #18583]
22270         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22271         (__kernel_standard_l): Use feholdexcept and fesetenv around
22272         conversion to double instead of special-casing overflow and
22273         underflow.
22274         * math/libm-test.inc (fmod_test_data): Add more tests.
22275         (remainder_test_data): Likewise.
22276         (sqrt_test_data): Likewise.
22278 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22280         [BZ #17403]
22281         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22282         atomic_read_barrier, atomic_write_barrier): Define.
22283         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22284         atomic_read_barrier, atomic_write_barrier): Define.
22286 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22288         * math/Makefile [$(PERL) != no]
22289         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22290         dependency on libm-test.stmp below the inclusion of Rules.
22292 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22294         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22296         and included header.
22297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22300         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22301         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22305         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22306         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22307         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22308         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22309         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22310         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22311         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22312         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22313         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22314         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22315         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22317 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22319         [BZ #18371]
22320         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22321         intermediate but not final result might underflow.
22322         * math/s_csqrtf.c (__csqrtf): Likewise.
22323         * math/s_csqrtl.c (__csqrtl): Likewise.
22324         * math/auto-libm-test-in: Add more tests of csqrt.
22325         * math/auto-libm-test-out: Regenerated.
22326         * sysdeps/i386/fpu/libm-test-ulps: Update.
22328         [BZ #18219]
22329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22330         threshold on absolute value of exponent for which scaling is used.
22331         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22332         * math/auto-libm-test-in: Add more tests of exp2.
22333         * math/auto-libm-test-out: Regenerated.
22335 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22337         [BZ #17977]
22338         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22339         when initializing interface list, based on the bug analysis
22340         and the patch proposed by Eric Newton.
22341         * resolv/tst-res_hconf_reorder.c: New test.
22342         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22343         tst-res_hconf_reorder.
22344         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22345         and $(shared-thread-library).
22346         (tst-res_hconf_reorder-ENV): New variable.
22348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22349         in comment.
22351 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22353         [BZ #16353]
22354         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22355         (__expm1): Force underflow exception for arguments with small
22356         absolute value.
22357         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22358         (__expm1f): Force underflow exception for arguments with small
22359         absolute value.
22360         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22361         (__expm1): Force underflow exception for arguments with small
22362         absolute value.
22363         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22364         (__expm1f): Force underflow exception for arguments with small
22365         absolute value.
22366         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22367         Check for small arguments before calling __expm1.
22368         * math/auto-libm-test-in: Do not mark underflow exceptions as
22369         possibly missing for bug 16353.
22370         * math/auto-libm-test-out: Regenerated.
22372 2015-06-22  Andreas Schwab  <schwab@suse.de>
22374         [BZ #18513]
22375         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22376         PTR queries.
22378 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22380         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22382         * string/strcoll_l.c: Remove unused struct element idxnow.
22384 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22386         [BZ #18569]
22387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22388         underflow and return argument in case of subnormal argument.
22389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22390         Likewise.
22391         * math/auto-libm-test-in: Add more tests of expm1.
22392         * math/auto-libm-test-out: Regenerated.
22394         [BZ #16361]
22395         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22396         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22397         tiny results.
22398         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22399         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22400         tiny results.
22401         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22402         mark underflow exceptions as possibly missing for bug 16361.
22403         * math/auto-libm-test-out: Regenerated.
22405 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22407         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22408         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22409         Remove variable.
22410         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22411         (test-xfail-XOPEN2K8/utmpx.h/conform).
22413         * conform/conformtest.pl ($xerrors): New variable.
22414         (note_error): New function.
22415         (compiletest): New argument $xfail.  Use not_error.
22416         (runtest): Likewise.
22417         (top level): Handle xfail- lines.  Update calls to compiletest and
22418         runtest.  Handle xfail- and optional- in headers listed with
22419         allow-header.
22420         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22421         (O_EXEC): Likewise.
22422         (O_SEARCH): Likewise.
22423         * conform/data/stropts.h-data (ioctl): Likewise.
22424         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22425         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22426         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22427         (msghdr.msg_controllen): Likewise.
22428         (cmsghdr.cmsg_len): Likewise.
22429         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22430         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22431         variable.
22432         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22433         (test-xfail-XPG4/stropts.h/conform): Likewise.
22434         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22435         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22436         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22437         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22438         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22439         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22440         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22441         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22442         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22443         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22444         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22445         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22446         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22447         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22448         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22449         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22450         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22451         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22452         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22454 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22456         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22457         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22458         definitions for proper unfolding of __MATHDECL_VEC.
22460 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22462         * benchtests/bench-strcoll.c:
22463         Include string.h.
22464         (main): Remove unused variable res.
22466 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22468         * timezone/Makefile (%/UTC %/Universal):
22469         Generate test-result files for UTC and Universal.
22471 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22473         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22475 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22477         [BZ #16350]
22478         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22479         for arguments with small absolute value.
22480         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22481         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22482         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22483         (__asinh): Force underflow exception for arguments with small
22484         absolute value.
22485         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22486         (__asinhf): Force underflow exception for arguments with small
22487         absolute value.
22488         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22489         (__asinhl): Force underflow exception for arguments with small
22490         absolute value.
22491         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22492         (__asinhl): Force underflow exception for arguments with small
22493         absolute value.
22494         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22495         (__asinhl): Force underflow exception for arguments with small
22496         absolute value.
22497         * math/auto-libm-test-in: Do not mark underflow exceptions as
22498         possibly missing for bug 16350.
22499         * math/auto-libm-test-out: Regenerated.
22501         * include/bits/ipc.h: Remove file.
22502         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22503         variable.
22504         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22505         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22506         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22507         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22508         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22509         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22510         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22511         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22512         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22514         * math/auto-libm-test-in: Remove spurious underflow allowance for
22515         tests of cexp.
22516         * math/auto-libm-test-out: Regenerated.
22518         [BZ #18558]
22519         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22520         unconditional definition.
22521         (MCAST_BLOCK_SOURCE): Likewise.
22522         (MCAST_UNBLOCK_SOURCE): Likewise.
22523         (MCAST_LEAVE_GROUP): Likewise.
22524         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22525         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22526         (MCAST_MSFILTER): Likewise.
22527         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22528         Remove variable.
22529         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22530         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22531         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22532         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22533         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22535 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22537         * NEWS: Mention addition of x86_64 vector sincosf.
22538         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22539         * math/test-float-vlen4.h: Likewise.
22540         * math/test-float-vlen8.h: Likewise.
22541         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22542         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22543         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22544         * sysdeps/x86_64/fpu/Versions: New versions added.
22545         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22546         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22547         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22554         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22555         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22556         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22557         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22558         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22559         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22560         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22561         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22562         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22563         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22564         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22565         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22567         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22568         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22570         * NEWS: Mention addition of x86_64 vector sincos.
22571         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22572         * math/math.h (__MATHDECL_VEC): New macro.
22573         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22574         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22575         declaration under condition.
22576         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22577         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22578         TEST_VEC_LOOP change.
22579         * math/test-double-vlen4.h: Likewise.
22580         * math/test-double-vlen8.h: Likewise.
22581         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22582         * math/test-float-vlen4.h: Likewise.
22583         * math/test-float-vlen8.h: Likewise.
22584         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22585         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22587         * sysdeps/x86_64/fpu/Versions: New versions added.
22588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22590         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22597         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22598         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22599         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22600         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22601         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22602         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22603         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22604         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22605         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22608         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22609         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22610         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22611         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22614         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22615         redirections for powf.
22616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22617         * sysdeps/x86_64/fpu/Versions: New versions added.
22618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22619         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22620         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22621         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22626         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22628         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22629         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22630         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22631         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22632         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22633         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22634         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22635         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22636         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22637         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22638         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22640         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22641         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22642         * math/test-float-vlen16.h: Fixed 2 argument macro.
22643         * math/test-float-vlen4.h: Likewise.
22644         * math/test-float-vlen8.h: Likewise.
22645         * NEWS: Mention addition of x86_64 vector powf.
22647 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22649         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22650         and redefine.
22651         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22652         and redefine.
22653         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22654         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22657         [BZ #18553]
22658         * resource/getpriority.c (getpriority): Rename to __getpriority
22659         and define as weak alias of __getpriority.
22660         * resource/setpriority.c (setpriority): Rename to __setpriority
22661         and define as weak alias of __setpriority.
22662         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22663         __getpriority and define as weak alias of __getpriority.
22664         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22665         __setpriority and define as weak alias of __setpriority.
22666         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22667         strong name.
22668         (setpriority): Use __setpriority as strong name.
22669         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22670         __getpriority and define as weak alias of __getpriority.
22671         * include/sys/resource.h (__getpriority): Declare.  Use
22672         libc_hidden_proto.
22673         (__setpriority): Likewise.
22674         (getpriority): Don't use libc_hidden_proto.
22675         (setpriority): Likewise.
22676         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22677         getpriority.  Call __setpriority instead of setpriority.
22678         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22679         Remove variable.
22681         [BZ #18547]
22682         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22683         as weak alias of __getttynam.  Use prototype function definition.
22684         Call __setttyent, __getttyent and __endttyent instead of
22685         setttyent, getttyent and endttyent.
22686         (getttyent): Rename to __getttyent and define as weak alias of
22687         __getttyent.  Call __setttyent instead of setttyent.  Call
22688         __fgets_unlocked instead of fgets_unlocked.
22689         (setttyent): Rename to __setttyent and define as weak alias of
22690         __setttyent.
22691         (endttyent): Rename to __endttyent and define as weak alias of
22692         __endttyent.
22693         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22694         (__setttyent): Likewise.
22695         (__endttyent): Likewise.
22696         (getttyent): Don't use libc_hidden_proto.
22697         (setttyent): Likewise.
22698         (endttyent): Likewise.
22699         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22700         __endttyent instead of setttyent, getttyent and endttyent.
22701         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22702         Remove variable.
22704         [BZ #18546]
22705         * socket/recv.c (__recv): Use libc_hidden_def.
22706         * socket/socket.c (__socket): Likewise.
22707         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22708         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22709         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22710         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22711         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22712         libc_hidden_def.
22713         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22714         libc_hidden_weak.
22715         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22716         Use libc_hidden_proto.
22717         (__recv): Likewise.
22718         * socket/Versions (libc): Export __recv and __socket at version
22719         GLIBC_PRIVATE.
22720         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22721         instead of recv.
22722         (init_mq_netlink): Call __socket instead of socket.
22723         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22724         Remove variable.
22726         [BZ #18545]
22727         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22728         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22729         hidden_weak.
22730         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22731         define as alias of __mq_timedsend.  Use hidden_weak.
22732         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22733         __mq_timedsend as strong name.
22734         (mq_timedreceive): Use __mq_timedreceive as strong name.
22735         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22736         (__mq_timedreceive): Likewise.
22737         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22738         __mq_timedreceive instead of mq_timedreceive.
22739         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22740         instead of mq_timedsend.
22741         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22742         Remove variable.
22744         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22745         hidden_def and hidden_weak instead of libc_hidden_def and
22746         libc_hidden_weak.
22747         (top level): Refer to hidden_def in comment.
22748         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22749         macro.  Use it instead of libc_hidden_def.
22750         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22751         specify __GI_* name explicitly.
22752         (mq_timedreceive): Likewise.
22753         (mq_setattr): Likewise.
22755         [BZ #18544]
22756         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22757         __pthread_barrier_init and define as weak alias of
22758         __pthread_barrier_init.
22759         * sysdeps/sparc/nptl/pthread_barrier_init.c
22760         (pthread_barrier_init): Likewise.
22761         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22762         __pthread_barrier_wait and define as weak alias of
22763         __pthread_barrier_wait.
22764         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22765         (pthread_barrier_wait): Likewise.
22766         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22767         (pthread_barrier_wait): Likewise.
22768         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22769         (pthread_barrier_wait): Likewise.
22770         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22771         (pthread_barrier_wait): Likewise.
22772         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22773         __pthread_barrier_wait at version GLIBC_PRIVATE.
22774         * include/pthread.h (__pthread_barrier_init): Declare.
22775         (__pthread_barrier_wait): Likewise.
22776         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22777         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22778         (helper_thread): Likewise.
22779         (init_mq_netlink): Call __pthread_barrier_init instead of
22780         pthread_barrier_init.
22782         [BZ #18542]
22783         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22784         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22785         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22786         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22787         vswscanf.
22788         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22789         Remove variable.
22791         [BZ #18540]
22792         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22793         strong alias of _IO_fflush.  Use libc_hidden_def.
22794         * libio/iofflush_u.c (fflush_unlocked): Rename to
22795         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22796         Use libc_hidden_weak.
22797         * include/stdio.h (__fflush_unlocked): Declare.  Use
22798         libc_hidden_proto.
22799         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22800         fflush_unlocked.
22801         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22802         Remove variable.
22804         [BZ #18539]
22805         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22806         define as weak alias of __addseverity.
22807         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22808         Remove variable.
22809         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22810         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22811         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22813         [BZ #18536]
22814         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22815         (__tfind): Likewise.
22816         (__tdelete): Likewise.
22817         (__twalk): Likewise.
22818         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22819         __twalk to GLIBC_PRIVATE.
22820         * include/search.h (__tsearch): Use libc_hidden_proto.
22821         (__tfind): Likewise.
22822         (__tdelete): Likewise.
22823         (__twalk): Likewise.
22824         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22825         Call __tdelete instead of tdelete.
22826         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22827         tfind.  Call __tsearch instead of tsearch.
22828         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22829         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22830         Remove variable.
22831         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22833         [BZ #18534]
22834         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22835         (dprintf): Define as a weak alias of __dprintf, not a strong
22836         alias.
22837         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22838         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22839         dprintf.
22840         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22841         Remove variable.
22842         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22843         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22845         [BZ #18533]
22846         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22847         not a strong alias.
22848         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22849         Remove variable.
22851         [BZ #18532]
22852         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22853         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22854         (in6addr_loopback): Rename to __in6addr_loopback and define as
22855         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22856         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22857         libc_hidden_proto.
22858         (__in6addr_any): Likewise.
22859         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22860         in6addr_any.
22861         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22862         variable.
22863         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22865 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22867         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22868         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22869         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22870         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22871         redirections for pow.
22872         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22873         * sysdeps/x86_64/fpu/Versions: New versions added.
22874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22875         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22876         build of SSE, AVX2 and AVX512 IFUNC versions.
22877         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22884         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22885         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22886         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22887         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22888         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22889         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22890         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22891         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22892         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22894         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22895         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22896         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22897         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22898         * NEWS: Mention addition of x86_64 vector pow.
22900         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22901         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22902         redirections for expf.
22903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22904         * sysdeps/x86_64/fpu/Versions: New versions added.
22905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22907         build of SSE, AVX2 and AVX512 IFUNC versions.
22908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22910         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22912         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22913         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22914         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22915         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22916         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22917         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22918         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22919         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22920         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22921         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22922         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22923         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22924         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22925         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22926         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22927         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22928         * NEWS: Mention addition of x86_64 vector expf.
22930         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22931         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22933         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22934         redirections for exp.
22935         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22936         * sysdeps/x86_64/fpu/Versions: New versions added.
22937         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22938         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22939         build of SSE, AVX2 and AVX512 IFUNC versions.
22940         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22941         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22942         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22945         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22946         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22947         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22948         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22949         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22950         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22951         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22953         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22956         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22957         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22958         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22959         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22960         * NEWS: Mention addition of x86_64 vector exp.
22962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22963         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22964         redirections for logf.
22965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22966         * sysdeps/x86_64/fpu/Versions: New versions added.
22967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22969         build of SSE, AVX2 and AVX512 IFUNC versions.
22970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22974         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22976         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22977         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22978         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22979         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22980         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22981         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22982         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22983         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22984         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22985         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22988         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22989         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22990         * NEWS: Mention addition of x86_64 vector logf.
22992         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22993         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22994         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22995         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22996         redirections for log.
22997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22998         * sysdeps/x86_64/fpu/Versions: New versions added.
22999         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23000         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23001         build of SSE, AVX2 and AVX512 IFUNC versions.
23002         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23003         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23004         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23005         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23006         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23007         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23008         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23009         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23010         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23011         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23012         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23013         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23015         test.
23016         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23018         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23019         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23020         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23021         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23022         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23023         * NEWS: Mention addition of x86_64 vector log.
23025 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23027         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23028         cfi_adjust_cfa_offset argument.
23029         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23030         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23032         [BZ #18034]
23033         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23034         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23035         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23036         ordering using ldar.
23037         (_dl_tlsdesc_dynamic): Likewise.
23038         (_dl_tlsdesc_return_lazy): Likewise.
23039         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23040         relaxed atomics instead of volatile and synchronize with release store.
23041         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23042         volatile.
23043         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23045 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23047         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23048         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23050         * sysdeps/x86_64/fpu/Versions: New versions added.
23051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23053         build of SSE, AVX2 and AVX512 IFUNC versions.
23054         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23055         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23056         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23060         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23061         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23062         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23063         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23064         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23065         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23066         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23067         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23068         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23069         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23071         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23072         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23073         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23074         * NEWS: Mention addition of x86_64 vector sinf.
23076 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23078         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23079         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23080         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23081         Remove variable.
23082         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23083         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23085 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23087         [BZ #18530]
23088         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23089         strong alias of _IO_fputs.  Use libc_hidden_def.
23090         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23091         and define as weak alias of __fputs_unlocked.  Use
23092         libc_hidden_weak.
23093         * include/stdio.h (__fputs_unlocked): Declare.  Use
23094         libc_hidden_proto.
23095         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23096         fputs_unlocked.
23098         [BZ #18529]
23099         * resolv/netdb.h [__USE_POSIX]: Change condition to
23100         [__USE_XOPEN2K].
23101         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23102         not expect.
23103         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23104         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23105         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23106         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23107         [XPG4 || UNIX98] (AI_ALL): Likewise.
23108         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23109         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23110         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23111         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23112         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23113         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23114         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23115         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23116         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23117         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23118         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23119         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23120         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23121         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23122         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23123         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23124         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23125         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23126         [XPG4 || UNIX98] (gai_strerror): Likewise.
23127         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23128         [XPG4 || UNIX98] (getnameinfo): Likewise.
23130         [BZ #18528]
23131         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23132         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23133         __USE_XOPEN2K8].
23134         (getgrent): Likewise.
23135         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23136         expect.
23137         [XPG3 || POSIX2008] (endgrent): Likewise.
23138         [XPG3] (setgrent): Likewise.
23139         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23140         variable.
23141         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23143         [BZ #18527]
23144         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23145         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23146         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23147         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23148         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23149         * include/unistd.h (__getlogin_r): Declare.  Use
23150         libc_hidden_proto.
23151         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23152         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23153         variable.
23154         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23155         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23156         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23158 2015-06-12  Martin Sebor  <msebor@redhat.com>
23160         [BZ #18512]
23161         * Makerules (check-install-supported): New target.
23162         (install): Add check-install-supported as a dependency.
23163         * manual/install.texi (Installing the C Library): Document
23164         that overriding prefix and exec_prefix is not supported.
23165         Mention DESTDIR.
23166         * INSTALL: Regenerate from the above.
23168 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23170         [BZ #18519]
23171         * posix/Versions (libc): Export __libc_pread at version
23172         GLIBC_PRIVATE.
23173         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23174         instead of pread.
23175         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23176         variable.
23178         [BZ #18522]
23179         * misc/efgcvt_r.c
23180         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23181         (cvt_symbol): Use weak_alias instead of strong_alias.
23182         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23183         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23184         Remove variable.
23185         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23186         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23188         [BZ #18520]
23189         * inet/herrno.c (h_errno): Rename to __h_errno.
23190         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23191         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23192         to __h_errno instead of h_errno.
23193         * nptl/herrno.c (h_errno): Rename to __h_errno.
23194         (__h_errno_location): Refer to __h_errno not h_errno.
23195         * resolv/Versions (h_errno): Rename to __h_errno.
23196         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23197         Remove variable.
23198         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23200 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23202         * configure.ac: More strict check for AVX512 assembler support.
23203         * configure: Regenerated.
23205         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23206         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23207         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23208         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23209         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23210         * sysdeps/x86_64/fpu/Versions: New versions added.
23211         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23212         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23213         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23220         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23221         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23222         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23223         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23224         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23225         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23226         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23227         test.
23228         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23229         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23230         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23231         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23232         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23233         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23234         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23235         * NEWS: Mention addition of x86_64 vector sin.
23237 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23239         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23240         comment.
23242 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23244         [BZ #18479]
23245         * nptl/pt-interp.c: New file.
23246         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23247         Add pt-interp.
23248         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23249         $(common-objpfx)runtime-linker.h.
23251 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23253         * Makeconfig (+interp): Remove unused variable.
23254         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23255         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23256         $(elf-objpfx)runtime-linker.h.
23257         ($(elf-objpfx)runtime-linker.h): Rename to
23258         $(common-objpfx)runtime-linker.h and move ...
23259         * Makerules [$(build-shared) = yes]: ... here.
23260         * elf/interp.c: Include <runtime-linker.h> instead of
23261         <elf/runtime-linker.h>.
23263 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23265         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23266         (__gettimeofday_syscall): Remove vsyscall fallback.
23267         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23268         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23269         Add syscall fallback function.
23270         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23271         if vDSO is not present.
23272         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23273         fallback function.
23274         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23275         present.
23276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23277         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23279 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23281         [BZ #18497]
23282         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23283         of wcscmp.
23284         (wcscmp): Define as weak alias of WCSCMP.
23285         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23286         wcscoll.
23287         (USE_HIDDEN_DEF): Define.
23288         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23289         __wcscoll.  Don't use libc_hidden_weak.
23290         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23291         wcscmp.
23292         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23293         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23294         __GI_wcscmp.
23295         (weak_alias): Undefine and redefine.
23296         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23297         __wcscmp and define as weak alias of __wcscmp.
23298         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23299         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23300         (__wcscoll): Likewise.
23301         (wcscmp): Don't use libc_hidden_proto.
23302         (wcscoll): Likewise.
23303         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23304         wcscoll.
23305         * posix/regexec.c (check_node_accept_bytes): Likewise.
23306         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23307         variable.
23308         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23309         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23311         [BZ #18507]
23312         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23313         __fstatvfs and define as weak alias of __fstatvfs.  Use
23314         libc_hidden_weak.
23315         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23316         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23317         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23318         Define as alias of __fstatvfs, not fstatvfs.
23319         (fstatvfs64): Likewise.
23320         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23321         Define as alias of __statvfs, not statvfs.
23322         (statvfs64): Likewise.
23323         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23324         Remove variable.
23326 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23329         (HAVE_GETCPU_VSYSCALL): Define.
23330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23331         (HAVE_GETCPU_VSYSCALL): Likewise.
23332         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23333         * sysdeps/unix/sysv/linux/sched_getcpu.c
23334         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23335         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23336         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23337         prototype.
23338         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23339         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23342         Define.
23343         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23344         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23345         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23346         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23348 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23350         * sysdeps/x86_64/fpu/Makefile: New file.
23351         * sysdeps/x86_64/fpu/Versions: New file.
23352         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23353         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23354         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23355         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23356         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23357         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23358         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23366         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23368         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23369         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23370         * sysdeps/x86_64/configure: Regenerated.
23371         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23372         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23373         * manual/install.texi (Configuring and compiling): Document
23374         --disable-mathvec.
23375         * INSTALL: Regenerated.
23376         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23378         * math/Makefile: Added rules for vector tests.
23379         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23380         declaration under condition.
23381         * math/test-double-vlen2.h: New file.
23382         * math/test-double-vlen4.h: New file.
23383         * math/test-double-vlen8.h: New file.
23384         * math/test-vec-loop.h: Added initialization macro.
23385         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23387         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23388         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23389         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23391         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23392         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23393         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23394         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23395         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23397         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23398         * sysdeps/x86_64/fpu/Versions: New versions added.
23399         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23400         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23401         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23402         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23403         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23405         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23406         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23409         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23410         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23411         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23412         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23413         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23416         * NEWS: Mention addition of x86_64 vector cosf.
23418         * math/Makefile: Added CFLAGS for new tests.
23419         * math/test-float-vlen16.h: New file.
23420         * math/test-float-vlen4.h: New file.
23421         * math/test-float-vlen8.h: New file.
23422         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23423         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23425         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23426         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23427         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23428         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23431         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23432         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23434 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23436         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23437         * locale/programs/ld-ctype.c: Likewise.
23439 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23441         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23442         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23443         bit_ZMM16_31_state): New macro.
23444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23445         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23447 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23449         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23451 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23453         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23455 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23457         [BZ #18498]
23458         * libio/memstream.c (open_memstream): Rename to __open_memstream
23459         and define as weak alias of __open_memstream.
23460         * include/stdio.h (__open_memstream): Declare.  Use
23461         libc_hidden_proto.
23462         (open_memstream): Don't use libc_hidden_proto.
23463         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23464         open_memstream.
23465         * posix/getopt.c (_getopt_internal_r): Likewise.
23466         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23467         variable.
23468         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23469         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23470         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23472         [BZ #18496]
23473         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23474         instead of wcrtomb.
23476         [BZ #18483]
23477         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23478         [__USE_XOPEN2K8].  Remove redundant #endif.
23479         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23480         Remove redundant #if.
23481         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23482         Remove variable.
23483         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23484         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23486         [BZ #18495]
23487         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23488         (__iswlower): Likewise.
23489         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23490         (__iswlower): Likewise.
23491         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23492         instead of towlower.
23493         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23494         instead of iswlower.  Call __towupper instead of towupper.
23495         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23496         instead of iswalnum.
23498 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23500         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23501         errors to stderr.
23503 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23505         [BZ #15661]
23506         [BZ #17322]
23507         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23508         Check for overflow properly.  Check for O_APPEND.  Ignore large
23509         file system block sizes.  Add comments about problems.
23510         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23511         * manual/filesys.texi (Storage Allocation): New node.
23513 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23515         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23516         cancellable syscalls.
23517         (SYS_ify): Add guard to no redefine it.
23518         (INLINE_SYSCALL): Likewise.
23519         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23520         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23521         SYSCALL_CANCEL instead.
23522         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23523         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23524         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23525         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23526         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23527         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23528         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23529         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23530         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23531         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23532         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23533         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23534         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23535         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23536         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23538         Likewise.
23539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23540         (__libc_pread64): Likewise.
23541         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23542         (__libc_preadv): Likewise.
23543         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23544         (__libc_readv64): Likewise.
23545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23546         (__libc_pwrite): Likewise.
23547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23548         (__libc_pwrite64): Likewise.
23549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23550         (__libc_pwritev): Likewise.
23551         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23552         (__libc_pwritev64): Likewise.
23553         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23554         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23555         (sync_file_range): Likewise.
23556         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23557         Likewise.
23558         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23559         Likewise.
23560         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23561         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23562         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23563         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23564         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23565         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23566         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23567         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23569         Likewise.
23570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23571         (__libc_read64): Likewise.
23572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23573         Likewise.
23574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23575         Likewise.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23577         Likewise.
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23581         (__libc_pread64): Likewise.
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23583         Likewise.
23584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23585         (__libc_pwrite64): Likewise.
23586         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23587         (sync_file_range): Likewise.
23588         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23589         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23590         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23591         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23592         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23593         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23594         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23595         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23596         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23597         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23598         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23599         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23600         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23601         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23602         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23603         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23604         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23605         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23606         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23607         Likewise.
23608         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23609         Likewise.
23610         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23611         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23612         Likewise.
23613         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23614         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23615         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23616         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23617         Likewise.
23618         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23619         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23620         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23621         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23622         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23624 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23626         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23627         Include dl-vdso.
23628         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23629         Use VDSO routines for gettimeofday, clock_gettime if
23630         available.
23631         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23632         Declare VDSO symbols.
23633         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23634         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23635         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23636         * sysdeps/unix/sysv/linux/arm/Versions: Add
23637         __vdso_clock_gettime.
23639 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23641         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23642         be an inline implementation regardless of library is built within.
23643         (open_not_cancel_2): Likewise.
23644         (__read_nocancel): Likewise.
23645         (__write_nocancel): Likewise.
23646         (openat_not_cancel): Likewise.
23647         (openat_not_cancel_3): Likewise.
23648         (openat64_not_cancel): Likewise.
23649         (openat64_not_cancel_3): Likewise.
23650         (__close_nocancel): Likewise.
23651         (pause_not_cancel): Likewise.
23652         (nanosleep_not_cancel): Likewise.
23653         (sigsuspend_not_cancel): Likewise.
23655 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23657         [BZ #14958]
23658         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23659         wake-up.
23660         (__pthread_rwlock_rdlock_slow): Likewise.
23661         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23662         Likewise.
23663         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23664         Likewise.
23665         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23666         * nptl/tst-rwlock16.c: New file.
23667         * nptl/Makefile (tests): Add new test.
23669 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23671         [BZ #18324]
23672         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23673         missing wake-up of readers.
23674         * nptl/tst-rwlock15.c: New file.
23675         * nptl/Makefile (tests): Add new test.
23677 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23679         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23680         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23681         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23682         and __nacl_supply_interface_rtld.
23683         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23684         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23685         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23686         Add __nacl_supply_interface_rtld.
23687         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23689 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23691         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23692         isfinite.
23693         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23694         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23696 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23698         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23699         __signbit* with standard C99 macros.
23700         * math/e_exp10l.c: Likewise.
23701         * math/e_exp2l.c: Likewise.
23702         * math/e_scalb.c: Likewise.
23703         * math/e_scalbf.c: Likewise.
23704         * math/e_scalbl.c: Likewise.
23705         * math/s_ldexp.c: Likewise.
23706         * math/s_ldexpf.c: Likewise.
23707         * math/s_ldexpl.c: Likewise.
23708         * math/w_atan2.c: Likewise.
23709         * math/w_atan2f.c: Likewise.
23710         * math/w_atan2l.c: Likewise.
23711         * math/w_cosh.c: Likewise.
23712         * math/w_coshf.c: Likewise.
23713         * math/w_coshl.c: Likewise.
23714         * math/w_exp10.c: Likewise.
23715         * math/w_exp10f.c: Likewise.
23716         * math/w_exp10l.c: Likewise.
23717         * math/w_exp2.c: Likewise.
23718         * math/w_exp2f.c: Likewise.
23719         * math/w_exp2l.c: Likewise.
23720         * math/w_fmod.c: Likewise.
23721         * math/w_fmodf.c: Likewise.
23722         * math/w_fmodl.c: Likewise.
23723         * math/w_hypot.c: Likewise.
23724         * math/w_hypotf.c: Likewise.
23725         * math/w_hypotl.c: Likewise.
23726         * math/w_jnl.c: Likewise.
23727         * math/w_lgamma.c: Likewise.
23728         * math/w_lgamma_r.c: Likewise.
23729         * math/w_lgammaf.c: Likewise.
23730         * math/w_lgammaf_r.c: Likewise.
23731         * math/w_lgammal.c: Likewise.
23732         * math/w_lgammal_r.c: Likewise.
23733         * math/w_pow.c: Likewise.
23734         * math/w_powf.c: Likewise.
23735         * math/w_powl.c: Likewise.
23736         * math/w_remainder.c: Likewise.
23737         * math/w_remainderf.c: Likewise.
23738         * math/w_remainderl.c: Likewise.
23739         * math/w_scalb.c: Likewise.
23740         * math/w_scalbf.c: Likewise.
23741         * math/w_scalbl.c: Likewise.
23742         * math/w_scalbln.c: Likewise.
23743         * math/w_scalblnf.c: Likewise.
23744         * math/w_scalblnl.c: Likewise.
23745         * math/w_sinh.c: Likewise.
23746         * math/w_sinhf.c: Likewise.
23747         * math/w_sinhl.c: Likewise.
23748         * math/w_tgamma.c: Likewise.
23749         * math/w_tgammaf.c: Likewise.
23750         * math/w_tgammal.c: Likewise.
23751         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23752         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23753         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23754         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23755         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23756         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23757         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23758         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23759         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23760         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23761         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23762         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23764         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23765         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23766         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23772         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23777         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23778         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23781         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23782         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23783         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23784         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23785         * stdio-common/printf_fp.c: Likewise.
23786         * stdio-common/printf_fphex.c: Likewise.
23787         * stdio-common/printf_size.c: Likewise.
23789 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23791         [BZ #18470]
23792         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23793         strnlen.
23794         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23795         Remove variable.
23796         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23797         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23798         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23799         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23800         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23801         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23802         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23803         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23804         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23805         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23807         [BZ #18468]
23808         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23809         weak alias of __wmemchr.  Use libc_hidden_weak.
23810         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23811         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23812         instead of wmemchr.
23814 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23816         [BZ #18383]
23817         * elf/tst-tlsalign-extern.c: New file.
23818         * elf/tst-tlsalign-extern-static.c: New file.
23819         * elf/tst-tlsalign-vars.c: New file.
23820         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23821         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23822         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23823         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23824         (test-xfail-tst-tlsalign-extern-static): New variable.
23826 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23828         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23829         Use variable name _sc_err instead of err.
23830         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23831         instead of ret.
23832         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23833         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23834         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23835         (INLINE_SYSCALL): Likewise.
23837         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23838         * include/string.h (__strnlen): Use libc_hidden_proto.
23839         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23840         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23841         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23843         (libc_hidden_def): Undefine and redefine.
23844         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23845         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23846         __GI_strnlen.
23847         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23848         libc_hidden_def.
23849         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23851         [BZ #18469]
23852         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23853         weak alias of __towlower.  Use libc_hidden_weak.
23854         (towupper): Rename to __towupper and define as weak alias of
23855         __towupper.  Use libc_hidden_weak.
23856         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23857         (__towupper): Likewise.
23858         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23859         __towlower instead of towlower.
23861 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23863         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23864         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23866 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23868         * sysdeps/aarch64/libm-test-ulps: Update.
23870 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23872         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23873         Define.
23874         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23876         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23878         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23879         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23880         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23882 2015-06-01  Martin Sebor  <msebor@redhat.com>
23884         [BZ #18116]
23885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23886         (__setcontext): Use extended four-operand version of mtsf whenever
23887         possible.
23888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23889         (__novec_swapcontext): Likewise.
23891 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23893         * benchtests/scripts/compare_bench.py: New file.
23894         * benchtests/scripts/import_bench.py (mean): New function.
23895         (split_list): Likewise.
23896         (do_for_all_timings): Likewise.
23897         (compress_timings): Likewise.
23899         * benchtests/scripts/import_bench.py: New file.
23900         * benchtests/scripts/validate_benchout.py: Import import_bench
23901         instead of jsonschema.
23902         (validate_bench): Remove function.
23903         (main): Use import_bench.
23905 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23907         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23908         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23910 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23914 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23916         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23917         set THREAD_SELF->tid to a magic value and futex-wake it.
23918         Pass its address to the thread_exit system call.
23919         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23920         bit is clear.
23921         * sysdeps/nacl/lowlevellock.h: New file.
23922         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23924         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23925         Add TIMEOUT to current time, don't subtract it.
23927 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23929         [BZ #2981]
23930         [BZ #18422]
23931         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23932         ($(objpfx)tst-audit2.out): Also depend on
23933         $(objpfx)tst-auditmod9b.so.
23934         * elf/tst-audit2.c: Include <dlfcn.h>.
23935         (calloc_called): New.
23936         (calloc): Allow to be called more than once.
23937         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23939 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23941         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23942         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23944 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23946         * stdlib/monetary.h: Fix comment.
23948 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23950         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23951         Avoid using variables in #defines that might cause shadowing.
23952         (INTERNAL_VSYSCALL_CALL): Likewise.
23954 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23956         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23958         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23959         * nptl/lll_timedlock_wait.c: ... to this new file.
23960         * nptl/Makefile (libpthread-routines): Add it.
23961         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23962         * nptl/lll_timedwait_tid.c: ... to this new file.
23963         * nptl/Makefile (libpthread-routines): Add it.
23964         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23965         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23966         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23967         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23968         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23969         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23970         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23971         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23972         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23973         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23975 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23977         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23978         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23979         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23981         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23983         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23984         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23985         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23986         * sysdeps/unix/sysv/linux/tile/sysdep.h
23987         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23988         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23989         using vDSO syscall macro.
23991 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23993         [BZ #17293]
23994         * uk_UA: Fix sorting order for Ukrainian locale
23996 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23998         * stdlib/monetary.h: Fix comment.
24000 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24002         [BZ #18234]
24003         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24004         st_mtim and st_ctim members.
24005         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24006         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24007         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24008         (struct stat64): Likewise.
24009         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24010         (struct stat64): Likewise.
24011         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24012         (struct stat64): Likewise.
24014 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24016         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24017         Define and include sysdep-vdso.h.
24018         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24019         Likewise.
24020         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24021         Likewise.
24022         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24023         Define with VDSO_SYMBOL and use PTR_MANGLE.
24024         (__vdso_clock_gettime): Likewise.
24025         (__vdso_clock_getres): Likewise.
24026         (_libc_vdso_platform_setup): Likewise.
24027         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24028         Likewise.
24029         (_libc_vdso_platform_setup): Likewise.
24030         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24031         Likewise.
24032         (__vdso_clock_gettime): Likewise.
24033         (__vdso_clock_getres): Likewise.
24034         (__vdso_get_tbfreq): Likewise.
24035         (__vdso_getcpu): Likewise.
24036         (__vdso_time): Likewise.
24037         (__vdso_sigtramp_rt64): Likewise.
24038         (__vdso_signtramp32): Likewise.
24039         (__vdso_sigtramp_rt32): Likewise.
24040         (_libc_vdso_platform_setup): Likewise.
24041         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24042         Likewise.
24043         (__vdso_clock_gettime): Likewise.
24044         (__vdso_clock_getres): Likewise.
24045         (_libc_vdso_platform_setup): Likewise.
24046         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24047         Likewise.
24048         (__vdso_clock_gettime): Likewise.
24049         (_libc_vdso_platform_setup): Likewise.
24050         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24051         Likewise.
24052         (__vdso_getcpu): Likewise.
24053         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24054         Use VDSO_SYMBOL macro to define.
24055         (__vdso_clock_gettime): Likewise.
24056         (__vdso_clock_getres): Likewise.
24057         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24058         Likewise.
24059         (__vdso_clock_gettime): Likewise.
24060         (__vdso_clock_getres): Likewise.
24061         (__vdso_get_tbfreq): Likewise.
24062         (__vdso_getcpu): Likewise.
24063         (__vdso_time): Likewise.
24064         (__vdso_sigtramp_rt64): Likewise.
24065         (__vdso_signtramp32): Likewise.
24066         (__vdso_sigtramp_rt32): Likewise.
24067         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24068         Likewise.
24069         (__vdso_clock_gettime): Likewise.
24070         (__vdso_clock_getres): Likewise.
24071         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24072         Likewise.
24073         (__vdso_clock_gettime): Likewise.
24074         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24075         Likewise.
24076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24077         macro.
24078         (INTERNAL_VSYSCALL): Likewise.
24079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24080         Remove macro.
24081         (INTERNAL_VSYSCALL): Likewise.
24082         (INTERNAL_VSYSCALL_NCS): Likewise.
24083         (INTERNAL_VSYSCALL_CALL): New macro.
24084         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24086         Likewise.
24087         (INTERNAL_VSYSCALL): Likewise.
24088         (INTERNAL_VSYSCALL_NCS): Likewise.
24089         (INTERNAL_VSYSCALL_CALL): New macro.
24090         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24092         (INLINE_VSYSCALL): Remove macro.
24093         (INTERNAL_VSYSCALL): Remove macro.
24094         (INTERNAL_VSYSCALL_NCS): Remove macro.
24095         (INTERNAL_VSYSCALL_CALL): New macro.
24096         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24097         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24098         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24099         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24100         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24102         (INLINE_VSYSCALL): Remove macro.
24103         (INTERNAL_VSYSCALL): Likewise.
24104         (INTERNAL_VSYSCALL_NCS): Likewise.
24105         (INTERNAL_VSYSCALL_CALL): New macro.
24106         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24107         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24108         PTR_DEMANGLE on vDSO pointer.
24109         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24110         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24111         macro.
24112         (INTERNAL_SYSCALL): Likewise.
24113         (INTERNAL_VSYSCALL_NCS): Remove macro.
24114         (INTERNAL_VSYSCALL_CALL): New macro.
24115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24116         Remove macro.
24117         (INTERNAL_VSYSCALL): Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24119         sysdep-vdso.h instead of libc-vdso.h.
24120         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24121         definition.
24122         (INLINE_VSYSCALL): Likewise.
24123         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24124         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24125         definition.
24126         (INLINE_VSYSCALL): Likewise.
24127         (INTERNAL_VSYSCALL): Likewise.
24128         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24129         * sysdeps/unix/sysv/linux/timespec_get.c
24130         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24131         (timespec_get): Use ANSI prototype.
24132         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24133         and definition for Linux.
24135 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24137         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24138         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24140 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24142         [BZ #2981]
24143         [BZ #18410]
24144         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24145         for missing DT_PLTRELSZ.
24147 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24149         Remove obsolete aliases that broke 'locale -a'
24150         [BZ #18412]
24151         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24152         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24153         breaking some applications that use 'locale -a' output.
24154         Change the encoding of this file from Latin-1 to ASCII to avoid
24155         other potential problems with people grepping this file.
24157 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24159         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24160         -fasynchronous-unwind-tables.
24161         (CFLAGS-sendto.c): Likewise.
24162         (CFLAGS-sendmsg.c): Likewise.
24163         (CFLAGS-connect.c): Likewise.
24164         (CFLAGS-recvmsg.c): Likewise.
24165         (CFLAGS-recvfrom.c): Likewise.
24166         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24167         (SOCKETCALL): New macro: non-cancellable socketcall.
24168         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24169         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24170         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24171         * sysdeps/unix/sysv/linux/accept.c: New file.
24172         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24173         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24174         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24175         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24176         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24177         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24178         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24179         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24180         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24181         * sysdeps/unix/sysv/linux/send.c: Likewise.
24182         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24183         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24184         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24185         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24186         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24187         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24188         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24189         prototype.
24190         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24191         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24192         instead of __internal_xxx function.
24193         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24194         prototype.
24195         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24196         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24197         instead of __internal_xxx function.
24198         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24199         prototype.
24200         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24201         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24202         instead of __internal_xxx function.
24203         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24204         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24205         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24206         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24207         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24208         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24209         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24210         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24211         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24212         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24213         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24214         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24215         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24216         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24217         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24218         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24219         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24220         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24221         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24222         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24225         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24226         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24227         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24228         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24229         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24230         * sysdeps/unix/sysv/linux/send.S: Likewise.
24231         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24232         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24233         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24234         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24235         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24236         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24237         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24238         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24239         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24240         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24241         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24242         socketcall is implemented in GLIBC.
24244 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24246         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24247         (__fma): Ignore uninitialized warnings around packing.
24248         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24249         (__fmaf): Ignore uninitialized warnings around packing.
24250         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24251         (__fmal): Ignore uninitialized warnings around packing.
24253         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24254         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24255         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24256         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24258         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24259         switch statement into default case.
24260         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24262         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24263         a conditional in forcing "inexact".
24264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24265         Likewise.
24267 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24269         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24270         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24271         for each INTERNAL_SYSCALL use.
24273 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24275         [BZ #438]
24276         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24277         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24278         variable.
24280         [BZ #18444]
24281         * string/basename.c (basename): Rename to __basename and define as
24282         weak alias of __basename.  Use libc_hidden_weak.
24283         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24284         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24285         __basename instead of basename.
24286         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24287         Remove variable.
24288         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24290 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24292         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24293         (_IO_JUMPS_FILE_plus): New.
24294         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24295         _IO_CAST_FIELD_ACCESS.
24296         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24297         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24298         * libio/freopen.c (freopen): Likewise.
24299         * libio/freopen64.c (freopen64): Likewise.
24300         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24301         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24302         * libio/iofwide.c (_IO_fwide): Likewise.
24303         * libio/memstream.c (open_memstream): Likewise.
24304         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24305         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24306         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24308 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24310         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24311         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24312         NADJ.
24313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24314         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24315         NADJ.
24316         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24317         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24318         NADJ.
24320         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24321         (p == 4) case.
24323         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24324         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24325         Remove variable.
24326         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24327         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24328         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24330 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24332         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24333         Adjust jump table label generation macros.
24335 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24337         * stdio-common/vfprintf.c (vfprintf): Move local variables
24338         args_malloced, specs, specs_malloced, and the code after
24339         do_positional to the printf_positional function.
24340         (printf_positional): New function.
24342 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24344         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24345         function.
24346         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24347         STEP4_TABLE, process_arg): Move macro definitions
24348         out of the vfprintf function.  (Cosmetic change only.)
24350 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24352         * benchtests/Makefile (stdio-common-bench): Define.
24353         (benchset): Add stdio-common-bench.
24354         * sprintf-inputs: New file.
24355         * sprintf-source.c: New file.
24357 2015-05-21  Andreas Schwab  <schwab@suse.de>
24359         [BZ #13028]
24360         [BZ #17053]
24361         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24362         of struct __res_state.
24363         * resolv/res_send.c (__libc_res_nsend): Likewise.
24364         (get_nsaddr): New function.
24365         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24366         statp directly.
24368 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24370         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24371         -D_POSIX_C_SOURCE=199506L.
24373         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24375         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24376         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24377         Do not mention otherwise.
24378         [POSIX] (_XOPEN_VERSION): Do not expect.
24379         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24380         [POSIX] (_POSIX2_C_BIND): Likewise.
24381         [POSIX] (_POSIX2_VERSION): Likewise.
24382         [POSIX] (_XOPEN_XPG2): Likewise.
24383         [POSIX] (_XOPEN_XPG3): Likewise.
24384         [POSIX] (_XOPEN_XPG4): Likewise.
24385         [POSIX] (_XOPEN_UNIX): Likewise.
24386         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24387         [POSIX] (_POSIX_BARRIERS): Likewise.
24388         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24389         [POSIX] (_POSIX_CPUTIME): Likewise.
24390         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24391         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24392         [POSIX] (_POSIX_SHELL): Likewise.
24393         [POSIX] (_POSIX_SPAWN): Likewise.
24394         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24395         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24396         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24397         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24398         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24399         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24400         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24401         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24402         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24403         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24404         [POSIX] (_POSIX2_PBS): Likewise.
24405         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24406         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24407         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24408         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24409         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24410         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24411         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24412         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24413         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24414         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24415         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24416         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24417         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24418         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24419         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24420         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24421         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24422         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24423         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24424         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24425         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24426         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24427         [POSIX] (_SC_2_C_BIND): Likewise.
24428         [POSIX] (_SC_2_C_VERSION): Likewise.
24429         [POSIX] (_SC_2_PBS): Likewise.
24430         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24431         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24432         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24433         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24434         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24435         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24436         [POSIX] (_SC_BARRIERS): Likewise.
24437         [POSIX] (_SC_BASE): Likewise.
24438         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24439         [POSIX] (_SC_DEVICE_IO): Likewise.
24440         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24441         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24442         [POSIX] (_SC_FD_MGMT): Likewise.
24443         [POSIX] (_SC_FIFO): Likewise.
24444         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24445         [POSIX] (_SC_FILE_LOCKING): Likewise.
24446         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24447         [POSIX] (_SC_IOV_MAX): Likewise.
24448         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24449         [POSIX] (_SC_NETWORKING): Likewise.
24450         [POSIX] (_SC_PAGE_SIZE): Likewise.
24451         [POSIX] (_SC_PASS_MAX): Likewise.
24452         [POSIX] (_SC_PIPE): Likewise.
24453         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24454         [POSIX] (_SC_REGEXP): Likewise.
24455         [POSIX] (_SC_SHELL): Likewise.
24456         [POSIX] (_SC_SIGNALS): Likewise.
24457         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24458         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24459         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24460         [POSIX] (_SC_USER_GROUPS): Likewise.
24461         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24462         [POSIX] (_SC_STREAMS): Likewise.
24463         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24464         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24465         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24466         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24467         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24468         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24469         [POSIX] (_PC_FILESIZEBITS): Likewise.
24470         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24471         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24472         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24473         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24474         [POSIX] (uid_t): Likewise.
24475         [POSIX] (gid_t): Likewise.
24476         [POSIX] (off_t): Likewise.
24477         [POSIX] (pid_t): Likewise.
24478         [POSIX] (cuserid): Allow.
24479         (_SC_2_CHAR_TERM): Require constant.
24480         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24481         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24482         variable.
24484 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24486         * sysdeps/nacl/pthread-pids.h: New file.
24487         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24488         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24490         * nptl/pthread-pids.h: New file.
24491         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24492         * nptl/nptl-init.c: Include <pthread-pids.h>.
24493         (__pthread_initialize_minimal_internal):
24494         Call __pthread_initialize_pids instead of set_tid_address syscall.
24496         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24497         * sysdeps/posix/usleep.c: ... here.
24499 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24501         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24502         call_pselect6 object.
24503         [$(subdir) = io]: Remove call_sync_file_range object.
24504         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24505         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24506         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24507         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24509 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24511         * math/s_cproj.c: Add include "math_private.h".
24512         * math/s_cprojf.c: Likewise.
24513         * math/s_cprojl.c: Likewise.
24515 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24517         [BZ #18244]
24518         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24519         high mantissa bit when testing whether P is a NaN.
24520         * math/libm-test.inc (remainder_test_data): Add more tests.
24521         (remquo_test_data): Likewise.
24523         [BZ #18049]
24524         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24525         below -32, return the argument, with underflow if subnormal.
24526         * math/auto-libm-test-in: Add more tests of atanh.
24527         * math/auto-libm-test-out: Regenerated.
24529 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24531         [BZ #18434]
24532         * nptl/tst-sem15.c: New file.
24533         * nptl/Makefile (tests): Add it.
24534         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24535         s/<</>>/ to fix typo in EOVERFLOW check.
24536         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24538 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24540         * manual/strings.texi (envz_remove): Fix typo in safety
24541         annotations.
24543 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24544             Steve Ellcey  <sellcey@imgtec.com>
24546         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24547         in order to avoid strict alias warnings.
24548         (iruserok_af): Ditto for ra.
24550 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24552         [BZ #17581]
24553         * malloc/hooks.c
24554         (magicbyte): Convert to a function and avoid returning 0x01.
24555         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24556         (mem2chunk_check): Fix unsigned comparisons to zero.
24557         Hoist defs of sz and magic.
24559 2015-05-19  Richard Henderson  <rth@redhat.com>
24561         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24563         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24565 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24567         [BZ #16159]
24568         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24569         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24570         (reused_arena): Find a non-corrupt arena.
24571         (heap_trim): Pass arena to unlink.
24572         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24573         malloc_printerr.
24574         (top_check): Likewise.
24575         (free_check): Likewise.
24576         (realloc_check): Likewise.
24577         * malloc/malloc.c (malloc_printerr): Add arena argument.
24578         (unlink): Likewise.
24579         (munmap_chunk): Adjust.
24580         (ARENA_CORRUPTION_BIT): New macro.
24581         (arena_is_corrupt): Likewise.
24582         (set_arena_corrupt): Likewise.
24583         (sysmalloc): Use mmap if there are no usable arenas.
24584         (_int_malloc): Likewise.
24585         (__libc_malloc): Don't fail if arena_get returns NULL.
24586         (_mid_memalign): Likewise.
24587         (__libc_calloc): Likewise.
24588         (__libc_realloc): Adjust for additional argument to
24589         malloc_printerr.
24590         (_int_free): Likewise.
24591         (malloc_consolidate): Likewise.
24592         (_int_realloc): Likewise.
24593         (_int_memalign): Don't touch corrupt arenas.
24594         * malloc/tst-malloc-backtrace.c: New test case.
24596         * Makefile (summarize-tests): Fix return value on success.
24598         * manual/string.texi (Envz Functions): Add envz_remove.
24600 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24602         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24603         (invalid_name): New function, broken out of ...
24604         (__opendirat): ... here.  Call it.
24605         (need_isdir_precheck): New function, broken out of ...
24606         (__opendirat): ... here.  Call it.
24607         Use __fxstatat64, not __xstatat64.
24608         (opendir_oflags): New function, broken out of ...
24609         (__opendirat): ... here.  Call it.
24610         (opendir_tail): New function, broken out of ...
24611         (__opendirat): ... here.  Call it.
24612         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24613         opendir_tail, rather than punting to __opendirat.
24614         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24616 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24618         * .gitignore: Ignore generated *.pyc.
24620 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24622         * include/stdio.h: Define __need_wint_t.
24623         * test-skeleton.c: Avoid `for' loop initial declaration.
24624         * nptl/tst-initializers1.c: Use test-skeleton.c.
24626 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24628         [BZ #18418]
24629         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24631 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24633         [BZ #16352]
24634         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24635         (__ieee754_atanh): Force underflow exception for results with
24636         small absolute value.
24637         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24638         (__ieee754_atanhf): Force underflow exception for results with
24639         small absolute value.
24640         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24641         (__ieee754_atanh): Force underflow exception for results with
24642         small absolute value.
24643         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24644         (__ieee754_atanhf): Force underflow exception for results with
24645         small absolute value.
24646         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24647         (__ieee754_atanhl): Force underflow exception for results with
24648         small absolute value.
24649         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24650         (__ieee754_atanhl): Force underflow exception for results with
24651         small absolute value.
24652         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24653         (__ieee754_atanhl): Force underflow exception for results with
24654         small absolute value.
24655         * math/auto-libm-test-in: Do not allow missing underflow
24656         exceptions from atanh.
24657         * math/auto-libm-test-out: Regenerated.
24659         [BZ #18221]
24660         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24661         2**-28 as threshold for returning x or +/- 1/x.
24662         * math/auto-libm-test-in: Add more tests of tan.
24663         * math/auto-libm-test-out: Regenerated.
24665         [BZ #18220]
24666         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24667         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24668         * math/auto-libm-test-in: Add another test of lgamma.
24669         * math/auto-libm-test-out: Regenerated.
24671 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24673         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24674         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24675         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24676         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24677         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24678         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24679         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24681         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24682         (log1): Use fabs.  (my_log2): Use fabs.
24683         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24684         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24686         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24688         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24689         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24690         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24691         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24692         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24693         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24695 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24697         [BZ #18217]
24698         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24699         as threshold for returning 1 - x.
24700         * math/auto-libm-test-in: Add more tests of erfc.
24701         * math/auto-libm-test-out: Regenerated.
24703 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24705         [BZ #18196]
24706         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24707         threshold for large arguments.
24708         * math/auto-libm-test-in: Add another test of atan.
24709         * math/auto-libm-test-out: Regenerated.
24711         [BZ #16339]
24712         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24713         (__log1p): Force underflow exception for results with small
24714         absolute value.
24715         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24716         (__log1pf): Force underflow exception for results with small
24717         absolute value.
24718         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24719         (__log1p): Force underflow exception for results with small
24720         absolute value.
24721         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24722         (__log1pf): Force underflow exception for results with small
24723         absolute value.
24724         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24725         (__log1pl): Force underflow exception for results with small
24726         absolute value.
24727         * math/auto-libm-test-in: Do not allow missing underflow
24728         exceptions from log1p.
24729         * math/auto-libm-test-out: Regenerated.
24731 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24732             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24734         [BZ #16704]
24735         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24737 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24739         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24740         (libmvec): New variable.
24741         * configure.ac: Added option for mathvec build.
24742         * configure: Regenerated.
24743         * mathvec/Depend: New file.
24744         * mathvec/Makefile: New file.
24745         * shlib-versions: Added libmvec.
24746         * math/Makefile: Added rule for libm.so installation.
24748         * bits/math-vector.h: New file.
24749         * bits/libm-simd-decl-stubs.h: New header.
24750         * math/Makefile (headers): Added new header
24751         libm-simd-decl-stubs.h.
24752         * math/math.h (__MATHCALL_VEC): New macro.
24754         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24755         for conditions in testing functions.
24756         * math/Makefile: Added call of libm-have-vector-test.sh.
24757         * math/libm-test.inc (HAVE_VECTOR): New macros.
24759         * math/libm-test.inc: START refactored.
24760         * math/test-double.c (TEST_MATHVEC): Add define.
24761         * math/test-float.c: Likewise.
24762         * math/test-idouble.c: Likewise.
24763         * math/test-ifloat.c: Likewise.
24764         * math/test-ildoubl.c: Likewise.
24765         * math/test-ldouble.c: Likewise.
24766         * sysdeps/generic/math-tests-arch.h
24767         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24768         architecture check.
24770         * math/test-double.c (FUNC_TEST): New macro.
24771         * math/test-float.c: Likewise.
24772         * math/test-idouble.c: Likewise.
24773         * math/test-ifloat.c: Likewise.
24774         * math/test-ildoubl.c: Likewise.
24775         * math/test-ldouble.c: Likewise.
24776         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24778 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24780         * sysdeps/nacl/fdopendir.c: New file.
24782         * dirent/scandir-tail.c: New file.
24783         * dirent/scandir64-tail.c: New file.
24784         * dirent/Makefile (routines): Add them.
24785         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24786         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24787         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24788         [!SCANDIR] (SCANDIR_TAIL): New macro.
24789         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24790         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24791         (SCANDIRAT): Macro removed.
24792         (SCANDIR_TAIL): New macro.
24793         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24794         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24795         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24796         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24797         (READDIR): Macro removed.
24798         (SCANDIR_TAIL): New macro.
24799         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24800         (SCANDIR_TAIL): New macro.
24802         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24803         * dirent/scandir-cancel.c: ... to this new file.
24804         * dirent/Makefile (routines): Add it.
24805         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24806         * sysdeps/unix/sysv/linux/i386/scandir64.c
24807         (SKIP_SCANDIR_CANCEL): Macro removed.
24808         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24810         * dirent/tst-scandir.c: New file.
24811         * dirent/tst-scandir64.c: New file.
24812         * dirent/Makefile (tests): Add them.
24814 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24816         [BZ #18409]
24817         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24819 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24821         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24822         list.
24824 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24826         * benchtests/bench-strcoll.c: New benchmark.
24827         * benchtests/Makefile: Generate locales and run benchmark.
24828         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24829         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24830         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24831         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24832         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24833         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24834         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24835         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24836         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24837         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24838         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24839         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24840         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24841         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24842         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24843         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24844         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24845         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24846         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24847         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24848         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24849         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24850         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24851         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24853 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24855         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24856         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24858 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24860         * posix/uname-values.h: New file.
24861         * posix/uname.c: Include that instead of <config-name.h>.
24862         * sysdeps/nacl/uname-values.h: New file.
24863         * sysdeps/arm/nacl/uname-values.h: New file.
24865 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24867         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24868         splitting into fields.
24870 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24872         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24873         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24874         * locale/localeinfo.h: Add enum collation_encoding_type.
24875         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24876         * programs/ld-collate.c (collate_output): Add encoding type info.
24877         * string/strcoll_l.c (STRDIFF): New function.
24878         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24879         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24881 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24883         [BZ #18397]
24884         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24885         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24886         <fpu_control.h> instead of <math/fpu_control.c>.
24887         * sysdeps/mips/mips32/fpu/Makefile: New file.
24889 2015-05-11  Andreas Schwab  <schwab@suse.de>
24891         [BZ #18007]
24892         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24893         nss_endgrent.
24894         (_nss_compat_endgrent): Call nss_endgrent.
24895         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24896         nss_endpwent.
24897         (_nss_compat_endpwent): Call nss_endpwent.
24898         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24899         needent, call nss_setspent only if non-zero.
24900         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24901         (internal_endspent): Don't call nss_endspent.
24902         (_nss_compat_endspent): Call nss_endspent.
24903         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24904         Remove.  All uses removed.
24905         (internal_setent): Remove parameter stayopen, add parameter
24906         stream.  Use it instead of global variable.
24907         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24908         (internal_endent, internal_getent): Add parameter stream.  Use it
24909         instead of global variable.
24910         (CONCAT(_nss_files_end,ENTNAME))
24911         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24912         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24913         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24914         uses removed.
24915         (internal_setent, internal_endent): Add parameter stream.  Use it
24916         instead of global variable.
24917         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24918         stream.
24919         (get_next_alias): Add parameter stream.
24920         (_nss_files_getaliasent_r): Pass global stream.
24921         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24922         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24923         (_nss_files_gethostbyname4_r): Pass local stream to
24924         internal_setent, internal_getent and internal_endent.  Remove
24925         locking.
24927 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24929         * tst-strfmon1.c (tests): Update expected currency symbol.
24931 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24933         * sysdeps/nacl/gethostname.c: New file.
24935 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24937         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24938         and sinh.
24939         * math/auto-libm-test-out: Regenerated.
24940         * sysdeps/i386/fpu/libm-test-ulps: Update.
24941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24943 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24945         [BZ #18125]
24946         * stdlib/tst-setcontext3.c: New file.
24947         * stdlib/tst-setcontext3.sh: New file.
24948         * stdlib/Makefile (tests): Add tst-setcontext3.
24949         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24950         to verify test program created output file.
24951         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24952         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24953         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24954         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24956 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24958         [BZ #18383]
24959         * elf/tst-tlsalign.c: New file.
24960         * elf/tst-tlsalign-static.c: New file.
24961         * elf/tst-tlsalign-lib.c: New file.
24962         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24963         (tests-static): Add tst-tlsalign-static.
24964         (modules-names): Add tst-tlsalign-lib.
24965         (test-xfail-tst-tlsalign): New variable.
24966         (test-xfail-tst-tlsalign-static): New variable.
24968         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24969         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24971 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24973         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24974         csqrt, erfc, sin and sincos.
24975         * math/auto-libm-test-out: Regenerated.
24976         * sysdeps/i386/fpu/libm-test-ulps: Update.
24977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24979 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24981         * sysdeps/aarch64/libm-test-ulps: Update.
24983 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24985         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24986         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24987         * math/auto-libm-test-out: Regenerated.
24988         * sysdeps/i386/fpu/libm-test-ulps: Update.
24989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24991 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24993         [BZ #18265]
24994         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24995         (wcsncpy): Likewise.
24997 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24999         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25000         Assume __ASSUME_FALLOCATE is always true.
25001         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25002         (__posix_fallocate64_l64): Likweise.
25003         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25004         (posix_fallocate): Likewise.
25005         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25006         (__posix_fallocate64_l64): Likewise.
25007         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25008         [!__ASSUME_FALLOCATE]: Add comment.
25010 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25012         * sysdeps/unix/sysv/linux/i386/Makefile
25013         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25014         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25015         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25016         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25017         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25018         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25019         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25021 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25023         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25024         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25025         tgamma.
25026         * math/auto-libm-test-out: Regenerated.
25027         * sysdeps/i386/fpu/libm-test-ulps: Update.
25028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25030 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25032         * math/auto-libm-test-in: Add more tests of tgamma.
25033         * math/auto-libm-test-out: Regenerated.
25034         * sysdeps/i386/fpu/libm-test-ulps: Update.
25035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25037         * math/auto-libm-test-in: Add more tests of tanh.
25038         * math/auto-libm-test-out: Regenerated.
25039         * sysdeps/i386/fpu/libm-test-ulps: Update.
25040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25042         * math/auto-libm-test-in: Add more tests of tan.
25043         * math/auto-libm-test-out: Regenerated.
25044         * sysdeps/i386/fpu/libm-test-ulps: Update.
25045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25047         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25048         * math/auto-libm-test-out: Regenerated.
25049         * sysdeps/i386/fpu/libm-test-ulps: Update.
25050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25052         * math/auto-libm-test-in: Add another test of pow.
25053         * math/auto-libm-test-out: Regenerated.
25054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25056         * math/auto-libm-test-in: Add more tests of lgamma.
25057         * math/auto-libm-test-out: Regenerated.
25058         * sysdeps/i386/fpu/libm-test-ulps: Update.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25061         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25062         log1p.
25063         * math/auto-libm-test-out: Regenerated.
25064         * sysdeps/i386/fpu/libm-test-ulps: Update.
25065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25067 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25069         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25070         Elf64_Chdr structs and ELFCOMPRESS constants.
25072 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25074         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25075         expm1.
25076         * math/auto-libm-test-out: Regenerated.
25077         * sysdeps/i386/fpu/libm-test-ulps: Update.
25078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25080         * math/auto-libm-test-in: Add more tests of erf and erfc.
25081         * math/auto-libm-test-out: Regenerated.
25082         * sysdeps/i386/fpu/libm-test-ulps: Update.
25083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25085 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25087         * config.h.in (HAVE_AARCH64_BE): Add.
25089 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25091         * math/auto-libm-test-in: Add more tests of csqrt.
25092         * math/auto-libm-test-out: Regenerated.
25093         * sysdeps/i386/fpu/libm-test-ulps: Update.
25094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25096         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25097         * math/auto-libm-test-out: Regenerated.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25103 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25105         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25106         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25108         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25109         (euidaccess, eaccess): Define as weak aliases.
25111         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25112         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25113         but __suseconds_t is often 'long int' so some sources assume that
25114         type is being used (e.g. they use %ld to print tv_usec).
25116 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25118         [BZ #18007]
25119         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25120         (CVE-2014-8121)
25121         * nss/tst-nss-getpwent.c: New file.
25122         * nss/Makefile (tests): Add new test.
25124 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25126         [BZ #18346]
25127         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25128         exponents less than 48 as cases where high part of mantissa needs
25129         examining to determine whether argument is integral.
25130         * math/libm-test.inc (round_test_data): Add more tests.
25132 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25134         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25136 2015-04-27  David S. Miller  <davem@davemloft.net>
25138         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25139         __tls_get_addr.
25140         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25142 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25144         [BZ#18333]
25145         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25147 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25149         [BZ#18333]
25150         * time/tzset.c (parse_tzname): Return error on memory allocation
25151         failure.
25152         * test-skeleton.c (struct temp_name_list): Change type of name
25153         member to non-const.
25154         (add_temp_file): Create a copy of the file name.
25155         (delete_temp_files): Deallocate memory.
25156         (create_temp_file): Add comment.
25158 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25160         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25161         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25163 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25165         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25166         * sysdeps/arm/configure: Regenerated.
25168 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25170         [BZ #17715]
25171         * time/tzfile.c (__tzfile_read): Check for large values of
25172         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25173         * time/tzset.c (__tzstring_len): New function, based on the old
25174         __tzstring function.
25175         (__tzstring): Call __tzstring_len.
25176         (parse_tzname): New helper function extracted from
25177         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25178         the input string.
25179         (parse_offset): New helper function extracted from
25180         __tzset_parse_tz.  Replace switch with fallthrough with
25181         initialization before sscanf.
25182         (parse_rule): Likewise.
25183         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25184         new-style function definition.
25185         * timezone/Makefile (tests): Add tst-tzset.
25186         (tst-tzset.out): Dependencies on time zone files.
25187         (tst-tzset-ENV): Set TZDIR.
25188         (testdata/XT%): Copy crafted time zone files.
25189         * timezone/README: Mention crafted time zone files.
25190         * timezone/testdata/XT1, timezone/testdata/XT2,
25191         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25192         files.
25193         * timezone/tst-tzset.c: New test.
25195 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25197         * Makeconfig (+gccwarn): Remove -Winline.
25199 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25201         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25203 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25205         * NEWS: Mention sysconf() cache information support for s390.
25206         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25208 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25210         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25211         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25212         (__nearbyint): Likewise.
25213         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25214         (copysignl): Likewise.
25216 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25218         [BZ #18287]
25219         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25220         based on padding.  (CVE-2015-1781)
25222 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25224         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25225         libc-vdso.h.
25226         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25227         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25228         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25229         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25230         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25231         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25232         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25234         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25235         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25236         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25237         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25238         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25239         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25240         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25241         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25242         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25243         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25244         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25245         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25246         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25247         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25248         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25250 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25252         * stdlib/setenv.c (__add_to_environ):
25253         Dump core quickly if setenv (..., NULL, ...) is called.
25254         This time, do it the right way, and pacify GCC with a pragma.
25256 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25258         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25259         IMAP->l_prev cannot be null, and #if out the code for the contrary
25260         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25261         believe that NS (&_dl_ns[NSID]) could point outside the array.
25263         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25264         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25265         before using NSID as an index.
25267 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25269         [BZ #17825]
25270         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25271         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25272         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25274 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25276         Add preliminary port to Google Native Client on ARM.
25277         * abi-tags (.*-.*-nacl.*): New entry.
25278         * sysdeps/arm/nacl: New directory.
25279         * sysdeps/nacl: New directory.
25281 2015-04-16  David S. Miller  <davem@davemloft.net>
25283         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25284         lowlevellock-futex.h
25286 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25288         * sysdeps/tile/configure.ac: New file.
25289         * sysdeps/tile/configure: Regenerated.
25291 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25293         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25294         conditionals for weak_alias and libc_hidden_weak.
25295         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25296         libc_hidden_weak and weak_alias.
25297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25298         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25299         and weak_alias for static one.
25301 2015-04-15  David S. Miller  <davem@davemloft.net>
25303         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25305 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25307         [BZ #18206]
25308         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25309           Use signed comparision instead of substraction to avoid
25310           overflow bug.
25311         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25312           Take the sign of ret.
25313         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25314           Do not expect precise return values. Only the sign matters.
25315         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25316         * wcsmbs/test-wcsncmp.c: New File.
25317         * string/test-strncmp.c: Add wcsncmp support.
25319 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25321         [BZ #6792]
25322         * math/w_log1p.c: New file.
25323         * math/w_log1pf.c: Likewise.
25324         * math/w_log1pl.c: Likewise.
25325         * math/Makefile (libm-calls): Add w_log1p.
25326         * math/s_log1pl.c (log1pl): Remove weak_alias.
25327         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25328         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25329         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25330         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25331         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25332         [NO_LONG_DOUBLE] (log1pl): Likewise.
25333         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25334         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25335         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25336         (log1p): Remove long_double_symbol.
25337         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25338         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25339         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25340         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25341         remove weak_alias for corresponding log1p function.
25342         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25343         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25344         * sysdeps/ia64/fpu/w_log1p.c: New file.
25345         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25346         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25347         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25349 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25351         [BZ #18247]
25352         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25353         decimal exponent by 1.
25354         * stdlib/tst-strtod-round-data: Add more tests.
25355         * stdlib/tst-strtod-round.c (tests): Regenerated.
25357 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25359         * math/auto-libm-test-in: Add more tests of clog and clog10.
25360         * math/auto-libm-test-out: Regenerated.
25361         * sysdeps/i386/fpu/libm-test-ulps: Update.
25362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25364 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25366         * Makeconfig (module-cppflags): Exclude all .v.i files.
25367         (skip-module-cppflags): Variable removed.
25369         * configure.ac (libc_config_ok): Initialize before reading
25370         preconfigure scripts, not after.
25371         * configure: Regenerated.
25373         * test-skeleton.c (TIMEOUT): Move #define to top level.
25374         (main): Grok environment variable TEST_DIRECT.  If set, print
25375         test expectation details into that file and then behave as if
25376         given --direct.
25378 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25380         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25381         warning on 32-bit.
25383 2015-04-08  David S. Miller  <davem@davemloft.net>
25385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25387 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25389         * math/auto-libm-test-in: Add more tests of atanh.
25390         * math/auto-libm-test-out: Regenerated.
25391         * sysdeps/i386/fpu/libm-test-ulps: Update.
25392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25394         * math/auto-libm-test-in: Add more tests of atan.
25395         * math/auto-libm-test-out: Regenerated.
25396         * sysdeps/i386/fpu/libm-test-ulps: Update.
25397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25399 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25401         * elf/pldd.c (main): Rewrite to use struct
25402         scratch_buffer instead of extend_alloca.
25403         * elf/pldd-xx.c (find_maps): Likewise.
25404         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25405         <alloca.h>.
25406         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25407         scratch_buffer instead of extend_alloca.
25408         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25409         grp/compat-initgroups.c.
25410         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25411         Rewrite to use struct scratch_buffer instead of extend_alloca.
25412         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25413         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25415 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25417         * math/auto-libm-test-in: Add more tests of cbrt.
25418         * math/auto-libm-test-out: Regenerated.
25419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25421         * math/auto-libm-test-in: Add more tests of cabs.
25422         * math/auto-libm-test-out: Regenerated.
25423         * sysdeps/i386/fpu/libm-test-ulps: Update.
25424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25426         [BZ #18210]
25427         [BZ #18211]
25428         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25429         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25430         computations.
25431         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25432         clog10.
25433         * math/auto-libm-test-out: Regenerated.
25434         * sysdeps/i386/fpu/libm-test-ulps: Update.
25435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25437         [BZ #18197]
25438         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25439         (atan): Set FE_TONEAREST mode for internal computations.
25440         * math/auto-libm-test-in: Add more tests of atan.
25441         * math/auto-libm-test-out: Regenerated.
25443 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25445         [BZ #17930]
25446         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25448 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25450         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25452 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25454         * include/scratch_buffer.h: New file.
25455         * malloc/scratch_buffer_grow.c: Likewise.
25456         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25457         * malloc/scratch_buffer_set_array_size.c: Likewise.
25458         * malloc/tst-scratch_buffer.c: Likewise.
25459         * malloc/Makefile (routines): Add scratch_buffer_grow.
25460         (tests): Add test case.
25461         * malloc/Versions (GLIBC_PRIVATE): Export
25462         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25463         __libc_scratch_buffer_set_array_size.
25465 2015-04-06  Richard Henderson  <rth@redhat.com>
25467         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25468         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25470         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25471         unsigned int before printing.
25473 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25475         [BZ #17596]
25476         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25477         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25479 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25481         * include/libc-internal.h (libc_max_align_t): Define.
25483 2015-04-02  Andreas Schwab  <schwab@suse.de>
25485         [BZ #16850]
25486         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25488 2015-04-02  Mel Gorman  <mgorman@suse.de>
25490         [BZ #17195]
25491         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25492         as well as the main arena.
25494 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25496         [BZ #18185]
25497         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25498         sharing L2 cache to 2 for Silvermont/Knights Landing.
25500 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25502         [BZ #17711]
25503         * config.make.in (have-protected-data): New.
25504         * configure.ac: Check linker support for protected data symbol.
25505         * configure: Regenerated.
25506         * elf/Makefile (modules-names): Add tst-protected1moda and
25507         tst-protected1modb if $(have-protected-data) is yes.
25508         (tests): Add tst-protected1a and tst-protected1b if
25509         $(have-protected-data) is yes.
25510         ($(objpfx)tst-protected1a): New.
25511         ($(objpfx)tst-protected1b): Likewise.
25512         (tst-protected1modb.so-no-z-defs): Likewise.
25513         * elf/tst-protected1a.c: New file.
25514         * elf/tst-protected1b.c: Likewise.
25515         * elf/tst-protected1mod.h: Likewise.
25516         * elf/tst-protected1moda.c: Likewise.
25517         * elf/tst-protected1modb.c: Likewise.
25519 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25521         [BZ #17711]
25522         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25523         indicates it is called from do_lookup_x on relocation against
25524         protected data, skip the data definion in the executable from
25525         copy reloc.
25526         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25527         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25528         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25529         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25530         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25531         otherwise to 0.
25532         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25533         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25534         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25535         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25536         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25537         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25539 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25541         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25542         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25544 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25546         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25547         THREAD_SETMEM_NC.
25548         * sysdeps/x86_64/nptl/tls.h: Ditto.
25550 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25552         * dlfcn/tststatic.c (main): Converted to ...
25553         (do_test): ... this.
25554         (TEST_FUNCTION): New macro.
25555         Include test-skeleton.c.
25557 2015-03-26  Alan Modra  <amodra@gmail.com>
25559         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25560         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25561         zero for undefined weak.
25562         (elf_machine_plt_conflict): Similarly.
25564 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25566         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25567         atanh.
25568         * math/auto-libm-test-out: Regenerated.
25569         * sysdeps/i386/fpu/libm-test-ulps: Update.
25570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25572         * math/auto-libm-test-in: Add another test of asin.
25573         * math/auto-libm-test-out: Regenerated.
25574         * sysdeps/i386/fpu/libm-test-ulps: Update.
25575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25578         Remove macro.
25579         (LLL_EBX_REG): Likewise.
25580         (LLL_ENTER_KERNEL): Likewise.
25582         * math/auto-libm-test-in: Add more tests of asin.
25583         * math/auto-libm-test-out: Regenerated.
25584         * sysdeps/i386/fpu/libm-test-ulps: Update.
25585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25587         [BZ #18138]
25588         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25589         libc_do_syscall_args): New structure.
25590         (INTERNAL_SYSCALL_MAIN_0): New macro.
25591         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25592         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25593         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25594         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25595         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25596         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25597         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25598         Replace conditional definitions by conditional definitions of ....
25599         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25600         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25601         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25602         (libpthread-sysdep_routines): Add libc-do-syscall.
25603         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25605         to __NR_futex not 240.
25607 2015-03-25  Alan Modra  <amodra@gmail.com>
25609         * NEWS: Advertise TLS optimization.
25610         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25611         (DT_PPC_NUM): Increment.
25612         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25613         (CHECK_STATIC_TLS): Use here.
25614         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25615         TLS descriptors.
25616         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25617         * sysdeps/powerpc/dl-tls.c: New file.
25618         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25619         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25620         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25621         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25626 2015-03-25  Alan Modra  <amodra@gmail.com>
25628         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25629         for overlapping .opd entries" to "support...".
25630         * sysdeps/powerpc/powerpc64/configure: Regenerate
25632 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25634         * math/auto-libm-test-in: Add more tests of acos.
25635         * math/auto-libm-test-out: Regenerated.
25636         * sysdeps/i386/fpu/libm-test-ulps: Update.
25637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25639         * math/auto-libm-test-in: Add more tests of expm1.
25640         * math/auto-libm-test-out: Regenerated.
25641         * sysdeps/i386/fpu/libm-test-ulps: Update.
25642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25644 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25646         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25647         * math/auto-libm-test-out: Regenerated.
25648         * sysdeps/i386/fpu/libm-test-ulps: Update.
25649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25651         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654         * math/auto-libm-test-in: Add more tests of log2.
25655         * math/auto-libm-test-out: Regenerated.
25656         * sysdeps/i386/fpu/libm-test-ulps: Update.
25657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25659 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25661         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25662         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25663         _IO_IS_APPENDING bit in READ_WRITE instead.
25665 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25667         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25668         (__determine_cpumask_size): Replace extend_alloca with a
25669         variable-length array.  Do not treat res == 0 as an error.
25671 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25673         [BZ #18100]
25674         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25675         and integer overflow.
25676         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25677         (main): Add integer overflow tests.
25678         * manual/pattern.texi (Calling Wordexp): Document additional use
25679         for WRDE_SYNTAX.
25681 2015-03-23  Alan Modra  <amodra@gmail.com>
25683         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25684         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25685         and false branch of conditional.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25687         Likewise.
25689 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25691         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25692         libc-modules.h
25693         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25694         unused declaration of _hurd_intr_rpc_msg_in_trap.
25695         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25696         defined instead of whether it is non-zero.
25697         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25698         input constraint instead of both input and output constraint.  Use ecx
25699         clobber instead of %ecx.
25700         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25701         mutex_unlock): Use a statement expression instead of an expression list.
25702         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25703         type to vm_size_t instead of vm_address_t.
25704         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25705         defined instead of whether it is non-zero.
25706         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25707         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25708         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25709         comparisons with mapaddr.
25710         * nscd/nscd-client.h: Include <time.h>.
25711         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25712         9th parameter to __vm_region instead of int.
25713         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25714         * scripts/check-local-headers.sh (exclude): Add device/,
25715         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25716         cthreads.h.
25718 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25720         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25721         to account for alignment padding.
25722         * sysdeps/arm/memmove.S: Likewise.
25724 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25726         * sysdeps/unix/sysv/linux/generic/README: New file.
25728 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #18138]
25731         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25732         (futex_abstimed_wait)
25733         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25734         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25735         of lll_futex_timed_wait.
25737 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25739         [BZ #17542]
25740         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25742 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25744         [BZ #17090]
25745         [BZ #17620]
25746         [BZ #17621]
25747         [BZ #17628]
25748         * NEWS: Update.
25749         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25750         entries with Static TLS too.  Skip entries past the end of the
25751         allocated DTV, from Alan Modra.
25752         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25753         Static TLS DTV entry set up from...
25754         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25755         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25756         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25757         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25758         for Static TLS.
25759         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25760         that the slot we find is associated with the given map before
25761         using its generation count.
25762         * nptl_db/db_info.c: Include ldsodefs.h.
25763         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25764         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25765         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25766         (link_map::l_tls_offset): New struct field.
25767         (dtv_t::counter): Likewise.
25768         (rtld_global): New struct.
25769         (_rtld_global): New rtld variable.
25770         (dl_tls_dtv_slotinfo_list): New rtld global field.
25771         (dtv_slotinfo_list): New struct.
25772         (dtv_slotinfo): Likewise.
25773         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25774         (td_lookup): Rename to...
25775         (td_mod_lookup): ... this.  Use new mod parameter instead of
25776         LIBPTHREAD_SO.
25777         * nptl_db/td_thr_tlsbase.c: Include link.h.
25778         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25779         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25780         addresses even if the DTV is out of date or missing them.
25781         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25782         index zero-length arrays.
25783         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25784         (td_lookup): Make it a macro implemented in terms of...
25785         (td_mod_lookup): ... this declaration.
25786         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25787         (DB_MAIN_VARIABLE): Likewise.
25789 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25791         [BZ #18134]
25792         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25794 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25796         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25798 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25800         [BZ #18128]
25801         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25802         (atomic_add, atomic_increment_and_test)
25803         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25805 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25807         * stdlib/setenv.c (__add_to_environ):
25808         Dump core quickly if setenv (..., NULL, ...) is called.
25810 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25812         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25813         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25814         all the necessary asm magic in one place.
25815         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25816         using those.
25818 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25820         [BZ #14906]
25821         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25822         traced file mtime. Use consistent log message.
25823         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25824         (register_traced_file): Call install_watches. Always set mtime.
25825         (invalidate_cache): Iterate over all trace files. Call install_watches.
25826         (inotify_check_files): Don't inline. Handle watching parent
25827         directories and configuration file movement in and out.
25828         (handle_inotify_events): New function.
25829         (main_loop_poll): Call handle_inotify_events.
25830         (main_loop_epoll): Likewise.
25831         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25832         (struct traced_file): Use array of inotify fds. Add parent directory,
25833         and basename.
25834         (struct database_dyn): Remove unused file_mtime.
25835         (init_traced_file): New inline function.
25836         (define_traced_file): New macro.
25837         * nss/nss_db/db-init.c: Use define_traced_file.
25838         (_nss_db_init): Use init_traced_file.
25839         * nss/nss_files/files-init.c: Use define_traced_file.
25840         (_nss_files_init): Use init_traced_file.
25842 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25844         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25845         [_LIBC]: Do not include <stdlib.h>.
25846         [!_LIBC] (abort): Remove declaration.
25847         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25848         _FP_STATIC_ASSERT instead of conditionally calling abort.
25849         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25850         (_FP_EXTEND_CNAN): Likewise.
25851         (FP_TRUNC): Likewise.
25852         (__FP_CLZ): Likewise.
25853         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25855 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25857         * manual/string.texi (XPG basename): Fix prototype.
25859 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25861         [BZ #18080]
25862         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25863         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25865         (__setcontext): Likewise.
25866         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25867         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25868         Call rt_sigprocmask syscall one time to set new signal mask
25869         and retrieve the current signal mask instead of two calls.
25870         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25871         (__swapcontext): Likewise.
25872         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25873         * stdlib/tst-setcontext2.c: New file.
25875 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25877         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25879 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25881         [BZ #18093]
25882         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25883         the wrong size.
25885 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25887         [BZ #18043]
25888         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25890 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25892         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25893         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25894         Remove define.
25895         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25896         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25897         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25898         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25899         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25900         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25901         define.
25902         * nptl_db/td_symbol_list.c (td_lookup): Remove
25903         HAVE_ASM_GLOBAL_DOT_NAME code.
25904         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25905         HAVE_ASM_GLOBAL_DOT_NAME check.
25906         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25907         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25908         (DOT_LABEL): Remove define.
25909         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25910         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25911         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25912         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25913         (__TLS_GET_ADDR): Likewise.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25915         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25917 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25919         [BZ #18111]
25920         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25921         (_FPU_SETCW): Initialize cw from fpsr before storing.
25922         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25923         (fesetexceptflag): Rewrite using fpu_control.h.
25924         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25926 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25928         [BZ #18110]
25929         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25930         asms.
25931         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25933 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25935         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25936         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25937         abort.
25938         (_FP_FMA): Likewise.
25939         (_FP_DIV): Likewise.
25941 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25943         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25944         with 0 in that case.
25945         * Makefile (summarize-tests): New canned sequence, factored out of
25946         commands for targets tests and xtests.  Display summary lines that
25947         don't start with PASS: or XFAIL: rather than ones that do start with
25948         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25949         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25950         do start with ERROR: or FAIL:.
25951         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25952         (except for [$(build-shared) = yes]).
25953         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25954         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25955         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25956         * nptl/Makefile: Revert 2015-03-04 changes.
25957         [$(CXX) empty] (tests-unsupported): New variable.
25958         * debug/Makefile: Likewise.
25960         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25961         gnulib file.  Replace __attribute with __attribute__ throughout.
25963 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25965         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25967 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25969         [BZ #18104]
25970         * math/auto-libm-test-in: Add another test of pow.
25971         * math/auto-libm-test-out: Regenerated.
25973 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25975         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25976         $(config-cflags-nofma).
25978 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25980         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25981         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25982         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25983         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25984         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25985         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25986         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25987         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25988         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25989         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25990         Add comment on closing #endif.
25992 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25994         * posix/wordexp.c (CHAR_IN_SET): New macro.
25995         (parse_param): Use it.
25997 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25999         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26001 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26003         [BZ #18043]
26004         * posix/wordexp.c (parse_param): Fix buffer overflow.
26005         * posix/wordexp-test.c (test_case): Add test case.
26007 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26009         [BZ #18042]
26010         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26011         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26013 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26015         [BZ #18043]
26016         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26017         (do_bz18043): Delete.
26018         (at_page_end): New.
26019         (testit): Refactor to have words at the edge of unreadable page.
26021 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26023         [BZ #16734]
26024         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26025         Cleanup read-only streams as well.
26026         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26028 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26030         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26031         <bits/libc-lockP.h>
26033 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26035         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26036         on [__KERNEL__].
26037         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26038         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26039         * soft-fp/op-common.h (_FP_DECL): Likewise.
26041 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26043         * elf/ifuncdep2.c (global): Replace
26044         __attribute__((visibility("protected"))) with
26045         asm (".protected global").
26046         * elf/ifuncmod1.c (global): Likewise.
26047         * elf/ifuncmod5.c (global): Likewise.
26049 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26051         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26052         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26054 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26056         * manual/install.texi (Configuring and compiling):
26057         Document test-wrapper-env-only.
26058         * INSTALL: Regenerated.
26060 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26062         [BZ #18043]
26063         * posix/wordexp.c (parse_param): Fix buffer overflow.
26064         * posix/wordexp-test.c (do_bz18043): Add test case.
26066 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26068         * time/tst-strptime2.c (do_test): Ensure failing tests are
26069         reported correctly.
26070         * time/tst-strptime3.c (do_test): Likewise.
26072 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26074         Fix aio_error thread-safety.
26075         * sysdeps/pthread/aio_error.c: New file
26076         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26077         synchronization.
26079 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26081         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26082         (group_number, vfprintf): Use it.
26083         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26084         (JUMP, REF): Use it.
26085         (WORK_BUFFER_SIZE): New enum constant.
26086         (process_arg, vfprintf): Use it.
26088 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26090         * manual/errno.texi (Error Messages): Complete example function
26091         by adding missing #define.
26092         (program_invocation_name): Add statement indicating GNU
26093         extension and reference which header file declares the variable.
26094         (program_invocation_short_name): Likewise.
26096 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26098         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26099         compatibility note.
26101 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26103         * Makeconfig (test-wrapper-env-only): New variable.
26104         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26105         then use that with $(test-wrapper-env-only) rather than using
26106         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26108 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26110         [BZ #18082]
26111         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26112         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26113         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26114         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26115         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26116         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26117         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26118         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26119         Likewise.
26120         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26121         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26122         Likewise.
26123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26124         Likewise.
26125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26126         Likewise.
26127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26128         Likewise.
26129         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26130         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26131         Likewise.
26132         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26133         Likewise.
26134         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26135         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26137 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26139         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26140         (ETH_ALEN): New macro.
26141         (struct ether_addr): Use it for length of ether_addr_octet.
26143         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26144         (setdb): Don't call __nss_configure_lookup for "rpc".
26145         (do_test): Don't call test_rpc.
26146         (output_rpcent, test_rpc): Functions moved ...
26147         * sunrpc/test-rpcent.c: ... to this new file.
26148         * sunrpc/Makefile (tests): Add it.
26150         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26151         __xpg_sigpause.
26152         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26153         * nptl/tst-signal6.c: Likewise.
26154         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26155         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26157         * configure.ac (libc_cv_cxx_link_ok): New check.
26158         Reset CXX to empty if it fails to link.
26159         * configure: Regenerated.
26160         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26161         bug-atexit3-lib only if $(CXX) is nonempty.
26162         * nptl/Makefile (tests): Likewise for tst-cancel24.
26163         (tests, tests-static): Likewise for tst-cancel24-static.
26164         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26165         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26166         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26167         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26169 2015-03-04  Andreas Schwab  <schwab@suse.de>
26171         [BZ #17631]
26172         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26173         for non-GCC compilers.
26174         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26175         Likewise.
26177 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26179         [BZ #17776]
26180         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26181         integer before bitwise and assembly operations.
26182         (feclearexcept): Likewise.
26183         * math/test-fenvinline.c: New file.
26184         * math/Makefile: Add test-fenvinline test.
26186 2015-03-03  Alan Modra  <amodra@gmail.com>
26188         [BZ #16512]
26189         * scripts/localplt.awk: Strip off symbol version.
26190         * NEWS: Mention bug fix.
26192 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26194         * sysdeps/pthread/timer_routines.c
26195         (timer_free_list, thread_free_list, thread_active_list): Make static.
26197 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26199         [BZ #17779]
26200         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26201         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26202         Undefine.
26203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26204         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26205         Likewise.
26206         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26207         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26208         Likewise.
26210 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26212         [BZ #18036]
26213         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26214         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26216 2015-03-02  Andreas Schwab  <schwab@suse.de>
26218         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26219         variable name.
26221 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26223         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26224         Return error status.
26226 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26228         [BZ #15969]
26229         * locale/findlocale.c (_nl_find_locale): Introduce const
26230         version of loc_name and drop unsafe type casts.
26232 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26234         * dlfcn/tststatic2.c (main): Converted to ...
26235         (do_test): ... this.
26236         (TEST_FUNCTION): New macro.
26237         Include test-skeleton.c.
26239 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26241         [BZ #17711]
26242         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26243         (tests-pie): Add vismain.
26244         (CFLAGS-vismain.c): New.
26245         * elf/vismain.c: Add comments for PIE requirement.
26247 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26249         [BZ #18046]
26250         [BZ #18047]
26251         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26252         0x1p-56L as threshold for just returning the argument.
26253         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26254         0x1p-32L as threshold for just returning the argument.
26255         * math/auto-libm-test-in: Add more tests of atanh.
26256         * math/auto-libm-test-out: Regenerated.
26257         * sysdeps/i386/fpu/libm-test-ulps: Update.
26258         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26260 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26262         * string/bcopy.c (bcopy): Call memmove for performance.
26264 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26266         * string/bzero.c (__bzero): Call memset for performance.
26268 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26270         [BZ #18068]
26271         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26272         to 00100000.
26274 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26276         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26278 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26280         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26281         (__kernel_standard): Use CSTR macro when setting exc.name.
26282         * sysdeps/ieee754/Makefile [$(subdir) = math]
26283         (CFLAGS-k_standard.c): Remove variable.
26285         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26286         setting p and q from "else if" to "else".
26287         (qzero): Likewise.
26288         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26289         (qone): Likewise.
26290         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26291         (qzerof): Likewise.
26292         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26293         (qonef): Likewise.
26294         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26295         (qzero): Likewise.
26296         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26297         (qone): Likewise.
26299         [BZ #18038]
26300         [BZ #18039]
26301         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26302         return pi/2 for arguments below 0x1p-113L.
26303         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26304         return pi/2 for arguments below 0x1p-106L.
26305         * math/auto-libm-test-in: Add more tests of acos.
26306         * math/auto-libm-test-out: Regenerated.
26308         [BZ #16351]
26309         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26310         (MO): New macro.
26311         (__ieee754_asin): Force underflow exception for results with small
26312         absolute value.
26313         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26314         (MO): New macro.
26315         (__ieee754_asinf): Force underflow exception for results with
26316         small absolute value.
26317         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26318         (__ieee754_asin): Force underflow exception for results with small
26319         absolute value.
26320         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26321         (__ieee754_asinf): Force underflow exception for results with
26322         small absolute value.
26323         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26324         (__ieee754_asinl): Force underflow exception for results with
26325         small absolute value.
26326         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26327         (__ieee754_asinl): Force underflow exception for results with
26328         small absolute value.
26329         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26330         (__ieee754_asinl): Force underflow exception for results with
26331         small absolute value.
26332         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26333         Include <math.h>.
26334         * math/auto-libm-test-in: Do not mark underflow exceptions as
26335         possibly missing for bug 16351.
26336         * math/auto-libm-test-out: Regenerated.
26338         [BZ #18030]
26339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26340         of power of 2 down when low part has opposite sign.
26341         * math/libm-test.inc (logb_test_data): Add more tests.
26343 2015-02-26  Andreas Schwab  <schwab@suse.de>
26345         [BZ #18032]
26346         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26347         over collating symbol inside a bracket expression.  Minor cleanup.
26348         * posix/tst-fnmatch3.c (do_test): Add test case.
26350 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26352         [BZ #18029]
26353         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26354         Adjust exponent of power of 2 down when low part has opposite
26355         sign.
26356         * math/libm-test.inc (ilogb_test_data): Add more tests.
26358 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26360         [BZ #15969]
26361         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26362         the previous change.
26364         [BZ #15969]
26365         * locale/findlocale.c (_nl_find_locale): Retry archive search
26366         after alias expansion.
26368 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26370         * iconv/tst-iconv3.c (main): Converted to ...
26371         (do_test): ... this.
26372         (TEST_FUNCTION): New macro.
26373         Include test-skeleton.c.
26375         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26376         (convert): Make function static.
26377         (test_unalign): Likewise.  Add const to argument pointee types.
26378         (main): Replace with static function do_test.
26379         Print "Succeeded." only if RET is zero.
26380         (TEST_FUNCTION): New macro.
26381         Include test-skeleton.c.
26383         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26384         returns a null pointer.
26386 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26388         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26389         to __memcpy_ppc only for static builds.
26391 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26393         [BZ #18020]
26394         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26395         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26396         * math/auto-libm-test-in: Add more tests of asinh.
26397         * math/auto-libm-test-out: Regenerated.
26398         * sysdeps/i386/fpu/libm-test-ulps: Update.
26399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26401 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26403         [BZ #15850]
26404         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26405         and ip6_mtuinfo definitions here.
26406         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26407         in this define too.  Update comment.
26409 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26411         * elf/sprof.c (load_shobj): Tweak error message to match others.
26413 2015-02-24  Kevin Easton  <kevin@guarana.org>
26415         [BZ #16145] (partial fix)
26416         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26417         to reduce lock contention.
26419 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26421         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26422         (struct timex): Update time comment.
26423         (ADJ_SETOFFSET): Define.
26425 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26427         [BZ #18019]
26428         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26429         2**56 not 2**28 as threshold for log (2x) formula.
26430         * math/auto-libm-test-in: Add more tests of acosh.
26431         * math/auto-libm-test-out: Regenerated.
26432         * sysdeps/i386/fpu/libm-test-ulps: Update.
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26437         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26438         parenthesis around the buf assignment.
26439         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26441 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26443         [BZ #16783]
26444         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26445         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26446         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26447         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26448         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26449         * math/libm-test.inc (scalb_test_data): Add more tests.
26451 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26453         [BZ #17916]
26454         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26455         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26457 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26459         [BZ #17523]
26460         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26461         * io/bits/fcntl2.h (open): Use it.
26462         (openat): Likewise.
26463         * io/open.c (__libc_open): Likewise.
26464         * io/open64.c (__libc_open64): Likewise.
26465         * io/open64_2.c (__open64_2): Likewise.
26466         * io/open_2.c (__open_2): Likewise.
26467         * io/openat.c (__openat): Likewise.
26468         * io/openat64.c (__openat64): Likewise.
26469         * io/openat64_2.c (__openat64_2): Likewise.
26470         * io/openat_2.c (__openat_2): Likewise.
26471         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26472         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26473         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26474         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26475         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26476         (__open_nocancel): Likewise.
26477         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26478         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26479         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26481 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26483         [BZ #14841]
26484         * resolv/gethnamaddr.c (getanswer): Skip logging if
26485         RES_USE_DNSSEC is set.
26486         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26488 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26490         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26492 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26494         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26495         201304L, for Unicode 7.
26497 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26499         [BZ #17836]
26500         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26501         shared library.  Add gmon-start.os otherwise.
26502         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26503         $(objpfx)gmon-start.os if builing shared library.
26504         ($(objpfx)g$(static-start-installed-name)): Likewise.
26506 2015-02-23  Andreas Schwab  <schwab@suse.de>
26508         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26510 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26512         [BZ #17269]
26513         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26514         (enlarge_userbuf): Likewise.
26516 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26518         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26519         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26520         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26521         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26523 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26525         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26526         expression inside statement expression.
26528 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26530         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26531         <sysdeps/nptl/lowlevellock.h> and remove macros and
26532         functions that are now defined there.
26533         (SYS_futex): Remove.
26534         (lll_compare_and_swap): Remove.
26535         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26537 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #17999]
26540         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26541         instead of scandirat.
26542         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26543         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26544         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26545         __scandirat.
26546         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26547         (__scandirat): Declare.  Use libc_hidden_proto.
26548         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26549         Remove variable.
26550         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26552 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26554         [BZ #15319]
26555         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26556         (MO): New macro.
26557         (__ieee754_atan2): For results with small absolute value, force
26558         underflow exception and remove excess range and precision from
26559         return value.
26560         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26561         (MO): New macro.
26562         (__ieee754_atan2f): For results with small absolute value, force
26563         underflow exception and remove excess range and precision from
26564         return value.
26565         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26566         (MO): New macro.
26567         (__atan): For results with small absolute value, force underflow
26568         exception and remove excess range and precision from return value.
26569         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26570         (MO): New macro.
26571         (__atanf): For results with small absolute value, force underflow
26572         exception and remove excess range and precision from return value.
26573         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26574         <math.h>.
26575         (__ieee754_atan2): Force underflow exception for results with
26576         small absolute value.
26577         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26578         <math_private.h>.
26579         (atan): Force underflow exception for results with small absolute
26580         value.
26581         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26582         (__atanf): Force underflow exception for results with small
26583         absolute value.
26584         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26585         <math.h>.
26586         (__atanl): Force underflow exception for results with small
26587         absolute value.
26588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26589         (__atanl): Force underflow exception for results with small
26590         absolute value.
26591         * sysdeps/x86/fpu/bits/mathinline.h
26592         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26593         (__ieee754_atan2): Only define inline for long double.
26594         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26595         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26596         * math/auto-libm-test-in: Do not mark underflow exceptions as
26597         possibly missing for bug 15319.  Add more tests of atan2.
26598         * math/auto-libm-test-out: Regenerated.
26599         * math/libm-test.inc (casin_test_data): Do not mark underflow
26600         exceptions as possibly missing for bug 15319.
26601         (casinh_test_data): Likewise.
26602         * sysdeps/i386/fpu/libm-test-ulps: Update.
26604 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26606         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26607         * sysdeps/mips/bits/endian.h: Fix comments.
26609 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26611         [BZ #17996]
26612         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26613         (hdestroy_r): Likewise.
26614         (hsearch_r): Likewise.
26615         (__hcreate_r): Declare and use libc_hidden_proto.
26616         (__hdestroy_r): Likewise.
26617         (__hsearch_r): Likewise.
26618         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26619         (hcreate): Call __hcreate_r instead of hcreate_r.
26620         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26621         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26622         as weak alias of __hcreate_r.
26623         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26624         __hdestroy_r.
26625         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26626         __hsearch_r.
26627         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26628         Remove variable.
26629         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26630         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26631         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26632         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26634 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26636         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26637         arena_lock into a single arena_get.
26639 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26641         * dl-reloc.c: Inlucde libc-internal.h.
26642         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26643         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26644         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26645         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26646         (grow_heap): Likewise.
26647         * malloc/malloc.c: Include libc-internal.h.
26648         (do_check_malloc): Call powerof2.
26649         (sysmalloc): Use pagesize. Call ALIGN_UP.
26650         (systrim): Use pagesize.
26651         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26652         (__libc_valloc): Use pagesize.
26653         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26655 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26657         [BZ #17991]
26658         * include/sys/resource.h (__getrlimit64): Declare.  Use
26659         libc_hidden_proto.
26660         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26661         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26662         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26663         getrlimit64.
26664         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26665         __getrlimit64.
26666         [!getrlimit64] (getrlimit64): Define as weak alias of
26667         __getrlimit64.  Use libc_hidden_weak.
26668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26669         using __getrlimit64 not __new_getrlimit64.
26670         (__GI_getrlimit64): Likewise.
26671         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26672         Likewise.
26673         (__GI_getrlimit64): Likewise.
26674         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26676         (getrlimit): Add __getrlimit64 alias.
26677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26678         Likewise.
26679         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26680         Remove variable.
26681         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26682         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26684 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26686         * libio/fileops.c: Add missing sys/mman.h
26687         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26689 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26691         * manual/math.texi (Errors in Math Functions): Clarify goals
26692         regarding inexact and underflow exceptions.
26694 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26696         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26697         * sysdeps/mips/memset.S: Ditto.
26699 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26701         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26703 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26705         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26706         (__v1longjmp): Remove versioned symbol.
26707         (__v1siglongjmp): Remove alias and versioned symbol.
26708         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26709         (__v2siglongjmp): Likewise.
26711 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26713         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26715 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26717         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26719 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26721         [BZ #17987]
26722         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26723         zero result does not depend on the sign resulting from
26724         subtraction.
26725         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26726         Likewise.
26727         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26728         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26729         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26730         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26731         * math/libm-test.inc (remquo_test_data): Add more tests.
26733 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26735         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26736         Problem reported by J William Piggott.
26738 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26740         [BZ #17978]
26741         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26742         products 4 * y and 2 * y where those would overflow.
26743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26744         Likewise.
26745         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26746         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26747         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26748         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26749         * math/libm-test.inc (remquo_test_data): Add more tests.
26751         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26753         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26754         [defined _COMPILING_NEWLIB].
26755         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26756         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26758         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26759         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26761 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26763         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26764         acquired.
26766 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26768         [BZ #17792]
26769         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26770         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26771         HOST_STACK_END_ADDR): Likewise.
26773 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26775         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26776         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26777         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26779 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26781         * sysdeps/generic/c++-types.data: New file.
26782         * sysdeps/generic/ld.abilist: New file.
26783         * sysdeps/generic/libBrokenLocale.abilist: New file.
26784         * sysdeps/generic/libanl.abilist: New file.
26785         * sysdeps/generic/libc.abilist: New file.
26786         * sysdeps/generic/libcrypt.abilist: New file.
26787         * sysdeps/generic/libdl.abilist: New file.
26788         * sysdeps/generic/libm.abilist: New file.
26789         * sysdeps/generic/libpthread.abilist: New file.
26790         * sysdeps/generic/libresolv.abilist: New file.
26791         * sysdeps/generic/librt.abilist: New file.
26793 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26795         [BZ #17569]
26796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26797         Compute absolute value of x as modified by fmod, not original
26798         value of x.
26799         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26800         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26801         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26802         RUN_TEST_ffI_f1_mod8.
26803         (remquo_test_data): Add more tests.
26805 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26807         * sysdeps/init_array/pt-crti.S: New file.
26809 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26811         [BZ #17967]
26812         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26813         __builtin_fmaf instead of relying on contraction of a * b + c.
26815 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26817         [BZ #17969]
26818         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26819         node.
26821 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26823         [BZ #17964]
26824         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26825         __builtin_fma instead of relying on contraction of a * b + c.
26827 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26829         * Makeconfig (ASFLAGS): Add -Werror=undef.
26830         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26831         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26832         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26834         * Makeconfig (after-link): New variable.
26835         (+link-pie, +link-pie-tests): Use it.
26836         (+link-static, +link-static-tests): Likewise.
26837         (+link, +link-tests): Likewise.
26838         * Makerules (build-module, build-module-asneeded): Likewise.
26839         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26840         Likewise.
26841         * elf/Makefile ($(objpfx)ld.so): Likewise.
26843 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26845         [BZ #17965]
26846         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26847         both struct timeval and struct timespec.
26849 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #16560]
26852         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26853         and redefine.
26854         (__ieee754_exp2l): Do not multiply small fractional parts by
26855         M_LN2l.
26856         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26857         small argument.
26858         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26859         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26860         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26861         * math/auto-libm-test-in: Add more tests of exp2.
26862         * math/auto-libm-test-out: Regenerated.
26864 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26866         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26867         unaligned path.
26869 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26871         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26872         little endian.
26874 2015-02-12  Andreas Schwab  <schwab@suse.de>
26876         [BZ #15790]
26877         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26878         Filter out elision flags from value returned in kind.
26879         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26880         * nptl/tst-pthread-mutexattr.c: New file.
26882 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26884         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26885         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26886         into gnu-gnu, and update comment to refer to abi-tags.
26888 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26890         [BZ #15467]
26891         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26892         (__sincos): Set errno to EDOM for infinite argument.
26893         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26894         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26895         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26896         (__sincosl): Set errno to EDOM for infinite argument.
26897         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26898         (__sincosl): Set errno to EDOM for infinite argument.
26899         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26900         (__sincosl): Set errno to EDOM for infinite argument.
26901         * math/libm-test.inc (sincos_test_data): Test errno setting.
26903 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26905         * string/strxfrm_l.c: Remove #define STRCMP.
26906         * string/strcoll_l.c: Remove #define STRLEN.
26907         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26908         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26910 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26912         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26913         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26914         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26915         * sysdeps/mips/mips64/Makefile: ... here.
26916         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26917         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26918         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26919         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26920         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26921         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26922         * sysdeps/mips/mips64/n64/Implies: Likewise.
26924 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26926         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26927         <sys/time.h>, <string.h>, and <errno.h>.
26928         (dest_offset, dest_address, value, zero): Remove unused variables.
26929         (ldouble): Remove typedef.
26930         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26931         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26932         1).  Fix code style.
26933         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26934         (check): Function removed.
26935         (CHECK): New macro.
26936         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26937         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26938         Don't call set_sigaction_FP and remove_sigaction_FP here.
26939         (ldouble_test): Just use 'long double' as macro argument, no need for
26940         the 'ldouble' typedef.
26941         (do_test): Set up SIGFPE handler at start, using plain signal rather
26942         than sigaction.  Fix code style.
26944 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26946         [BZ #17949]
26947         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26948         jump label.
26950 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26952         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26953         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26955         * sysdeps/powerpc/configure.ac: Remove file.
26956         * sysdeps/powerpc/configure: Likewise.
26958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26959         [sysdep_routines]: Remove wordcopy-power6 object.
26960         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26961         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26963         (__memmove_ppc32): Likewise.
26964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26965         file.
26966         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26968         Remove preprocessor.
26970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26971         [sysdep_routines]: Remove wide chars objects.
26972         [wcsmbs]: New rule for wide char objects.
26974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26975         Remove wordcopy-power6 obejct.
26976         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26977         Use local call for wordcopy and memcpy symbols.
26978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26980         implementation for loader.
26981         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26983         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26984         Remove wordcopy-power7 object.
26985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26986         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26987         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26988         (_wordcopy_fwd_dest_aligned): Likewise.
26989         (_wordcopy_bwd_aligned): Likewise.
26990         (_wordcopy_bwd_dest_aligned): Likewise.
26992         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26993         Rewrite to call __memmove_ppc instead of include default
26994         implementation.
26996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26997         Remove wide chars objects.
26998         [wcsmbs]: New rule for wide char objects.
27000 2015-02-09  Andreas Schwab  <schwab@suse.de>
27002         [BZ #17912]
27003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27004         in terms of __O_DIRECTORY.
27006 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27008         * time/getdate.c: Include <stdbool.h>.
27009         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27010         call PTR_MANGLE.
27011         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27012         PTR_DEMANGLE.
27014 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27016         Add ersatz _Static_assert on older C hosts
27017         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27018         pre-C11 C platform that is not known to support _Static_assert.
27020 2015-02-07  Richard Braun  <rbraun@sceen.net>
27022         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27023         sigstate.
27024         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27026 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27028         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27029         priority against unexistent AIO_PRIO_DELTA_MAX.
27030         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27031         instead of int.
27032         * misc/fchflags.c (fchflags): Likewise.
27033         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27034         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27035         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27036         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27037         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27038         Declare macros.
27039         [__USE_MISC] (chflags, fchflags): Declare functions.
27040         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27041         EINVAL when nfds is greater than FD_SETSIZE.
27042         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27043         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27044         45.
27045         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27046         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27047         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27048         MACH_RCV_TIMED_OUT.
27049         * hurd/hurd/signal.h (_hurd_self_sigstate,
27050         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27051         Explicit casts from void *.
27052         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27053         * abi-tags: Rename gnu-gnu os into gnu.
27055         [BZ #4719]
27056         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27057         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27058         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27059         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27060         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27061         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27063         [BZ #17944]
27064         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27065         duplicates ADDR->sun_path with sockaddr LEN limitation.
27066         * sysdeps/mach/hurd/connect.c: Include <string.h>
27067         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27068         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27069         * sysdeps/mach/hurd/sendto.c: Likewise.
27070         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27071         implementing it by hand.
27073 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27075         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27076         Use sfi_breg on ldr.
27077         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27078         Likewise.
27080         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27081         it's defined.
27082         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27083         Test SIGSETXID only if it's defined.
27085         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27087         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27088         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27090         * nptl/tst-align2.c: Moved ...
27091         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27092         * nptl/Makefile (tests): Remove tst-align2.
27093         * sysdeps/unix/sysv/linux/Makefile
27094         [$(subdir) = nptl] (tests): Add tst-align-clone.
27095         * nptl/tst-getpid1.c: Moved ...
27096         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27097         * nptl/tst-getpid2.c: Moved ...
27098         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27099         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27100         * sysdeps/unix/sysv/linux/Makefile
27101         [$(subdir) = nptl] (tests): ... here.
27102         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27103         * sysdeps/unix/sysv/linux/Makefile
27104         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27106         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27107         Drop trailing \n from perror argument.  Use return rather than exit.
27109         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27110         on [SA_SIGINFO].
27111         * nptl/tst-cancel21.c (do_test): Likewise.
27112         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27113         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27114         [!SA_SIGINFO]: Make it a stub test.
27116         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27117         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27119         * posix/tst-getlogin.c: Move to ...
27120         * login/tst-getlogin.c: ... here.
27121         * posix/Makefile (tests): Move tst-getlogin to ...
27122         * login/Makefile (tests): ... here.
27124         * libio/tst-atime.c (do_test): Move local variables SV and E
27125         inside [ST_NOATIME] conditional.
27127         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27129         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27131         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27132         (wait_code): New function replaces macro.
27133         Call nanosleep rather than syscall.
27135         * nptl/pt-system.c: Rewritten.  Put everything under
27136         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27137         Use IFUNC to redirect when possible.
27139         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27140         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27141         Use IFUNC to redirect when possible.
27143         * nptl/pt-fork.c: Rewritten.  Put everything under
27144         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27145         Use IFUNC to redirect when possible.
27146         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27148         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27149         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27150         unconditionally nowadays.  This included the only reference to
27151         __vdso_clock_gettime that appears outside libc proper.
27152         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27153         Remove version set (containing only __vdso_clock_gettime).
27154         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27155         Add attribute_hidden.
27156         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27157         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27158         libc_hidden_data_def.
27159         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27160         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27162         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27163         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27164         setrpcent, and getrpcport to ...
27165         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27166         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27167         getrpcbynumber_r, and getrpcent_r to ...
27168         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27169         * inet/getrpcbyname.c: Moved ...
27170         * sunrpc/getrpcbyname.c: ... here.
27171         * inet/getrpcbyname_r.c: Moved ...
27172         * sunrpc/getrpcbyname_r.c: ... here.
27173         * inet/getrpcbynumber.c: Moved ...
27174         * sunrpc/getrpcbynumber.c: ... here.
27175         * inet/getrpcbynumber_r.c: Moved ...
27176         * sunrpc/getrpcbynumber_r.c: ... here.
27177         * inet/getrpcent.c: Moved ...
27178         * sunrpc/getrpcent.c: ... here.
27179         * inet/getrpcent_r.c: Moved ...
27180         * sunrpc/getrpcent_r.c: ... here.
27181         * inet/Makefile (routines): Move those to ...
27182         * sunrpc/Makefile (routines): ... here.
27183         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27184         the $(subdirs) list.
27185         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27186         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27187         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27188         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27190         * elf/Makefile (routines): Include $(all-dl-routines), not just
27191         $(dl-routines).
27192         (rtld-routines): Likewise.  Use = rather than :=.
27193         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27194         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27195         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27196         * sysdeps/arm/Makefile: Likewise.
27197         * sysdeps/i386/Makefile: Likewise.
27198         * sysdeps/x86_64/Makefile: Likewise.
27199         * sysdeps/hppa/Makefile [$(subdir) = elf]
27200         (sysdep_routines, sysdep-rtld-routines): Don't add
27201         $(sysdep-dl-routines) to these.
27202         * sysdeps/ia64/Makefile: Likewise.
27203         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27204         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27205         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27206         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27207         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27208         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27209         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27210         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27211         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27212         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27213         these; sysdep-dl-routines alone is enough.
27215 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27217         [BZ #17932]
27218         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27219         where multiplication results in zero and third argument is finite
27220         and nonzero.
27221         * math/auto-libm-test-in: Add more tests of fma.
27222         * math/auto-libm-test-out: Regenerated.
27224         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27225         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27226         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27227         (_FP_CMP_EQ): Likewise.
27228         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27230         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27231         extra argument CHECK_NAN.  Redefine as wrapper around
27232         _FP_EXTEND_CNAN.
27234 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27236         * version.h (RELEASE): Set to "stable".
27237         (VERSION): Set to "2.21"
27238         * include/features.h (__GLIBC_MINOR__): Set to 21.
27240         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27242 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27243             Paul Eggert  <eggert@cs.ucla.edu>
27245         [BZ #16618]
27246         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27247         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27248         size in bytes. Store needed elements in wpmax. Use needed size
27249         in bytes for extend_alloca.
27251 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27253         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27254         binutls 2.25, and texinfo 5.2.
27255         * INSTALL: Regenerate.
27256         * sysdeps/nios2/configure: Regenerate.
27257         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27258         * manual/contrib.texi: Update.
27259         * po/be.po: Update.
27260         * po/bg.po: Update.
27261         * po/ca.po: Update.
27262         * po/cs.po: Update.
27263         * po/da.po: Update.
27264         * po/de.po: Update.
27265         * po/el.po: Update.
27266         * po/eo.po: Update.
27267         * po/es.po: Update.
27268         * po/fi.po: Update.
27269         * po/fr.po: Update.
27270         * po/gl.po: Update.
27271         * po/hr.po: Update.
27272         * po/hu.po: Update.
27273         * po/ia.po: Update.
27274         * po/id.po: Update.
27275         * po/it.po: Update.
27276         * po/ja.po: Update.
27277         * po/ko.po: Update.
27278         * po/lt.po: Update.
27279         * po/nb.po: Update.
27280         * po/nl.po: Update.
27281         * po/pl.po: Update.
27282         * po/pt_BR.po: Update.
27283         * po/ru.po: Update.
27284         * po/rw.po: Update.
27285         * po/sk.po: Update.
27286         * po/sl.po: Update.
27287         * po/sv.po: Update.
27288         * po/tr.po: Update.
27289         * po/uk.po: Update.
27290         * po/vi.po: Update.
27291         * po/zh_CN.po: Update.
27292         * po/zh_TW.po: Update.
27294         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27295         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27296         * sysdeps/hppa/dl-irel.h: Remove #warning.
27297         * sysdeps/hppa/entry.h: Provide prototype for
27298         __canonicalize_funcptr_for_compare and cast argument.
27299         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27300         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27301         * sysdeps/hppa/sotruss-lib.c: New file.
27302         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27303         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27304         (atomic_compare_and_exchange_bool_acq): Likewise.
27305         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27306         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27308         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27309         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27310         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27312 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27314         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27315         called function in non-PIC case.
27317 2015-01-31  David S. Miller  <davem@davemloft.net>
27319         * sysdeps/sparc/sparc32/bits/atomic.h
27320         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27321         unlock not after it.
27322         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27323         volatile register usage warnings from the compiler.
27325         * sysdeps/sparc/nptl/sem_init.c: Delete.
27326         * sysdeps/sparc/nptl/sem_post.c: Delete.
27327         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27328         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27329         * sysdeps/sparc/sparc32/sem_init.c: New file.
27330         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27331         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27332         padding explicitly initialized.
27333         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27334         padding for in-semaphore spinlock.
27335         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27336         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27337         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27338         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27339         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27340         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27341         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27342         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27343         version.
27344         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27345         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27347 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27349         [BZ #17801]
27350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27351         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27352         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27353         New.
27354         (index_AVX_Fast_Unaligned_Load): Likewise.
27355         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27356         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27357         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27358         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27359         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27360         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27361         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27362         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27363         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27365 2015-01-29  Andreas Schwab  <schwab@suse.de>
27367         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27369 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27371         [BZ #17892]
27372         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27374 2015-01-28  Martin Sebor  <msebor@redhat.com>
27376         * math/README.libm-test: Clarify. Add "How to read the test output."
27378 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27380         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27381         Define to 0.
27383 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27385         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27386         (__HAVE_64B_ATOMICS): Define to 0.
27388 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27390         [BZ #17885]
27391         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27392         value to set as new flag.
27394         [BZ #16576]
27395         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27396         and use _ARCH_PPCSQ instead.
27397         (__ieee754_sqrt): Likewise.
27398         (__ieee754_sqrtf): Likewise.
27399         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27400         _ARCH_PPCSQ is defined.
27401         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27402         fsqrt instruction.
27403         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27404         _ARCH_PPCSQ is defined.
27405         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27406         fsqrts instruction.
27407         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27409 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27411         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27412         bug (GCC BZ #64739).
27414 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27417         Mark _retval as used.
27418         (lll_futex_wake_unlock): Likewise.
27419         (lll_futex_timed_wait_requeue_pi): Likewise.
27421         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27422         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27423         register variables.
27425         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27426         libm_hidden_def.
27428         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27429         (__bswap_64): Mark as __always_inline.
27431 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27433         [BZ #15378]
27434         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27435         when none of the search directories exist.
27437 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27439         [BZ #17869]
27440         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27441         power8 in .machine directive.
27443         [BZ #17868]
27444         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27445         set dependency from opd value.
27447 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27450         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27451         architecture.
27453 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27455         [BZ #17870]
27456         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27457         with uint64_t.
27458         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27459         (uint64_t) 1.
27460         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27461         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27462         Replace 1UL with (uint64_t) 1.
27463         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27464         int with uint64_t.
27466 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27468         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27469         (if_freenameindex): Likewise.
27471         * resource/getrlimit64.c: Add missing libc_hidden_def.
27473 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27475         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27476         __label__.
27477         (_FP_FMA): Likewise.
27478         (_FP_TO_INT_ROUND): Likewise.
27479         (_FP_FROM_INT): Likewise.
27481 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27483         [BZ #16418]
27484         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27485         Make code racy and cancel safe.
27487 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27489         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27490         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27491         attribution.
27493         * pwd/tst-getpw.c: Rewrite.
27495         [BZ #17702]
27496         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27497         (modules-names): Add moddummy1 and moddummy2.
27498         ($(objpfx)tst-rec-dlopen): Define.
27499         * dlfcn/moddummy1.c: New file.
27500         * dlfcn/moddummy2.c: New file.
27501         * dlfcn/tst-rec-dlopen.c: New file.
27502         * elf/dl-cache.c (_dl_load_cache_lookup):
27503         Return char*. Copy result with alloca/strcpy/strdup.
27504         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27505         returns char*. Free cached. If not saving realname
27506         free cached.
27507         * elf/dl-open.c (dl_open_worker): Do not assert that
27508         _r_debug->r_state is RT_CONSISTENT.
27509         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27510         returns char*.
27512 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27513             Carlos O'Donell  <carlos@redhat.com>
27515         [BZ #12674]
27516         * nptl/sem_waitcommon.c: New file.
27517         * nptl/sem_wait.c: Include sem_waitcommon.c.
27518         (__sem_wait_cleanup, do_futex_wait): Remove.
27519         (__new_sem_wait): Adapt.
27520         (__new_sem_trywait): New function.
27521         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27522         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27523         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27524         (sem_timedwait): Adapt.
27525         * nptl/sem_post.c (__new_sem_post): Adapt.
27526         (futex_wake): New function.
27527         (__old_sem_post): Add release MO fence.
27528         * nptl/sem_open.c (sem_open): Adapt.
27529         * nptl/sem_init.c (__new_sem_init): Adapt.
27530         (futex_private_if_supported): New function.
27531         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27532         (__old_sem_getvalue): Add using previous code.
27533         * sysdeps/nptl/internaltypes.h: Adapt.
27534         * nptl/tst-sem13.c (do_test): Adapt.
27535         * nptl/tst-sem11.c (main): Adapt.
27536         * nptl/sem_trywait.c: Remove.
27537         * nptl/DESIGN-sem.txt: Remove.
27538         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27539         (gen-as-const-headers): Remove structsem.sym.
27540         * nptl/structsem.sym: Remove.
27541         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27542         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27543         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27544         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27545         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27546         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27547         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27548         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27549         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27550         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27551         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27552         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27553         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27554         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27555         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27556         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27557         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27558         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27559         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27560         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27561         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27562         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27564 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27566         * INSTALL: Regenerated.
27568         * po/libc.pot: Regenerated.
27570 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27571             Sandra Loosemore  <sandra@codesourcery.com>
27572             Andrew Jenner  <andrew@codesourcery.com>
27573             Joseph Myers  <joseph@codesourcery.com>
27574             Nathan Sidwell  <nathan@codesourcery.com>
27576         * NEWS: Mention new Nios II port.
27577         * sysdeps/nios2/Implies: New file.
27578         * sysdeps/nios2/Makefile: New file.
27579         * sysdeps/nios2/Subdirs: New file.
27580         * sysdeps/nios2/Versions: New file.
27581         * sysdeps/nios2/__longjmp.S: New file.
27582         * sysdeps/nios2/abort-instr.h: New file.
27583         * sysdeps/nios2/backtrace.c: New file.
27584         * sysdeps/nios2/bits/endian.h: New file.
27585         * sysdeps/nios2/bits/fenv.h: New file.
27586         * sysdeps/nios2/bits/link.h: New file.
27587         * sysdeps/nios2/bits/setjmp.h: New file.
27588         * sysdeps/nios2/bsd-_setjmp.S: New file.
27589         * sysdeps/nios2/bsd-setjmp.S: New file.
27590         * sysdeps/nios2/configure: New generated file.
27591         * sysdeps/nios2/configure.ac: New file.
27592         * sysdeps/nios2/crti.S: New file.
27593         * sysdeps/nios2/crtn.S: New file.
27594         * sysdeps/nios2/dl-init.c: New file.
27595         * sysdeps/nios2/dl-machine.h: New file.
27596         * sysdeps/nios2/dl-sysdep.h: New file.
27597         * sysdeps/nios2/dl-tls.h: New file.
27598         * sysdeps/nios2/dl-trampoline.S: New file.
27599         * sysdeps/nios2/gccframe.h: New file.
27600         * sysdeps/nios2/gmp-mparam.h: New file.
27601         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27602         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27603         * sysdeps/nios2/ldsodefs.h: New file.
27604         * sysdeps/nios2/libc-tls.c: New file.
27605         * sysdeps/nios2/libm-test-ulps: New file.
27606         * sysdeps/nios2/machine-gmon.h: New file.
27607         * sysdeps/nios2/math-tests.h: New file.
27608         * sysdeps/nios2/math_private.h: New file.
27609         * sysdeps/nios2/memusage.h: New file.
27610         * sysdeps/nios2/nptl/Makefile: New file.
27611         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27612         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27613         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27614         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27615         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27616         * sysdeps/nios2/nptl/tls.h: New file.
27617         * sysdeps/nios2/preconfigure: New file.
27618         * sysdeps/nios2/s_fma.c: New file.
27619         * sysdeps/nios2/s_fmaf.c: New file.
27620         * sysdeps/nios2/setjmp.S: New file.
27621         * sysdeps/nios2/sfp-machine.h: New file.
27622         * sysdeps/nios2/sotruss-lib.c: New file.
27623         * sysdeps/nios2/stackguard-macros.h: New file.
27624         * sysdeps/nios2/stackinfo.h: New file.
27625         * sysdeps/nios2/start.S: New file.
27626         * sysdeps/nios2/sysdep.h: New file.
27627         * sysdeps/nios2/tls-macros.h: New file.
27628         * sysdeps/nios2/tst-audit.h: New file.
27629         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27630         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27631         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27632         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27633         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27634         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27635         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27636         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27637         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27638         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27639         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27640         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27641         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27642         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27643         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27644         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27645         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27646         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27647         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27648         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27649         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27650         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27651         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27652         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27653         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27654         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27655         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27656         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27657         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27658         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27659         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27660         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27661         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27662         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27663         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27664         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27665         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27666         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27667         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27668         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27669         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27670         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27671         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27672         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27674 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27676         [BZ #17844]
27677         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27678         (getutent): Use weak_alias in non SHARED case
27679         and default_symbol_version in SHARED case.
27680         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27681         (getutent_r, pututline): Likewise.
27682         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27683         (getutid): Likewise.
27684         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27685         (getutid_r): Likewise.
27686         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27687         (getutline): Likewise.
27688         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27689         (getutline_r): Likewise.
27690         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27691         (updwtmp): Likewise.
27693 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27695         [BZ #17848]
27696         * sysdeps/s390/s390-32/memcmp.S
27697         (memcmp_g5): Rename to __memcmp_g5.
27698         * sysdeps/s390/s390-32/memcpy.S
27699         (memcpy_g5): Rename to __memcpy_g5.
27700         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27701         (memcpy_mvcle) Rename to __memcpy_mvcle.
27702         * sysdeps/s390/s390-32/memset.S
27703         (memset_g5): Rename to __memset_g5.
27704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27705         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27706         and use prefixed functions.
27707         * sysdeps/s390/s390-32/multiarch/memcmp.S
27708         (memcmp_z196): Rename to __memcmp_z196.
27709         (memcmp_z10): Rename to __memcmp_z10.
27710         (memcmp): Set alias to __memcmp_g5.
27711         (bcmp): Set alias to __memcmp_g5.
27712         * sysdeps/s390/s390-32/multiarch/memcpy.S
27713         (memcpy_z196): Rename to __memcpy_z196.
27714         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27715         (memcpy_z10): Rename to __memcpy_z10.
27716         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27717         (memcpy): Set alias to __memcpy_g5.
27718         * sysdeps/s390/s390-32/multiarch/memset.S
27719         (memset_z196): Rename to __memset_z196.
27720         Jump to __memset_mvcle instead of memset_mvcle.
27721         (memset_z10): Rename to __memset_z10.
27722         Jump to __memset_mvcle instead of memset_mvcle.
27723         (memset_mvcle) Rename to __memset_mvcle.
27724         (memset): Set alias to __memset_g5.
27725         * sysdeps/s390/s390-64/memcmp.S
27726         (memcmp_z900): Rename to __memcmp_z900.
27727         * sysdeps/s390/s390-64/memcpy.S
27728         (memcpy_z900): Rename to __memcpy_z900.
27729         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27730         (memcpy_mvcle) Rename to __memcpy_mvcle.
27731         * sysdeps/s390/s390-64/memset.S
27732         (memset_z900): Rename to __memset_z900.
27733         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27734         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27735         and use prefixed functions.
27736         * sysdeps/s390/s390-64/multiarch/memcmp.S
27737         (memcmp_z196): Rename to __memcmp_z196.
27738         (memcmp_z10): Rename to __memcmp_z10.
27739         (memcmp): Set alias to __memcmp_z900.
27740         (bcmp): Set alias to __memcmp_z900.
27741         * sysdeps/s390/s390-64/multiarch/memcpy.S
27742         (memcpy_z196): Rename to __memcpy_z196.
27743         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27744         (memcpy_z10): Rename to __memcpy_z10.
27745         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27746         (memcpy): Set alias to __memcpy_z900.
27747         * sysdeps/s390/s390-64/multiarch/memset.S
27748         (memset_z196): Rename to __memset_z196.
27749         Jump to __memset_mvcle instead of memset_mvcle.
27750         (memset_z10): Rename to __memset_z10.
27751         Jump to __memset_mvcle instead of memset_mvcle.
27752         (memset_mvcle) Rename to __memset_mvcle.
27753         (memset): Set alias to __memset_z900.
27755 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27757         [BZ #17748]
27758         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27759         __fesetenv instead of fesetenv.
27761 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27763         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27764         macro.
27766 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27768         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27769         regression on LE.
27771         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27772         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27774         strncmp-power8 object.
27775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27776         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27777         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27778         * NEWS: Update.
27780 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27781             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27783         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27784         trailing byte check.
27786 2015-01-13  David S. Miller  <davem@davemloft.net>
27788         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27790 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27792         * login/logout.c (logout): Use memset rather than bzero.
27793         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27794         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27795         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27796         (_gethtbyaddr): Likewise.
27797         * locale/programs/simple-hash.c (bcopy): Macro removed.
27799 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27801         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27802         Add strcmp-power8 object.
27803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27804         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27805         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27806         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27807         __strcmp_power8 implementation.
27808         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27809         * NEWS: Update.
27811         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27812         Add strncpy-power8 and stpncpy-power8 objects.
27813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27814         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27815         implementations.
27816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27817         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27818         __stpncpy_power8 implementation.
27819         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27820         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27821         __strncpy_power8 implementation.
27822         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27823         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27824         * NEWS: Update.
27826         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27827         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27828         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27831         strncat-power8 object.
27832         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27833         __strcat_power8 implementation.
27834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27835         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27836         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27837         optimized strcat for power8.
27839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27840         strcpy-power8 and stpcpy-power8 objects.
27841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27842         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27843         implementations.
27844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27845         multiarch stpcpy implementation for POWER8.
27846         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27847         multiarch strcpy implementation for POWER8.
27848         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27849         __strcpy_power8 function.
27850         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27851         stpcpy for POWER8.
27852         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27853         strcpy for POWER8.
27854         * NEWS: Update.
27856 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27858         [BZ #16009]
27859         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27860         weights and rules. Use do_xfrm_cached if data fits in cache,
27861         do_xfrm otherwise.  Moved former main loop to...
27862         * (do_xfrm_cached): New function.
27863         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27864         find_idx, find_position and stack_push.
27865         * (find_idx): New function.
27866         * (find_position): Likewise.
27867         * localedata/sort-test.sh: Added test run for do_xfrm.
27868         * localedata/xfrm-test.c (main): Added command line option
27869         -nocache to run the test with strings that are too large for
27870         the STRXFRM cache.
27872 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27874         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27875         variable to lll_futex_wake call, not the value itself.
27877 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27879         [BZ #17803]
27880         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27881         twom64.  Adjust value to 0x1p-64L.
27882         (__scalblnl): Only return standard underflowing result for K <=
27883         -64 not K <= -63; adjust exponent for underflowing result by 64
27884         not 63.
27885         * math/libm-test.inc (scalbn_test_data): Add more tests.
27886         (scalbln_test_data): Likewise.
27888         [BZ #17834]
27889         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27890         0x1p63L.
27891         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27892         not HX.
27893         * math/libm-test.inc (scalbn_test_data): Add more tests.
27894         (scalbln_test_data): Likewise.
27896 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27897             Stefani Seibold  <stefani@seibold.net>
27899         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27900         (sysdep_routines): Add dl-vdso here, ...
27901         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27902         (sysdep_routines): ... not here.
27903         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27904         fallback when vDSO is not presented.
27905         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27906         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27907         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27908         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27909         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27910         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27911         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27912         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27913         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27914         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27915         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27916         fallback configurable symbol when vDSO is not available.
27917         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27918         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27919         be able to redefine fallback symbol when vDSO is not available.
27920         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27921         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27923 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27925         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27926         (TLS_INIT_TP): Add tm_capable initialization.
27927         (TLS_DEFINE_INIT_TP): Likewise.
27928         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27929         TCB.
27930         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27931         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27932         calculation.
27933         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27934         transactoion is lock elision is built and TCB tm_capable is set.
27935         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27937         (INTERNAL_SYSCALL_NCS): Likewise.
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27939         (INTERNAL_SYSCALL_NCS): Likewise.
27940         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27942         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27943         for powerpc.
27944         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27945         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27946         and remove it for 32 bits case.
27947         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27949         initialization.
27950         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27951         Disable lock elision with rdlocks if elision is not available.
27953         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27954         (sysdep_routines): Add lock elision objects.
27955         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27956         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27957         [pthread_mutex_t] (__elision): Add field.
27958         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27959         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27960         elision definitions for powerpc.
27961         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27962         implementation of lock elision for powerpc.
27963         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27964         implementation of timed lock elision for powerpc.
27965         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27966         implementation of trylock with lock elision for powerpc.
27967         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27968         implementaion of unlock for lock elision for powerpc.
27969         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27970         automatic enable lock elision for mutexes.
27971         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27972         transaction execution definitions for powerpc.
27973         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27974         definitions.
27975         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27976         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27977         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27978         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27979         * NEWS: Update.
27981 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27983         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27984         for #include of <shm-directory.h>.
27986 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27988         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27989         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27991 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27993         [BZ #17791]
27994         * NEWS: Mention bug fix.
27995         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27996         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27997         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27999 2015-01-09  Torvald Riegel <triegel@redhat.com>
28001         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28003 2015-01-09  Torvald Riegel <triegel@redhat.com>
28005         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28007 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28009         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28010         pointer and cast to uintptr_t.
28012 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28014         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28015         removed.
28016         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28018 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28020         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28021         of 0.
28023 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28025         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28026         <nptl/pthreadP.h> instead.
28027         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28029         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28030         already defined.
28031         [__SIGRTMIN] (init): Function removed.
28032         [__SIGRTMIN] (initialized): Variable removed.
28033         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28034         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28035         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28036         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28037         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28038         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28039         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28040         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28041         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28042         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28043         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28044         * sysdeps/nptl/allocrtsig.c: New file.
28045         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28046         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28047         * sysdeps/generic/testrtsig.h: File removed.
28049         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28050         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28052         * nptl/nptl-init.c (pthread_functions): Conditionalize
28053         .ptr__nptl_setxid initialization on [SIGSETXID].
28055         * sysdeps/nptl/sys/procfs.h: New file.
28056         * nptl_db/Makefile (headers): Add it.
28057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28059         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28060         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28061         * nptl/pthread_attr_setaffinity.c: Include it.
28062         * nptl/pthread_setattr_default_np.c: Likewise.
28063         * nptl/check-cpuset.h: New file.
28065 2015-01-08  Richard Henderson  <rth@redhat.com>
28067         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28068         (CFLAGS-tst-execstack-prog.c): Likewise.
28069         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28071 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28072             Sandra Loosemore  <sandra@codesourcery.com>
28073             Andrew Jenner  <andrew@codesourcery.com>
28074             Joseph Myers  <joseph@codesourcery.com>
28075             Nathan Sidwell  <nathan@codesourcery.com>
28077         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28078         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28079         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28080         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28081         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28082         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28083         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28084         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28085         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28086         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28087         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28088         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28089         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28090         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28091         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28092         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28093         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28095 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28097         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28098         timespec struct member in syscall macro.
28099         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28100         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28101         first timeval struct member in syscall macro.
28102         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28104 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #17748]
28107         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28108         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28109         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28110         __feupdateenv and define as weak alias of __feupdateenv.  Use
28111         libm_hidden_weak.
28112         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28113         libm_hidden_def.
28114         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28115         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28116         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28117         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28118         libm_hidden_def.
28119         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28120         __feupdateenv and define as weak alias of __feupdateenv.  Use
28121         libm_hidden_weak.
28122         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28123         libm_hidden_def.
28124         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28125         __feupdateenv and define as weak alias of __feupdateenv.  Use
28126         libm_hidden_weak.
28127         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28128         libm_hidden_def.
28129         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28130         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28131         (__feupdateenv): Likewise.
28132         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28133         __feupdateenv and define as weak alias of __feupdateenv.  Use
28134         libm_hidden_weak.
28135         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28136         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28137         libm_hidden_def.
28138         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28139         function.
28140         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28141         libm_hidden_def.
28142         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28143         __feupdateenv instead of feupdateenv.
28144         (default_libc_feupdateenv_test): Likewise.
28145         (libc_feresetround_ctx): Likewise.
28147 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28149         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28150         prototype.
28152 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28154         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28155         COLL_SYM in a couple of places to avoid uninitialized variable
28156         wanings on tilegx gcc 4.8.2.
28158 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28160         * sysdeps/aarch64/strcpy.S: New file.
28161         * sysdeps/aarch64/stpcpy.S: New file.
28162         * NEWS: Updated.
28164 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28166         * sysdeps/aarch64/strrchr.S: New file.
28167         * NEWS: Updated.
28169 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28171         [BZ #17658]
28172         * stdlib/setenv.c: Fix memory leak when setting large,
28173         duplicate string.
28175 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28177         [BZ #17273]
28178         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28179         and tabs from buffer before parsing fstab entry.
28180         * misc/tst-mntent.c (main): Add test for mount entry with
28181         trailing spaces and tabs.
28183 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28185         [BZ #17748]
28186         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28187         * math/fesetround.c (fesetround): Rename to __fesetround and
28188         define as weak alias of __fesetround.  Use libm_hidden_weak.
28189         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28190         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28191         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28192         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28193         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28194         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28195         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28196         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28197         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28198         __fesetround_inline.
28199         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28200         __fesetround_inline instead of __fesetround.
28201         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28202         __fesetround and define as weak alias of __fesetround.  Use
28203         libm_hidden_weak.  Call __fesetround_inline instead of
28204         __fesetround.
28205         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28206         __fesetround and define as weak alias of __fesetround.  Use
28207         libm_hidden_weak.
28208         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28209         Likewise.
28210         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28211         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28212         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28213         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28214         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28215         __fesetround and define as weak alias of __fesetround.  Use
28216         libm_hidden_weak.
28217         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28218         __fesetround instead of fesetround.
28219         (default_libc_feholdexcept_setround): Likewise.
28220         (libc_feholdsetround_ctx): Likewise.
28221         (libc_feholdsetround_noex_ctx): Likewise.
28223         [BZ #17748]
28224         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28225         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28226         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28227         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28228         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28229         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28230         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28231         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28232         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28233         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28234         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28235         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28236         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28237         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28238         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28239         libm_hidden_def.
28240         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28241         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28242         Likewise.
28243         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28244         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28245         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28246         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28247         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28248         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28249         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28250         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28251         __fesetenv instead of fesetenv.
28252         (libc_feresetround_noex_ctx): Likewise.
28253         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28254         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28255         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28257         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28258         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28259         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28260         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28261         (__feupdateenv): Likewise.
28262         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28263         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28264         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28265         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28267 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28269         [BZ #17806]
28270         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28271         addresses have been freed.
28273 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28275         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28276         and nservall.
28278 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28280         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28281         Clean up check_pf allocation pattern. addresses
28283 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28285         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28286         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28287         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28288         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28289         * nptl/pthread_join.c (pthread_join): Likewise.
28290         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28291         * sysdeps/posix/waitid.c (__waitid): Likewise.
28292         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28293         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28294         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28295         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28297         Likewise.
28298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28299         (__libc_pread64): Likewise.
28300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28301         (__libc_pwrite): Likewise.
28302         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28303         (__libc_pwrite64): Likewsie.
28304         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28305         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28306         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28307         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28308         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28309         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28310         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28312         Likewise.
28313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28314         (__libc_pread64): Likewise.
28315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28316         Likewise.
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28318         (__libc_pwrite64): Likewise.
28319         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28320         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28321         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28322         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28323         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28324         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28325         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28326         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28327         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28328         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28329         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28330         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28331         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28332         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28333         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28334         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28335         Likewise.
28337 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28339         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28340         (CFLAGS-test-double.c): Likewise.
28341         (CFLAGS-test-ldouble.c): Likewise.
28342         (CPPFLAGS-test-ifloat.c): Likewise.
28343         (CPPFLAGS-test-idouble.c): Likewise.
28344         (CPPFLAGS-test-ildoubl.c): Likewise.
28345         (CFLAGS-test-test-fenv.c): Remove variable.
28346         (CFLAGS-test-misc.c): Likewise.
28348 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28350         [BZ #17797]
28351         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28352         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28353         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28354         CLOCKS_PER_SEC == 1000000.
28355         * time/clocktest.c (main): Replace %ld with %jd and cast to
28356         intmax_t.
28358 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28360         * sysdeps/generic/unwind-resume.h: New file.
28361         * sysdeps/gnu/unwind-resume.c: Include it.
28362         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28363         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28364         argument list.
28365         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28366         global rather than static.
28367         (_Unwind_Resume): Update user.
28368         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28369         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28370         rather than static.  Add __attribute__ ((cold)).
28371         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28372         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28373         * sysdeps/arm/arm-unwind-resume.S: New file.
28374         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28375         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28376         * sysdeps/arm/Makefile [$(subdir) = csu]
28377         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28378         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28379         Add rt-arm-unwind-resume.
28380         [$(subdir) = nptl]
28381         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28382         Add pt-arm-unwind-resume.
28383         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28384         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28386 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28388         [BZ #17748]
28389         * include/fenv.h (__feholdexcept): Declare.  Use
28390         libm_hidden_proto.
28391         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28392         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28393         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28394         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28395         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28396         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28397         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28398         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28399         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28400         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28401         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28402         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28403         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28404         (feholdexcept): Likewise.
28405         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28406         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28407         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28408         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28409         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28410         __feholdexcept instead of feholdexcept.
28411         (default_libc_feholdexcept_setround): Likewise.
28413 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28415         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28416         to avoid using stl/str to align destination.
28418 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28420         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28422 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28424         [BZ #17796]
28425         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28426         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28427         Define as weak alias not strong alias.
28429 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28431         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28432         bltzal with addiupc.
28433         (RTLD_START): Ditto.
28435 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28437         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28438         for __vdso_* functions in declarations.
28439         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28440         definitions.
28441         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28442         INTERNAL_VSYSCALL): Use struct return types to check for error.
28444         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28445         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28446         function with cast from llround().
28447         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28448         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28449         Define.
28451 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28453         [BZ #17793]
28454         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28455         Define as weak alias not strong alias.
28457         [BZ #17635]
28458         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28459         ...
28460         * ctype/ctype-extn.c: ... here.
28461         (__isblank_l): Move to ...
28462         * ctype/ctype-c99_l.c: ... here.  New file.
28463         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28464         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28465         Remove variable.
28466         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28467         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28468         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28469         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28470         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28472         [BZ #17777]
28473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28474         (posix_fadvise64): Define as weak alias not strong alias.
28475         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28476         (posix_fallocate64): Likewise.
28477         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28478         Remove variable.
28479         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28480         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28481         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28482         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28483         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28485 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28487         [BZ #16191]
28488         * NEWS: Mention bug fix.
28489         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28490         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28491         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28492         (HOST_STACK_END_ADDR): Likewise.
28494 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28496         [BZ #17748]
28497         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28498         * math/fegetround.c (fegetround): Rename to __fegetround and
28499         define as weak alias of __fegetround.  Use libm_hidden_weak.
28500         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28501         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28502         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28503         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28504         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28505         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28506         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28507         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28508         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28509         Undefine after rather than before function definition; use
28510         parentheses around function name in definition.
28511         (__fegetround): Also undefine macro after function definition.
28512         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28513         __fegetround and define as weak alias of __fegetround.  Use
28514         libm_hidden_weak.  Do not undefine as macro.
28515         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28516         Likewise.
28517         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28518         __fegetround and define as weak alias of __fegetround.  Use
28519         libm_hidden_weak.
28520         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28521         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28522         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28523         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28524         __fegetround and define as weak alias of __fegetround.  Use
28525         libm_hidden_weak.
28526         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28527         __fegetround instead of fegetround.
28529         [BZ #17782]
28530         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28531         Condition macro definition on [__USE_MISC].
28533         [BZ #17781]
28534         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28535         (struct sigaction): Change type of sa_flags field to int.
28537         [BZ #17780]
28538         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28539         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28540         __glibc_reserved0.
28542         * nptl/version.c (banner): Use single year in copyright notice.
28544         * NEWS: Update copyright dates.
28545         * catgets/gencat.c (print_version): Likewise.
28546         * csu/version.c (banner): Likewise.
28547         * debug/catchsegv.sh: Likewise.
28548         * debug/pcprofiledump.c (print_version): Likewise.
28549         * debug/xtrace.sh (do_version): Likewise.
28550         * elf/ldconfig.c (print_version): Likewise.
28551         * elf/ldd.bash.in: Likewise.
28552         * elf/pldd.c (print_version): Likewise.
28553         * elf/sotruss.sh: Likewise.
28554         * elf/sprof.c (print_version): Likewise.
28555         * iconv/iconv_prog.c (print_version): Likewise.
28556         * iconv/iconvconfig.c (print_version): Likewise.
28557         * locale/programs/locale.c (print_version): Likewise.
28558         * locale/programs/localedef.c (print_version): Likewise.
28559         * login/programs/pt_chown.c (print_version): Likewise.
28560         * malloc/memusage.sh (do_version): Likewise.
28561         * malloc/memusagestat.c (print_version): Likewise.
28562         * malloc/mtrace.pl: Likewise.
28563         * manual/libc.texinfo: Likewise.
28564         * nptl/version.c (banner): Likewise.
28565         * nscd/nscd.c (print_version): Likewise.
28566         * nss/getent.c (print_version): Likewise.
28567         * nss/makedb.c (print_version): Likewise.
28568         * posix/getconf.c (main): Likewise.
28569         * scripts/test-installation.pl: Likewise.
28570         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28572 2015-01-02  Will Newton  <will.newton@linaro.org>
28574         * sysdeps/arm/armv7/configure: Removed.
28575         * sysdeps/arm/armv7/configure.ac: Likewise.
28577 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28579         * All files with FSF copyright notices: Update copyright dates
28580         using scripts/update-copyrights.
28581         * intl/plural.c: Regenerated.
28582         * locale/programs/charmap-kw.h: Likewise.
28583         * locale/programs/locfile-kw.h: Likewise.
28585 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28587         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28589 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28591         [BZ #17748]
28592         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28593         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28594         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28595         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28596         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28597         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28598         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28599         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28600         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28601         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28602         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28603         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28604         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28605         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28606         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28607         libm_hidden_def.
28608         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28609         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28610         Likewise.
28611         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28612         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28613         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28614         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28615         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28616         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28617         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28618         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28619         __fegetenv instead of fegetenv.
28620         (libc_feholdsetround_noex_ctx): Likewise.
28622 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28624         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28625         (Elf_MIPS_ABIFlags_v0): New structure.
28626         (EF_MIPS_FP64): Define.
28627         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28628         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28629         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28630         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28631         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28632         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28633         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28634         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28635         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28636         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28637         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28638         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28639         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28640         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28641         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28642         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28643         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28644         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28645         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28646         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28647         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28648         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28649         field.
28650         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28651         EF_MIPS_FP64.
28652         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28653         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28654         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28655         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28656         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28657         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28658         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28659         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28660         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28661         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28662         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28663         record the current FP ABI extension.
28664         (mips-mode-switch): Define to show if kernel headers support mode
28665         switching.
28666         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28667         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28668         supported SYSV ABI version to 3.
28669         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28670         feature.
28672 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28675         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28676         path.
28677         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28679 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28681         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28682         __fegetround and redefine to call __fegetround.  Remove condition
28683         on [!__NO_MATH_INLINES].
28684         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28685         function.
28686         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28687         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28688         Remove macro.
28689         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28690         instead of <fenv_libc.h>.
28691         (__llrintl): Call fegetround instead of __fegetround.
28692         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28693         instead of <fenv_libc.h>.
28694         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28695         (__lrintl): Call fegetround instead of __fegetround.
28696         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28697         instead of <fenv_libc.h>.
28698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28699         (__rintl): Call fegetround instead of __fegetround.
28701 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28703         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28704         arrays.
28706 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28708         [BZ #17775]
28709         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28710         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28711         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28713 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28715         * sysdeps/i386/tls-macros.h: Include <features.h>.
28716         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28717         (TLS_IE): Likewise.
28718         (TLS_LD): Likewise.
28719         (TLS_GD): Likewise.
28720         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28721         define for GCC >= 5.0.
28723 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28725         * math/test-fenv.c (test_single_exception, set_single_exc,
28726         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28727         feexcp_mask_test, feenable_test, fe_single_test): Add
28728         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28729         case where they are not used.
28730         * math/libm-test.inc: Likewise.
28731         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28732         unused in the absence of FP rounding/exception support.
28733         * stdio-common/tst-printf-round.c: Likewise.
28734         * stdlib/tst-strtod-round.c: Likewise.
28735         * stdlib/tst-strtod-underflow.c: Likewise.
28737 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28739         [BZ #17723]
28740         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28741         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28742         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28743         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28744         libm_hidden_weak.
28745         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28746         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28747         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28748         libm_hidden_def.
28749         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28750         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28751         libm_hidden_weak.
28752         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28753         Likewise.
28754         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28755         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28756         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28757         libm_hidden_weak.
28758         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28759         libm_hidden_def.
28760         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28761         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28762         (__feraiseexcept): Likewise.
28763         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28764         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28765         libm_hidden_weak.
28766         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28767         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28768         libm_hidden_def.
28769         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28770         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28771         Use libm_hidden_def.
28772         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28773         libm_hidden_def.
28774         (feraiseexcept): Define as weak not strong alias.  Use
28775         libm_hidden_weak.
28776         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28777         New inline function.  Factored out of ...
28778         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28779         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28780         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28781         feraiseexcept.
28782         * math/w_acos.c (__acos): Likewise.
28783         * math/w_asin.c (__asin): Likewise.
28784         * math/w_ilogb.c (__ilogb): Likewise.
28785         * math/w_j0.c (y0): Likewise.
28786         * math/w_j1.c (y1): Likewise.
28787         * math/w_jn.c (yn): Likewise.
28788         * math/w_log.c (__log): Likewise.
28789         * math/w_log10.c (__log10): Likewise.
28790         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28791         * sysdeps/aarch64/fpu/math_private.h
28792         (libc_feupdateenv_test_aarch64): Likewise.
28793         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28794         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28795         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28796         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28797         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28798         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28799         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28800         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28801         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28802         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28804 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28806         [BZ #17732]
28807         * io/test-utime.c (main): Replace %ld with %jd and cast to
28808         intmax_t.
28809         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28810         * nptl/tst-mutex5.c: Include <stdint.h>.
28811         (do_test): Replace %ld with %jd and cast to intmax_t.
28812         * posix/tst-regex.c (run_test): Likewise.
28813         (run_test_backwards): Likewise.
28814         * rt/tst-clock.c: Include <stdint.h>.
28815         (clock_test): Replace %ld with %jd and cast to intmax_t.
28816         * rt/tst-cpuclock1.c: Include <stdint.h>.
28817         (do_test): Replace %lu with %ju and cast to uintmax_t.
28818         * rt/tst-cpuclock2.c: Include <stdint.h>.
28819         (do_test): Replace %lu with %ju and cast to uintmax_t.
28820         * rt/tst-mqueue1.c: Include <stdint.h>.
28821         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28822         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28823         intmax_t.
28824         * rt/tst-mqueue4.c (do_test): Likewise.
28825         * rt/tst-timer4.c: Include <stdint.h>.
28826         (check_ts): Replace %ld with %jd and cast to intmax_t.
28827         (do_test): Likewise.
28828         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28829         and cast to intmax_t.
28830         * sysdeps/pthread/tst-timer.c (main): Likewise.
28831         * time/clocktest.c (main): Likewise.
28832         * time/tst-posixtz.c (do_test): Likewise.
28833         * timezone/tst-timezone.c (main): Likewise.
28835 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28836             H.J. Lu  <hongjiu.lu@intel.com>
28838         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28839         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28840         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28841         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28842         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28843         version if bit_Fast_Unaligned_Load is set.
28844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28851         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28852         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28853         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28854         to 4.
28855         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28856         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28857         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28858         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28860 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28862         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28863         instead of #if to avoid a Wundef warning.
28864         * stdlib/tst-limits.c (do_test): Likewise.
28866         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28867         parallel other exception macros.
28868         (fegetenv): Convert from macro to extern inline so that it applies
28869         retroactively to inline functions already seen by the compiler.
28870         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28872         * posix/Makefile (before-compile): Use $(objpfx) for
28873         posix-conf-vars-def.h.
28875 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28877         * posix/getconf.c (main): Use size_t for type of I.
28878         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28879         NSPEC.
28881         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28882         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28883         * posix/posix-envs.def: Likewise.
28884         * sysdeps/posix/sysconf.c: Likewise.
28885         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28886         (specs): Remove array.
28887         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28888         array.
28890         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28891         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28892         (__sysconf): Use CONF_IS_* macros.
28894         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28895         ($(objpfx)posix-conf-vars-def.h): New target.
28896         * posix/posix-conf-vars.list: New file.
28897         * posix/posix-conf-vars.h: New file.
28898         * posix/confstr.c: Include posix-conf-vars.h.
28899         (confstr): Use CONF_IS_* macros.
28900         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28901         CONF_IS_* macros.
28902         * scripts/gen-posix-conf-vars.awk: New file.
28904 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28906         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28907         fegetround): Add no-op macros to avoid linknamespace issues.
28909         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28910         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28912         * sysdeps/unix/sysv/linux/tile/sysdep.h
28913         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28914         assembly-specific section to avoid a redefinition warning.
28916         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28917         long before casting to pointer to avoid a cast warning.
28919 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28921         * sysdeps/tile/tilegx/Implies: New file.
28923 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28925         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28927 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28929         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28931 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28934         not define.
28935         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28936         <kernel-features.h>.
28937         (__utimes) [__NR_utimes]: Make code unconditional.
28938         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28939         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28940         (__ASSUME_UTIMES): Do not undefine.
28941         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28942         (__ASSUME_UTIMES): Likewise.
28943         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28944         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28945         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28946         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28948 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28950         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28952 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28954         [BZ #17747]
28955         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28956         alias to weak alias for j0l, y0l.
28957         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28958         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28960         [BZ #17746]
28961         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28962         conversion.
28964 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28966         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28967         to zero if not already defined.
28969 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28971         [BZ #17724]
28972         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28973         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28974         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28975         (char *) casts added.
28976         * sysdeps/ieee754/k_standardf.c: New file.
28977         * sysdeps/ieee754/k_standardl.c: Likewise.
28978         * math/Makefile (libm-support): Remove k_standard.
28979         (libm-calls): Add k_standard.
28981 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28983         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28984         Optimize to avoid an unnecessary FPCR read.
28986 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28988         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28989         Optimize to reduce FPCR/FPSR accesses.
28991 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28993         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28994         Call libc_fetestexcept_aarch64.
28996 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28998         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28999         Call libc_fesetround_aarch64.
29001 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29003         [BZ #17733]
29004         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29005         (__bind): Do not define as weak alias.
29006         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29007         define.
29008         (__getsockname): Do not define as weak alias.
29010 2014-12-22  Will Newton  <will.newton@linaro.org>
29012         * manual/install.texi: Document that we require bison 2.7
29013         or above.
29014         * INSTALL: Regenerate.
29015         * configure.ac: Use AC_CHECK_PROG_VER instead of
29016         AC_PATH_PROG when checking for bison and check for
29017         version 2.7 or above.
29018         * configure: Regenerate.
29020 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29022         [BZ #17745]
29023         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29024         * sysdeps/tile/ffsll.c (ffsll): To here.
29026         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29028 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29030         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29031         if not defined.
29032         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29033         definition.
29034         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29035         hidden ___tls_get_addr.
29036         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29037         hidden __tls_get_addr.
29038         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29039         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29040         Likewise.
29042 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29044         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29045         _dl_init call.
29047 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29049         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29050         from "call _dl_init@PLT".
29051         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29053 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29055         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29056         guarantees.
29058 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29060         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29062 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29064         [BZ #17744]
29065         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29066         strnlen.
29068 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29070         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29071         of multu on MIPSr6.
29072         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29073         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29074         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29075         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29076         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29078 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29080         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29081         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29082         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29083         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29084         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29085         mips32r6/mips64r6.
29086         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29088 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29090         * string/strncat.c (STRNCAT): Simplify implementation.
29092 2014-12-19  David S. Miller  <davem@davemloft.net>
29094         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29095         access the quad as both a long double and as a series of 4 words.
29097         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29098         link_map->l_info array access.
29100 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29102         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29104         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29105         * math/atest-exp2.c (TIMEOUT): Likewise.
29106         * math/atest-sincos.c (TIMEOUT): Likewise.
29108 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29110         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29111         -Wno-error with -fno-builtin-lround.
29113 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29115         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29116         Contains futex constants and functions moved over from ...
29117         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29118         <lowlevellock-futex.h>.
29119         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29120         (lll_timedwait_tid): Add comments and parentheses around macro
29121         arguments.
29123 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29125         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29126         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29127         (__lll_private_flag): Remove.
29128         (lll_futex_wait): Likewise.
29129         (lll_futex_timed_wait): Likewise.
29130         (lll_futex_wake): Likewise.
29131         (lll_futex_requeue): Likewise.
29132         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29133         (__lll_timedwait_tid): Spell out argument names.
29134         (lll_timedwait_tid): Add comments and parentheses around macro
29135         arguments.
29136         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29137         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29139 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29141         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29142         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29144         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29145         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29146         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29147         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29148         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29149         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29154         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29155         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29156         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29157         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29158         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29159         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29161 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29163         * sysdeps/x86_64/x32/Makefile: New file.
29165 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29167         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29168         1L with (mp_limb_t) 1.
29170 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29172         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29173         * nptl/libc_pthread_init.c: ... here.
29174         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29175         * nptl/register-atfork.c: ... here.
29177         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29178         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29179         Use assert_perror to check its return value.
29180         (__gai_create_helper_thread): Likewise.
29182         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29184         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29186 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29188         [BZ #17725]
29189         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29190         __profil_counter.
29191         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29192         Likewise.
29193         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29194         Likewise.
29195         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29196         Likewise.
29197         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29198         (profil_counter): Likewise.
29199         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29200         (profil_counter): Likewise.
29201         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29202         Likewise.
29203         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29204         Likewise.
29205         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29206         (profil_counter): Likewise.
29207         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29208         Likewise.
29209         [!__profil_counter] (profil_counter): Define as weak alias of
29210         __profil_counter.
29211         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29212         (profil_counter): Rename to __profil_counter.
29213         [!__profil_counter] (profil_counter): Define as weak alias of
29214         __profil_counter.
29215         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29216         (profil_counter): Rename to __profil_counter.
29217         [!__profil_counter] (profil_counter): Define as weak alias of
29218         __profil_counter.
29219         * sysdeps/posix/profil.c: Update comment referring to
29220         profil_counter.
29221         (__profil): Use __profil_counter instead of profil_counter.
29222         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29223         __profil_counter.  Use __profil_counter_ushort and
29224         __profil_counter_uint in definitions.
29225         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29226         instead of profil_counter_uint and profil_counter_ushort.
29228         [BZ #17722]
29229         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29230         define as weak alias of __inet_makeaddr.
29231         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29232         as weak alias of __inet_addr.
29233         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29234         as weak alias of __inet_pton.  Use libc_hidden_weak.
29235         * include/arpa/inet.h (__inet_pton): Declare.  Use
29236         libc_hidden_proto.
29237         (inet_makeaddr): Don't use libc_hidden_proto.
29238         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29239         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29240         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29241         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29242         Remove variable.
29243         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29244         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29246 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29248         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29250 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29252         * stdio-common/bug-vfprintf-nargs.c (do_test):
29253         Cast value to intptr_t to avoid format warning
29254         for usage with PRIdPTR printing macro.
29256 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29258         * libio/tst-widetext.c (do_test):
29259         Use format type %td instead of %Zd for ptrdiff_t
29260         in order to avoid format warning.
29262 2014-12-17  Andreas Schwab  <schwab@suse.de>
29264         * nscd/mem.c (gc): Add size_t cast to match printf format.
29266 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29268         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29269         (init): Apply PTR_MANGLE to pointers before storing them.
29270         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29271         before using them.
29273 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29275         [BZ #17719]
29276         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29277         define as weak alias of __memrchr.
29278         (__memrchr): Do not define as strong alias of memrchr.
29279         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29280         Remove variable.
29281         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29282         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29283         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29285         [BZ #17717]
29286         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29287         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29288         (if_indextoname): Rename to __if_indextoname and define as weak
29289         alias of __if_indextoname.  Use libc_hidden_weak.
29290         (if_freenameindex): Rename to __if_freenameindex and define as
29291         weak alias of __if_freenameindex.
29292         (if_nameindex): Rename to __if_nameindex and define as weak alias
29293         of __if_nameindex.
29294         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29295         __if_nametoindex and define as weak alias of __if_nametoindex.
29296         Use libc_hidden_weak.
29297         (if_freenameindex): Rename to __if_freenameindex and define as
29298         weak alias of __if_freenameindex.
29299         (if_nameindex): Rename to __if_nameindex and define as weak alias
29300         of __if_nameindex.
29301         (if_indextoname): Rename to __if_indextoname and define as weak
29302         alias of __if_indextoname.  Use libc_hidden_weak.
29303         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29304         __if_nametoindex and define as weak alias of __if_nametoindex.
29305         Use libc_hidden_weak.
29306         (if_freenameindex): Rename to __if_freenameindex and define as
29307         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29308         (if_nameindex_netlink): Use __if_freenameindex instead of
29309         if_freenameindex.
29310         (if_nameindex): Rename to __if_nameindex and define as weak alias
29311         of __if_nameindex.  Use libc_hidden_weak.
29312         (if_indextoname): Rename to __if_indextoname and define as weak
29313         alias of __if_indextoname.  Use libc_hidden_weak.
29314         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29315         libc_hidden_proto.
29316         [!_ISOMAC] (__if_freenameindex): Likewise.
29317         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29318         if_nametoindex.
29319         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29320         variable.
29321         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29322         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29323         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29324         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29325         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29326         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29327         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29329         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29330         Remove variable.
29331         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29332         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29334 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29337         subscript above bounds'
29339         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29340         bounds.
29342 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29344         * libio/tst-fopenloc.c: Use test-skeleton.c.
29346         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29347         (entry): Rename to ITEM.
29348         (do_test, comp): Adjust.
29350         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29352 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29354         * string/tester.c: Include <libc-internal.h>.
29355         (test_memset): Ignore -Wmemset-transposed-args.
29357 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29359         * misc/tst-mntent2.c (do_test): Fix warning.
29361 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29363         * elf/tst-unique4lib.cc(a): Mark as used.
29365 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29367         [BZ #17630]
29368         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29369         names.
29371 2014-12-16  Allan McRae  <allan@archlinux.org>
29373         * stdio-common/Makefile (tests): Re-add bug26.
29375 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29377         [BZ #17657]
29378         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29379         static array.
29381 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29383         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29384         (__lll_lock_wait): Likewise.
29385         (__lll_timedlock_wait): Likewise.
29386         (__lll_timedwait_tid): Likewise.
29387         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29388         (__lll_robust_timedlock_wait): Likewise.
29389         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29390         (lll_cond_trylock): Likewise.
29391         (__lll_lock): Likewise.
29392         (__lll_robust_lock): Likewise.
29393         (__lll_cond_lock): Likewise.
29394         (lll_robust_cond_lock): Likewise.
29395         (__lll_timedlock): Likewise.
29396         (__lll_robust_timedlock): Likewise.
29397         (__lll_unlock): Likewise.
29398         (__lll_robust_unlock): Likewise.
29399         (lll_wait_tid): Likewise.
29400         (lll_timedwait_tid): Likewise.
29402 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29404         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29406 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29408         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29410 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29412         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29413         * stdio-common/tst-sprintf.c: Likewise.
29415 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29417         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29419 2014-12-15  Jeff Law  <law@redhat.com>
29421         [BZ #16617]
29422         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29423         on the heap.  (CVE-2012-3406)
29424         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29425         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29426         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29428 2014-12-15  Will Newton  <will.newton@linaro.org>
29430         * manual/install.texi: Bump required version of texinfo
29431         to 4.7 from 4.5.
29432         * INSTALL: Regenerated.
29433         * configure.ac: Check for makeinfo version 4.7 and above.
29434         * configure: Regenerated.
29436 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29438         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29439         PREFIX, string constant to insert between directory and name.
29440         * sysdeps/posix/shm_open.c: Update caller.
29441         * sysdeps/posix/shm_unlink.c: Likewise.
29442         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29443         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29444         (SEM_SHM_PREFIX): New macro.
29445         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29446         [$(have-thread-library) = no].
29447         * nptl/Makefile (libpthread-routines): Add shm-directory.
29448         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29449         * sysdeps/nptl/shm-directory.h: New file.
29450         * sysdeps/posix/shm-directory.c
29451         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29452         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29453         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29454         INTERNAL_SYSCALL.
29455         (__where_is_shmfs): Function removed.
29456         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29457         Variables removed.
29458         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29459         Use SHM_GET_NAME.
29460         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29462         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29463         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29464         unconditional for use inside libpthread.
29465         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29467 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29469         * nptl/pthread_getaffinity.c: New file.
29470         * nptl/pthread_setaffinity.c: New file.
29471         * nptl/pthread_getname.c: New file.
29472         * nptl/pthread_setname.c: New file.
29474         * nptl/pthread_create.c (START_THREAD_DEFN)
29475         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29477 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29480         * resolv/res_send.c (send_vc): Disable warning resplen may
29481         be used uninitialized.
29483 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29485         * nptl/tst-mutex6.c
29486         (ATTR_NULL): New define checks ATTR against NULL.
29487         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29488         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29490 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29492         [BZ #17581]
29493         * malloc/hooks.c
29494         (mem2mem_check): Revert my previous change.
29495         (malloc_check_get_size): Revert my previous change.
29496         (mem2chunk_check): Revert my previous change.
29498 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29500         * sysdeps/posix/shm-directory.c: New file.
29501         * sysdeps/posix/shm-directory.h: New file.
29502         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29503         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29504         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29505         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29506         Transmute EPERM to EACCES.
29507         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29508         from ...
29509         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29510         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29512 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29514         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29515         pointer and cast to uintptr_t.
29516         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29517         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29518         Add cast to avoid warning.
29519         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29521 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29523         * nptl/semaphore.h: Move to ...
29524         * sysdeps/pthread/semaphore.h: ... here.
29525         * Makefile (installed-headers): Change nptl/semaphore.h to
29526         sysdeps/pthread/semaphore.h.
29528 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29530         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29531         generated error format strings.
29533         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29534         -Wformat-extra-args warnings for scanf formats.
29535         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29536         test of zero-length format (duh).
29537         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29538         corner-case scanf format test.
29539         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29540         generated fprintf format string.
29541         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29542         corner-case sprintf format tests.
29543         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29544         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29545         -Wformat-extra-args warnings throughout.
29546         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29547         (CFLAGS-scanf4.c): Likewise.
29548         (CFLAGS-scanf7.c): Likewise.
29549         (CFLAGS-tst-sprintf.c): Likewise.
29550         (CFLAGS-tst-printf.c): Likewise.
29551         (CFLAGS-tst-printfsz.c): Likewise.
29553 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29555         * include/cpio.h: New file.
29556         * include/fmtmsg.h: Likewise.
29558         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29559         corresponding format argument to size_t.
29560         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29561         arguments.
29562         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29563         corresponding format argument to size_t.
29564         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29565         arguments.
29566         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29567         corresponding format argument to size_t.
29568         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29569         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29570         (CFLAGS-tst-mbswcs2.c): Likewise.
29571         (CFLAGS-tst-mbswcs3.c): Likewise.
29572         (CFLAGS-tst-mbswcs4.c): Likewise.
29573         (CFLAGS-tst-mbswcs5.c): Likewise.
29574         (CFLAGS-tst-trans.c): Likewise.
29576 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29578         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29579         rather than assuming they won't contain any '%'s.
29581 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29583         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29584         inhibit_loop_to_libcall to avoid recursive calls.
29585         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29586         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29588 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29590         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29591         prototype.
29593 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29595         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29596         integer value instead of boolean.
29598 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29600         * malloc/malloc.c: Fix powerof2 check.
29602 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29604         * locale/programs/locfile.h (maybe_swap_uint32):
29605         Remove inline and add unused attribute.
29607 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29609         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29610         Truncating assembler expression to a .long expression.
29612 2014-12-11  Andreas Schwab  <schwab@suse.de>
29614         * elf/rtld.c (struct map_args): Constify str member.
29615         (do_preload): Constify fname argument.
29617 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29619         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29620         constants definition.
29622 2014-12-11  Andreas Schwab  <schwab@suse.de>
29624         [BZ #16657]
29625         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29626         FORCE_ELISION instead of DO_ELISION.
29627         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29628         Remove.
29629         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29630         Likewise.
29632         * iconvdata/gconv-modules: Remove duplicate entry.
29634 2014-12-11  Will Newton  <will.newton@linaro.org>
29636         Merge gettext 0.19.3 into intl/.
29638         This involves a number of cosmetic changes to comments
29639         and ANSI function definitions and prototypes throughout
29640         all the files. The gettext copyright header is used but
29641         with the date ranges taken from the glibc copy.
29643         * NEWS: Add gettext merge to 2.21.
29644         * intl/bindtextdom.c: Switch to gettext copyright.
29645         Use ANSI definitions and prototypes.
29646         Use gl_* locking primitives rather than __libc_* ones.
29647         Use __builtin_expect rather than __glibc_likely/unlikely.
29648         * intl/dcgettext.c: Switch to gettext copyright.
29649         Use ANSI definitions and prototypes.
29650         * intl/dcigettext.c: Switch to gettext copyright.
29651         Use ANSI definitions and prototypes.
29652         (INTDIV0_RAISES_SIGFPE): New define.
29653         Use gl_* locking primitives rather than __libc_* ones.
29654         Include eval-plural.h instead of plural-eval.c.
29655         Use __builtin_expect rather than __glibc_likely/unlikely.
29656         * intl/dcngettext.c: Switch to gettext copyright.
29657         Use ANSI definitions and prototypes.
29658         * intl/dgettext.c: Likewise.
29659         * intl/dngettext.c: Likewise.
29660         * intl/plural-eval.c: Renamed to...
29661         * intl/eval-plural.h: ...this.
29662         * intl/explodename.c: Switch to gettext copyright.
29663         Use ANSI definitions and prototypes.
29664         (_nl_explode_name): Use strchr instead of __rawmemchr.
29665         * intl/finddomain.c: Switch to gettext copyright.
29666         Use ANSI definitions and prototypes.
29667         Use gl_* locking primitives rather than __libc_* ones.
29668         (_nl_find_domain): Use malloc rather than alloca for
29669         allocation of temporary locale name.
29670         * intl/gettext.c: Switch to gettext copyright.
29671         Use ANSI definitions and prototypes.
29672         * intl/gettextP.h: Switch to gettext copyright.
29673         Use ANSI definitions and prototypes.
29674         Use gl_* locking primitives rather than __libc_* ones.
29675         * intl/gmo.h: Switch to gettext copyright.
29676         (struct sysdep_string): Move struct segment_pair outside of
29677         struct definition.
29678         * intl/hash-string.c: Use ANSI definitions and prototypes.
29679         * intl/hash-string.h: Switch to gettext copyright.
29680         Use ANSI definitions and prototypes.
29681         * intl/l10nflist.c: Switch to gettext copyright.
29682         Use ANSI definitions and prototypes.
29683         (_nl_normalize_codeset): Avoid integer overflow.
29684         * intl/loadinfo.h: Switch to gettext copyright.
29685         Use ANSI definitions and prototypes.
29686         (LIBINTL_DLL_EXPORTED): New define.
29687         (PATH_SEPARATOR): New define.
29688         * intl/loadmsgcat.c: Switch to gettext copyright.
29689         * intl/localealias.c: Switch to gettext copyright.
29690         Use ANSI definitions and prototypes.
29691         (_nl_expand_alias): Use PATH_SEPARATOR.
29692         * intl/ngettext.c: Switch to gettext copyright.
29693         Use ANSI definitions and prototypes.
29694         * intl/plural-exp.c: Likewise.
29695         * intl/plural-exp.h: Switch to gettext copyright.
29696         Use ANSI definitions and prototypes.
29697         (struct expression): Move definition of enum operator outside
29698         of struct definition.
29699         * intl/plural.c: Regenerate.
29700         * intl/plural.y: Switch to gettext copyright.
29701         Use ANSI definitions and prototypes.
29702         Port to bison 3.0.
29703         * intl/textdomain.c: Switch to gettext copyright.
29704         Use ANSI definitions and prototypes.
29705         Use gl_* locking primitives rather than __libc_* ones.
29707 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29709         * debug/warning-nop.c: Add used atrribute.
29711 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29713         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29715         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29716         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29717         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29719 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29720             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29722         [BZ #17634]
29723         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29724         Undefine after defining function.  Define as weak alias of
29725         __wcschr.  Use libc_hidden_weak.
29726         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29727         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29728         (libc_hidden_def): Also define __GI___wcschr alias.
29729         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29730         __wcschr and define as weak alias of __wcschr.
29731         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29732         __wcschr.
29733         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29734         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29735         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29736         libc_hidden_weak.  Do not use libc_hidden_def.
29737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29738         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29739         __GI___wcschr alias.
29740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29741         [IS_IN (libc)] (wcschr): Define as macro expanding to
29742         __redirect_wcschr.
29743         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29744         [IS_IN (libc)] (__wcschr_power6): Likewise.
29745         [IS_IN (libc)] (__wcschr_power7): Likewise.
29746         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29747         instead of wcschr.
29748         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29749         __libc_wcschr.
29750         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29751         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29752         __wcschr and define as weak alias of __wcschr.  Use
29753         libc_hidden_builtin_def.
29754         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29755         as weak alias of __wcschr.  Use libc_hidden_weak.
29756         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29757         wcschr.
29758         * time/era.c (_nl_init_era_entries): Likewise.
29759         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29760         variable.
29761         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29762         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29764 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29766         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29767         format for long int variable.
29769 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29771         [BZ #10672]
29772         * manual/search.texi: (Array Sort Function): Remove claim how to make
29773         qsort stable.
29775 2014-12-10  Andreas Schwab  <schwab@suse.de>
29777         [BZ #12847]
29778         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29779         user-controlled locks.
29781 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29783         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29784         register.
29786 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29788         * configure.ac (--disable-werror): New configure option.
29789         (enable_werror): New AC_SUBST.
29790         * configure: Regenerated.
29791         * config.make.in (enable-werror): New variable.
29792         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29793         -Wno-error=undef.
29794         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29795         * manual/install.texi (Configuring and compiling): Document
29796         --disable-werror.
29797         * INSTALL: Regenerated.
29798         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29799         (CFLAGS-tst-chk2.c): Likewise.
29800         (CFLAGS-tst-chk3.c): Likewise.
29801         (CFLAGS-tst-chk4.cc): Likewise.
29802         (CFLAGS-tst-chk5.cc): Likewise.
29803         (CFLAGS-tst-chk6.cc): Likewise.
29804         (CFLAGS-tst-lfschk1.c): Likewise.
29805         (CFLAGS-tst-lfschk2.c): Likewise.
29806         (CFLAGS-tst-lfschk3.c): Likewise.
29807         (CFLAGS-tst-lfschk4.cc): Likewise.
29808         (CFLAGS-tst-lfschk5.cc): Likewise.
29809         (CFLAGS-tst-lfschk6.cc): Likewise.
29811         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29812         (main): Disable -Wdeprecated-declarations around calls to
29813         register_printf_function.
29815         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29816         (do_test): Disable -Wdiv-by-zero around some calls to
29817         fwrite_unlocked and fread_unlocked.
29819         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29820         (DIAG_POP_NEEDS_COMMENT): Likewise.
29821         (_DIAG_STR1): Likewise.
29822         (_DIAG_STR): Likewise.
29823         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29824         * stdio-common/bug21.c: Include <libc-internal.h>.
29825         (do_test): Disable -Wformat around call to sscanf.
29826         * stdio-common/scanf14.c: Include <libc-internal.h>.
29827         (main): Disable -Wformat around some calls to scanf functions.
29829 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29831         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29833 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29835         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29836         stack variable alignment.
29838 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29840         [BZ #17682]
29841         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29842         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29843         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29844         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29845         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29846         __getrlimit instead of getrlimit.
29847         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29848         __gettimeofday instead of gettimeofday.
29849         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29850         Likewise.
29851         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29852         Likewise.
29853         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29854         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29855         Remove variable.
29856         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29857         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29859 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29861         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29862         for wide-character tests.
29864 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29866         * io/openat64.c: #include <libc-internal.h>
29867         (__openat64): Prototypify.  Use ignore_value on MODE.
29868         * io/openat.c: Likewise.
29869         * misc/reboot.c: #include <libc-internal.h>
29870         (reboot): Prototypify.  Use ignore_value on HOWTO.
29871         * misc/ptrace.c: #include <libc-internal.h>
29872         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29874 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29876         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29877         XPG4, UNIX98 and XOPEN2K.
29878         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29879         Remove variable.
29880         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29882 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29884         * libio/fileops.c: Use ISO C style for function definitions.
29885         * libio/iofopen.c: Likewise.
29886         * libio/wfileops.c: Likewise.
29888         [BZ #17653]
29889         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29890         offset on EOF.
29891         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29892         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29893         (fgets_func): Function pointer to fgets and fgetws.
29894         (do_ftell_test): Add test to verify ftell value after read
29895         EOF.
29896         (do_test): Set fgets_func.
29898         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29899         O_TRUNC flag for w and w+ modes.
29900         (do_rewind_test): Likewise.
29901         (do_ftell_test): Likewise.
29902         (do_write_test): Likewise.
29904         [BZ #17647]
29905         * libio/fileops.c (do_ftell): Seek only when there are
29906         unflushed writes.
29907         * libio/wfileops.c (do_ftell_wide): Likewise.
29908         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29909         test case.
29910         (do_one_test): Call it.
29912 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29914         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29915         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29916         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29917         Remove variable.
29918         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29919         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29920         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29922 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29924         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29925         Remove variable.
29926         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29928         [BZ #17668]
29929         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29930         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29931         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29932         __freeifaddrs.  Use libc_hidden_weak.
29933         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29934         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29935         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29936         __freeifaddrs.  Use libc_hidden_weak.
29937         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29938         __getifaddrs and define as weak alias of __getifaddrs.  Use
29939         libc_hidden_weak.
29940         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29941         __freeifaddrs.  Use libc_hidden_weak.
29942         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29943         Remove variable.
29944         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29945         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29947 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29949         [BZ #17601]
29950         * sysdeps/mips/start.S (__start): Use indirect jump to call
29951         __libc_start_main.
29953 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29955         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29957         * nptl/tst-mutex1.c: Include <stdbool.h>.
29958         [!ATTR] (ATTR_NULL): New macro.
29959         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29960         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29961         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29963         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29964         to char *.
29966         [BZ #17665]
29967         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29968         Change conditional to [__USE_MISC].
29970         [BZ #17664]
29971         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29972         fgets_unlocked.
29973         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29974         __fgets_unlocked.
29975         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29976         fgets_unlocked.
29977         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29978         Remove variable.
29979         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29980         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29981         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29982         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29983         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29984         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29985         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29986         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29987         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29989         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29991 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29993         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29994         Remove strpbrk objects.
29995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29996         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29997         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29998         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29999         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30000         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30003         Remove strcspn objects.
30004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30005         (__libc_ifunc_impl_list): Remove strcspn implementation.
30006         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30007         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30008         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30009         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30012         Remove strspn objetcs.
30013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30014         (__libc_ifunc_impl_list): Remove strspn implementation.
30015         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30016         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30017         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30018         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30020 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30022         [BZ #17581]
30023         * malloc/hooks.c
30024         (mem2mem_check): Add a terminator to the chain of checking blocks.
30025         (malloc_check_get_size): Use it here.
30026         (mem2chunk_check): Ditto.
30028 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30030         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30031         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30033 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30035         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30037         * nptl/nptl-init.c: Include libc-internal.h.
30038         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30040         * elf/ldconfig.c (search_dir): Expand comment.
30042 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30044         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30045         variable.
30046         (linknamespace-symlist-stdlibs-tests): Likewise.
30047         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30048         instead of $(objpfx)symlist-stdlibs.
30049         (linknamespace-libs-isoc): New variable.
30050         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30051         (linknamespace-libs-ISO): New variable.
30052         (linknamespace-libs-ISO99): Likewise.
30053         (linknamespace-libs-ISO11): Likewise.
30054         (linknamespace-libs-XPG3): Likewise.
30055         (linknamespace-libs-XPG4): Likewise.
30056         (linknamespace-libs-POSIX): Likewise.
30057         (linknamespace-libs-UNIX98): Likewise.
30058         (linknamespace-libs-XOPEN2K): Likewise.
30059         (linknamespace-libs-POSIX2008): Likewise.
30060         (linknamespace-libs-XOPEN2K8): Likewise.
30061         ($(objpfx)symlist-stdlibs): Replace by
30062         $(linknamespace-symlist-stdlibs-tests).  Use
30063         $(linknamespace-libs-$*) as set of libraries.
30064         ($(linknamespace-header-tests)): Update dependencies.  Use
30065         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30066         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30067         * conform/linknamespace.pl: Remove comment about considering
30068         definitions of symbols from irrelevant libraries.
30070 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30072         [BZ #13862]
30073         * elf/dl-tls.c: Include <atomic.h>.
30074         (oom): Remove #ifdef SHARED/#endif.
30075         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30076         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30077         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30078         big enough.
30079         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30080         * nptl/Makefile (tests): Add tst-stack4.
30081         (modules-names): Add tst-stack4mod.
30082         ($(objpfx)tst-stack4): New.
30083         (tst-stack4mod.sos): Likewise.
30084         ($(objpfx)tst-stack4.out): Likewise.
30085         ($(tst-stack4mod.sos)): Likewise.
30086         (clean): Likewise.
30087         * nptl/tst-stack4.c: New file.
30088         * nptl/tst-stack4mod.c: Likewise.
30090 2014-11-27  J. Brown  <jb999@gmx.de>
30092         * sysdeps/x86/bits/string.h: Add recent CPUs.
30094 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30096         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30097         sigblock.
30099         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30100         feof.
30102         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30103         variable.
30105 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30107         * nscd/connections.c: Include libc-internal.h because of macro
30108         usage ignore_value.
30110 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30112         * string/bits/string3.h (__warn_memset_zero_len): Don't
30113         declare for gcc newer than 5.0.
30114         (memset): Don't test for zero-length __LEN for gcc newer than
30115         5.0.
30117 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30119         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30120         size_t for %zu format.
30122         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30123         difference, not %ju.
30125 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30127         * include/libc-internal.h (ignore_value): New macro.
30128         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30129         with ignore_value.
30131         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30132         definition.
30134         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30135         pthread_cleanup_push to void *.
30137         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30138         Undefine.
30140         [BZ #16619]
30141         [BZ #16740]
30142         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30143         instead of 1L << 52.
30145         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30146         * libio/bug-rewind2.c (do_test): Likewise.
30148         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30149         * debug/test-strcpy_chk-ifunc.c: Likewise.
30150         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30151         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30152         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30153         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30154         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30155         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30156         * Rules [$(multi-arch) = no] (tests): Do not filter out
30157         $(tests-ifunc).
30158         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30159         * debug/Makefile (tests-ifunc): Remove variable.
30160         (tests): Do not add $(tests-ifunc).
30161         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30162         (tests): Do not add $(tests-ifunc).
30163         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30164         [TEST_IFUNC]: Remove conditionals.
30165         * string/test-string.h (TEST_IFUNC): Remove macro.
30166         [TEST_IFUNC]: Remove conditionals.
30168         * string/test-strchr.c [!WIDE] (L): New macro.
30169         [WIDE] (L): Likewise.
30170         (check1): Use CHAR instead of char.  Use L on string and character
30171         constants.
30173 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30175         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30176         tests.
30177         * sysdeps/powerpc/bits/atomic.h
30178         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30179         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30180         (atomic_exchange_and_add_acq): Likewise.
30181         (atomic_exchange_and_add_rel): Likewise.
30182         * sysdeps/powerpc/powerpc32/bits/atomic.h
30183         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30184         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30185         * sysdeps/powerpc/powerpc64/bits/atomic.h
30186         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30187         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30189 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30191         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30192         Change synchronization of __sched_fifo_min_prio and
30193         __sched_fifo_max_prio.
30194         * nptl/pthread_mutexattr_getprioceiling.c
30195         (pthread_mutexattr_getprioceiling): Likewise.
30196         * nptl/pthread_mutexattr_setprioceiling.c
30197         (pthread_mutexattr_setprioceiling): Likewise.
30198         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30199         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30200         Likewise.
30202 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30204         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30205         void.
30207 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30209         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30210         third argument const.
30212 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30214         fnmatch: work around GCC compiler warning bug with uninit var
30215         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30216         This works around a bug with x86-64 GCC 4.9.2 and earlier
30217         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30218         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30219         used uninitialized in this function [-Wmaybe-uninitialized]".
30221 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30223         * posix/bug-regex31.c (main): Return RES not 0.
30225 2014-11-25  Anton Blanchard <anton@samba.org>
30227         * sysdeps/powerpc/bits/atomic.h
30228         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30230 2014-11-24  Sterling Augustine  <saugustine@google.com>
30232         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30234 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30236         [BZ #17608]
30237         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30239 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30241         [BZ #17633]
30242         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30243         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30244         variable.
30245         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30246         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30248 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30250         * string/strncpy.c (strncpy): Improve performance by using memset.
30252 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30254         * string/strcpy.c (strcpy):
30255         Improve performance by using strlen and memcpy.
30257 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30259         * string/strcoll_l.c (get_next_seq): __always_inline.
30260         * string/strcoll_l.c (do_compare): __always_inline.
30262 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30264         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30265         defined.
30266         * include/mqueue.h: Likewise.
30267         * include/stdlib.h: Likewise.
30269         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30270         (get_null_defines): Adjust.
30271         * sunrpc/Makefile: Adjust comment.
30272         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30273         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30274         (CFLAGS-interp.c): Likewise.
30275         (CFLAGS-ldconfig.c): Likewise.
30276         (CPPFLAGS-.os): Likewise.
30277         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30278         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30279         * extra-modules.mk (extra-modules.mk): Likewise.
30280         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30281         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30282         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30283         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30284         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30285         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30286         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30287         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30288         * iconvdata/Makefile (CPPFLAGS): Likewise.
30289         (cpp-srcs-left): Add libof for all iconvdata routines.
30290         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30291         * include/assert.h: Likewise.
30292         * include/ctype.h: Likewise.
30293         * include/errno.h: Likewise.
30294         * include/libc-symbols.h: Likewise.
30295         * include/math.h: Likewise.
30296         * include/netdb.h: Likewise.
30297         * include/resolv.h: Likewise.
30298         * include/stdio.h: Likewise.
30299         * include/stdlib.h: Likewise.
30300         * include/string.h: Likewise.
30301         * include/sys/stat.h: Likewise.
30302         * include/wctype.h: Likewise.
30303         * intl/l10nflist.c: Likewise.
30304         * libidn/idn-stub.c: Likewise.
30305         * libio/libioP.h: Likewise.
30306         * nptl/libc_multiple_threads.c: Likewise.
30307         * nptl/pthreadP.h: Likewise.
30308         * posix/regex_internal.h: Likewise.
30309         * resolv/res_hconf.c: Likewise.
30310         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30311         * sysdeps/arm/memmove.S: Likewise.
30312         * sysdeps/arm/sysdep.h: Likewise.
30313         * sysdeps/generic/_itoa.h: Likewise.
30314         * sysdeps/generic/symbol-hacks.h: Likewise.
30315         * sysdeps/gnu/errlist.awk: Likewise.
30316         * sysdeps/gnu/errlist.c: Likewise.
30317         * sysdeps/i386/i586/memcpy.S: Likewise.
30318         * sysdeps/i386/i586/memset.S: Likewise.
30319         * sysdeps/i386/i686/memcpy.S: Likewise.
30320         * sysdeps/i386/i686/memmove.S: Likewise.
30321         * sysdeps/i386/i686/mempcpy.S: Likewise.
30322         * sysdeps/i386/i686/memset.S: Likewise.
30323         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30324         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30325         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30326         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30327         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30333         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30340         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30345         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30361         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30370         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30375         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30378         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30381         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30384         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30385         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30386         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30387         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30388         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30389         * sysdeps/posix/closedir.c: Likewise.
30390         * sysdeps/posix/opendir.c: Likewise.
30391         * sysdeps/posix/readdir.c: Likewise.
30392         * sysdeps/posix/rewinddir.c: Likewise.
30393         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30394         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30395         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30396         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30397         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30398         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30399         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30404         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30405         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30406         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30409         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30410         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30412         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30413         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30414         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30415         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30416         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30429         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30430         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30431         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30432         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30433         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30435         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30437         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30438         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30439         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30440         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30441         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30442         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30443         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30444         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30447         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30450         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30451         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30452         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30453         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30454         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30455         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30456         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30457         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30458         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30459         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30460         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30461         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30462         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30463         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30464         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30465         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30466         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30467         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30469         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30470         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30471         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30472         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30473         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30474         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30475         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30477         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30478         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30479         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30480         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30481         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30482         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30483         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30484         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30485         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30488         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30489         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30490         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30491         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30492         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30493         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30494         * sysdeps/unix/alpha/sysdep.S: Likewise.
30495         * sysdeps/unix/alpha/sysdep.h: Likewise.
30496         * sysdeps/unix/make-syscalls.sh: Likewise.
30497         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30500         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30501         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30502         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30503         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30504         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30505         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30506         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30507         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30508         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30509         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30510         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30511         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30512         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30513         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30514         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30515         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30516         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30517         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30518         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30519         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30520         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30521         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30522         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30526         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30531         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30535         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30536         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30537         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30538         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30539         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30540         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30541         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30544         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30547         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30548         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30549         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30550         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30552         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30553         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30555         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30556         * sysdeps/x86_64/memcpy.S: Likewise.
30557         * sysdeps/x86_64/memmove.c: Likewise.
30558         * sysdeps/x86_64/memset.S: Likewise.
30559         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30560         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30561         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30562         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30563         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30564         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30566         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30567         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30568         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30569         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30570         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30571         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30572         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30573         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30574         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30576         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30577         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30578         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30579         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30580         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30581         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30582         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30583         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30584         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30585         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30586         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30587         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30588         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30589         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30590         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30591         * sysdeps/x86_64/strcmp.S: Likewise.
30593         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30595         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30596         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30597         * elf/rtld-Rules: Likewise.
30598         * elf/setup-vdso.h: Likewise.
30599         * include/assert.h: Likewise.
30600         * include/bits/stdlib-float.h: Likewise.
30601         * include/errno.h: Likewise.
30602         * include/sys/stat.h: Likewise.
30603         * include/unistd.h: Likewise.
30604         * sysdeps/aarch64/setjmp.S: Likewise.
30605         * sysdeps/alpha/setjmp.S: Likewise.
30606         * sysdeps/arm/__longjmp.S: Likewise.
30607         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30608         * sysdeps/arm/setjmp.S: Likewise.
30609         * sysdeps/arm/sysdep.h: Likewise.
30610         * sysdeps/generic/_itoa.h: Likewise.
30611         * sysdeps/generic/dl-sysdep.h: Likewise.
30612         * sysdeps/generic/ldsodefs.h: Likewise.
30613         * sysdeps/i386/dl-tls.h: Likewise.
30614         * sysdeps/i386/setjmp.S: Likewise.
30615         * sysdeps/m68k/setjmp.c: Likewise.
30616         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30617         * sysdeps/mach/hurd/opendir.c: Likewise.
30618         * sysdeps/posix/getcwd.c: Likewise.
30619         * sysdeps/posix/opendir.c: Likewise.
30620         * sysdeps/posix/profil.c: Likewise.
30621         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30622         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30623         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30624         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30625         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30626         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30627         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30628         * sysdeps/s390/dl-tls.h: Likewise.
30629         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30630         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30631         * sysdeps/sh/sh3/setjmp.S: Likewise.
30632         * sysdeps/sh/sh4/setjmp.S: Likewise.
30633         * sysdeps/unix/alpha/sysdep.h: Likewise.
30634         * sysdeps/unix/arm/sysdep.S: Likewise.
30635         * sysdeps/unix/i386/sysdep.S: Likewise.
30636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30637         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30638         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30641         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30642         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30643         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30644         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30645         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30646         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30647         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30648         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30651         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30655         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30656         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30659         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30660         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30664         * sysdeps/x86_64/setjmp.S: Likewise.
30666         * include/math.h: Use IS_IN instead of IS_IN_libm.
30667         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30671         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30679         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30681         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30684         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30687         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30688         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30689         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30690         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30691         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30692         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30694         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30695         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30696         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30697         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30698         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30699         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30701         Likewise.
30702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30703         Likewise.
30704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30705         Likewise.
30706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30707         Likewise.
30708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30709         Likewise.
30710         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30711         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30712         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30713         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30714         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30715         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30721         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30722         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30723         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30724         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30725         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30726         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30727         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30728         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30729         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30730         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30731         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30734         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30736         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30738         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30739         * nptl/pthreadP.h: Likewise.
30740         * nptl_db/structs.def: Likewise.
30741         * sysdeps/arm/sysdep.h: Likewise.
30742         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30743         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30744         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30745         * sysdeps/unix/alpha/sysdep.h: Likewise.
30746         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30748         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30749         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30750         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30751         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30752         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30753         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30754         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30755         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30756         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30757         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30758         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30759         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30764         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30767         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30768         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30769         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30770         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30771         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30773         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30774         * nptl/pthreadP.h: Likewise.
30775         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30776         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30777         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30778         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30779         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30780         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30781         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30782         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30783         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30784         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30785         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30786         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30788         Likewise.
30789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30790         Likewise.
30791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30792         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30793         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30796         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30797         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30798         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30800         * dlfcn/dladdr.c: Use IS_IN.
30801         * dlfcn/dladdr1.c: Likewise.
30802         * dlfcn/dlclose.c: Likewise.
30803         * dlfcn/dlerror.c: Likewise.
30804         * dlfcn/dlinfo.c: Likewise.
30805         * dlfcn/dlmopen.c: Likewise.
30806         * dlfcn/dlopen.c: Likewise.
30807         * dlfcn/dlsym.c: Likewise.
30808         * dlfcn/dlvsym.c: Likewise.
30810         * include/ifaddrs.h: Use IS_IN.
30811         * inet/check_pf.c: Likewise.
30812         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30813         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30815         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30816         IS_IN_ldconfig.
30817         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30818         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30820         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30821         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30822         IS_IN (libc).
30824         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30826         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30827         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30828         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30829         * include/libc-symbols.h (IS_IN_LIB): New macro.
30830         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30831         * include/netdb.h: Likewise.
30832         * include/stap-probe.h: Remove all uses of IN_LIB.
30834         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30835         instead of IN_MODULE.
30836         * include/libc-symbols.h (IN_MODULE): Define using
30837         MODULE_NAME.
30838         (PASTE_NAME, PASTE_NAME1): New macros.
30839         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30840         of IN_LIB.
30841         (STAP_PROBE_ASM): Likewise.
30843 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30845         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30846         __mach_init in dlopened libc.
30848 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30850         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30851         * sysdeps/arm/preconfigure: Regenerate.
30853 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30855         * nptl/pthread_create.c (__pthread_create_2_1): Set
30856         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30857         when copying values from IATTR into PD.
30859 2014-11-21  Will Newton  <will.newton@linaro.org>
30860             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30862         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30863         Refactor inline-asm.  Also add comment.
30865         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30866         ElfW macro instead of hardcoded Elf64 types.
30867         (la_aarch64_gnu_pltenter): Likewise.
30868         * sysdeps/aarch64/dl-machine.h
30869         (elf_machine_runtime_setup): Use ElfW(Addr).
30871         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30872         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30873         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30874         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30875         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30876         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30877         (R_AARCH64_TLS_DTPMOD): This.
30878         (R_AARCH64_TLS_DTPREL64): Rename to ...
30879         (R_AARCH64_TLS_DTPREL): This.
30880         (R_AARCH64_TLS_TPREL64): Rename to ...
30881         (R_AARCH64_TLS_TPREL): This.
30882         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30883         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30884         R_AARCH64_TLS_TPREL64.
30885         (elf_machine_rela): Likewise.
30887 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30889         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30890         by setting it to 0.  64b atomics are not supported currently.
30892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30894         [BZ #16469]
30895         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30896         search domain names.
30898 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30900         [BZ #16469]
30901         * NEWS: Update.
30902         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30903         trailing dot.
30904         * posix/tst-getaddrinfo5.c: New.
30905         * posix/Makefile (tests): Add it.
30907 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30909         [BZ #14498]
30910         * NEWS: Fixed.
30911         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30912         after parsing line but before break_if_match.
30913         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30914         if there is a protocol mismatch.
30916 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30918         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30919         because the potential race is on the user-supplied stream.
30921 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30923         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30924         string literal if not passed a buffer.
30925         * manual/job.texi (ctermid): Update reasoning, note deviation
30926         from posix, suggest mtasurace when not passed a buffer, for
30927         future non-preliminary safety notes.
30929 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30931         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30932         of not passing it a buffer.
30933         Reported by Peng Haitao.
30935 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30937         * manual/Makefile ($(objpfx)stamp-summary): Require
30938         check-safety.sh to pass.
30939         * manual/check-safety.sh: Wish for verification that every
30940         @deftypefn and @deftypefun is followed by a @safety remark.
30942 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30944         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30946         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30947         PTHREAD_CANCEL_ASYNCHRONOUS.
30948         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30949         send SIGCANCEL.
30951         * nptl/default-sched.h: New file.
30952         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30953         * nptl/pthread_create.c: Include it.
30954         (__pthread_create_2_1): Use collect_default_sched instead of making
30955         Linux syscalls here directly.
30957 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30959         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30960         __pthread_once): Use C11 atomics.
30962 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30964         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30966 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30968         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30969         atomic_thread_fence_acquire, atomic_thread_fence_release,
30970         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30971         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30972         atomic_compare_exchange_weak_relaxed,
30973         atomic_compare_exchange_weak_acquire,
30974         atomic_compare_exchange_weak_release,
30975         atomic_exchange_acquire, atomic_exchange_release,
30976         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30977         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30978         atomic_fetch_and_acquire,
30979         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30981 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30983         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30984         USE_ATOMIC_COMPILER_BUILTINS): Define.
30985         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30987         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30989         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30991         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30993         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30995         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30997         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30999         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31001         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31003         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31005         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31007         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31009         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31011         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31013         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31015         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31017         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31019         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31020         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31021         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31023         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31026 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31028         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31029         the sched_priority value here.  It was already checked when the user
31030         called pthread_attr_setschedparam.
31032         * nptl/tst-bad-schedattr.c: New file.
31033         * nptl/Makefile (tests): Add it.
31035 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31036             Florian Weimer  <fweimer@redhat.com>
31037             Joseph Myers  <joseph@codesourcery.com>
31038             Adam Conrad  <adconrad@0c3.net>
31039             Andreas Schwab  <schwab@suse.de>
31040             Brooks  <bmoses@google.com>
31042         [BZ #17625]
31043         * wordexp-test.c (__dso_handle): Add prototype.
31044         (__register_atfork): Likewise.
31045         (__app_register_atfork): New function.
31046         (registered_forks): New global.
31047         (register_fork): New function.
31048         (test_case): Add 3 new tests for WRDE_CMDSUB.
31049         (main): Call __app_register_atfork.
31050         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31051         fork count is non-zero fail the test.
31052         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31053         is set.
31054         (parse_dollars): Remove check for WRDE_NOCMD.
31055         (parse_dquote): Likewise.
31057 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31059         * Makeconfig (built-modules): List non-library modules to be
31060         built.
31061         (module-cppflags): Include libc-modules.h for
31062         everything except shlib-versions.v.i.
31063         (CPPFLAGS): Use it.
31064         (before-compile): Add libc-modules.h.
31065         ($(common-objpfx)libc-modules.h,
31066         $(common-objpfx)libc-modules.stmp): New targets.
31067         (common-generated): Add libc-modules.h and libc-modules.stmp.
31068         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31069         * include/libc-symbols.h: Don't include libc-modules.h.
31070         * include/libc-modules.h: Remove file.
31071         * scripts/gen-libc-modules.awk: New script to generate
31072         libc-modules.h.
31073         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31074         Depend on libc-modules.stmp.
31076         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31078         * Makeconfig (in-module): Get value of libof set for the
31079         translation unit.
31080         (CPPFLAGS): Use $(in-module).
31081         * Makerules: Don't suffix routine names for nonlib.
31082         * include/libc-modules.h: New file.
31083         * include/libc-symbols.h: Include libc-modules.h
31084         (IS_IN): New macro to replace IS_IN_* macros.
31085         * elf/Makefile: Set libof-* for each routine.
31086         * elf/rtld-Rules: Likewise.
31087         * extra-modules.mk: Likewise.
31088         * iconv/Makefile: Likewise.
31089         * iconvdata/Makefile: Likewise.
31090         * locale/Makefile: Likewise.
31091         * malloc/Makefile: Likewise.
31092         * nss/Makefile: Likewise.
31093         * sysdeps/gnu/Makefile: Likewise.
31094         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31095         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31096         * sysdeps/s390/s390-64/Makefile: Likewise.
31097         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31098         CPPFLAGS for nscd instead of nonlib.
31100 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31102         * nptl/createthread.c: New file.
31104         * nptl/createthread.c: Moved ...
31105         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31107         * nptl/createthread.c: Add proper top-line comment.
31108         (do_clone): Folded into ...
31109         (create_thread): ... here.  Take new arguments STOPPED_START and
31110         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31111         increment __nptl_threads, do event-reporting logic, do
31112         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31113         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31114         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31115         just send SIGCANCEL.
31116         * nptl/pthread_create.c: Forward-declare create_thread before
31117         including createthread.c.
31118         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31119         declaration, and new macro START_THREAD_SELF to replace argument.
31120         Remove return statement.
31121         (report_thread_creation): New function.
31122         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31123         synchronization logic, and __nptl_nthreads increment here, around
31124         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31125         PD->parent_cancelhandling here, before create_thread.  When
31126         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31127         __deallocate_stack, and ENOMEM translation here.
31129 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31131         [BZ #17616]
31132         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31133         (mptwo): Rename to __mptwo.
31134         (__inv): Use __mptwo instead of mptwo.
31135         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31136         (mptwo): Rename to __mptwo.
31137         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31138         of mpone and __mptwo instead of mptwo.
31139         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31140         instead of mpone.
31141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31142         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31143         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31144         of mpone and __mptwo instead of mptwo.
31145         (__mpranred): Use __mpone instead of mpone.
31146         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31147         variable.
31148         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31149         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31150         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31151         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31152         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31153         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31154         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31155         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31156         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31157         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31158         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31159         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31160         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31161         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31162         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31163         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31164         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31165         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31166         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31168 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31170         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31171         replace BSD Handler xref with BSD Signal Handling.
31173 2014-11-17  Richard Henderson  <rth@redhat.com>
31175         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31176         (_FP_PACK_RAW_2): Remove.
31177         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31178         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31179         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31180         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31181         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31182         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31183         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31184         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31185         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31186         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31187         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31188         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31189         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31190         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31191         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31192         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31194 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31196         * signal/signal.h [__USE_MISC]
31197         (struct sigvec): Remove type.
31198         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31199         (sigvec): Remove declaration.
31200         * sysdeps/posix/sigvec.c: Moved ...
31201         * signal/sigvec.c: ... here, replacing old file.
31202         (struct sigvec): New type, copied from old signal.h definition.
31203         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31204         (__sigvec): Convert definition to prototype.
31205         (sigvec): Replace weak_alias with compat_symbol.
31206         * signal/Versions (libc: GLIBC_2.21): New version set.
31207         * include/signal.h: Remove __sigvec declaration.
31208         * sysdeps/unix/bsd/sigvec.c: Remove file.
31209         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31210         * manual/signal.texi (BSD Handler): Remove subsection.
31211         Move siginterrupt up to ...
31212         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31213         (Blocking in BSD): Fold subsection into its parent.
31214         * NEWS: Mention sigvec removal.
31216 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31218         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31219         (DLA_FMS): Make definition conditional only on [__FMA4__].
31220         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31221         definition.
31223         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31224         Make definition conditional only on [PROF].
31225         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31226         definition.
31227         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31228         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31230         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31231         !__GNUC__].
31232         * include/signal.h (__sigpause): Move declaration above call to
31233         libc_hidden_proto.
31234         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31235         variable.
31236         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31237         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31239 2014-11-14  David S. Miller  <davem@davemloft.net>
31241         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31242         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31244 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31246         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31247         * configure: Regenerated.
31248         * manual/install.texi (Tools for Compilation): Document a
31249         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31250         compiler verified to work.
31251         * INSTALL: Regenerated.
31253         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31254         redeclare with asm name.
31255         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31256         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31257         including <string.h>.
31258         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31259         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31260         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31261         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31262         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31263         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31264         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31266 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31268         * stdlib/strtol.c (__strtol): Use prototype definition.
31270         [BZ #17594]
31271         * stdlib/strtol.c (SYM__): New macro.
31272         (SYM__1): Likewise.
31273         (__strtol): Likewise.
31274         (strtol): Rename to __strtol and define as weak alias of
31275         __strtol.  Use libc_hidden_weak.
31277 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31279         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31280         Use numbered labels in inline assembly.
31282 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31284         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31285         Add setjmp LIBC_PROBE.
31286         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31287         Likewise.
31288         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31289         Add longjmp, longjmp_target LIBC_PROBE.
31290         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31291         Likewise.
31293 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31295         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31296         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31297         to get rid of unused variable warning.
31299 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31301         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31302         Check for unwind_backtrace ==  NULL only in SHARED case.
31303         (__backchain_backtrace): Compile only in SHARED case.
31304         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31305         Likewise.
31306         (__backchain_backtrace): Declare as static.
31308 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31310         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31311         (__libc_multiple_threads_ptr): Variable moved ...
31312         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31314 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31316         * conform/GlibcConform.pm: New file.
31317         * conform/conformtest.pl: Use GlibcConform module.
31318         * conform/linknamespace.pl: New file.
31319         * conform/list-header-symbols.pl: Likewise.
31320         * conform/Makefile (linknamespace-symlists-base): New variable.
31321         (linknamespace-symlists-tests): Likewise.
31322         (linknamespace-header-base): Likewise.
31323         (linknamespace-header-tests): Likewise.
31324         (tests-special): Add new tests.
31325         ($(linknamespace-symlists-tests)): New rule.
31326         (linknamespace-libs): New variable.
31327         ($(objpfx)symlist-stdlibs): New rule.
31328         ($(linknamespace-header-tests)): Likewise.
31329         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31330         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31331         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31332         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31333         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31334         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31335         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31336         (test-xfail-ISO/math.h/linknamespace): Likewise.
31337         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31338         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31339         (test-xfail-ISO/time.h/linknamespace): Likewise.
31340         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31341         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31342         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31343         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31344         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31345         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31346         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31347         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31348         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31349         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31350         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31351         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31352         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31353         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31354         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31355         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31356         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31357         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31358         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31359         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31360         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31361         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31362         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31363         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31364         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31365         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31366         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31367         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31368         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31369         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31370         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31371         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31372         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31373         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31374         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31375         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31376         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31377         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31378         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31379         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31380         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31381         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31382         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31383         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31384         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31385         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31386         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31387         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31388         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31389         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31390         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31391         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31392         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31393         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31394         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31395         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31396         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31397         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31398         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31399         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31400         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31401         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31402         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31403         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31404         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31405         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31406         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31407         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31408         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31409         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31410         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31411         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31412         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31413         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31414         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31415         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31416         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31417         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31418         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31419         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31420         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31421         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31422         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31423         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31424         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31425         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31426         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31427         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31428         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31429         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31430         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31431         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31432         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31433         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31434         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31435         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31436         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31437         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31438         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31439         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31440         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31441         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31442         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31443         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31444         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31445         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31446         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31447         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31448         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31449         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31450         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31451         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31452         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31453         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31454         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31455         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31456         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31457         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31458         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31459         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31460         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31461         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31462         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31463         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31464         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31465         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31466         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31467         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31468         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31469         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31470         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31471         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31472         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31473         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31474         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31475         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31476         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31477         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31478         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31479         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31480         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31481         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31482         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31483         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31484         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31485         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31486         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31487         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31488         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31489         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31491         [BZ #17589]
31492         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31493         of fgets_unlocked.
31495         [BZ #17585]
31496         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31497         (memmem): Rename to __memmem and define as weak alias of
31498         __memmem.  Use libc_hidden_weak.
31499         (__memmem): Use libc_hidden_def.
31500         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31501         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31502         memmem.
31504         [BZ #17582]
31505         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31506         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31507         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31508         and define as weak alias of __fgets_unlocked.  Use
31509         libc_hidden_weak.
31510         (__fgets_unlocked): Use libc_hidden_def.
31511         * include/stdio.h (__fgets_unlocked): Declare.  Use
31512         libc_hidden_proto.
31513         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31514         __fgets_unlocked instead of fgets_unlocked.
31515         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31516         (GET_NPROCS_CONF_PARSER): Likewise.
31517         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31518         (GET_NPROCS_CONF_PARSER): Likewise.
31520         [BZ #17574]
31521         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31522         weak alias of __wmemset.  Use libc_hidden_weak.
31523         (__wmemset): Use libc_hidden_def.
31524         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31525         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31526         of wmemset.
31528         [BZ #17573]
31529         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31530         with asm name __mempcpy.
31531         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31533         [BZ #17572]
31534         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31535         and define as weak alias of __rawmemchr.
31536         (__rawmemchr): Do not define as strong alias of rawmemchr.
31538         [BZ #17571]
31539         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31540         alias of __qsort_r.
31541         (qsort): Call __qsort_r instead of qsort_r.
31542         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31543         (__qsort_r): Declare.  Call libc_hidden_proto.
31544         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31545         instead of qsort_r.
31546         * nscd/gai.c (__qsort_r): Define to qsort_r.
31547         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31548         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31549         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31551         [BZ #17570]
31552         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31553         define as weak alias of __malloc_info.
31555         [BZ #17584]
31556         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31557         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31558         (__rewinddir): Use libc_hidden_def.
31559         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31560         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31561         (__rewinddir): Use libc_hidden_def.
31562         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31563         weak alias of __rewinddir.  Don't use libc_hidden_def.
31564         (__rewinddir): Use libc_hidden_def.
31565         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31566         (__rewinddir): Use libc_hidden_proto.
31567         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31568         rewinddir.
31569         (__getcwd): Use __rewinddir instead of rewinddir.
31571         [BZ #17583]
31572         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31573         alias of __fileno.  Use libc_hidden_weak.
31574         (__fileno): Use libc_hidden_def.
31575         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31576         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31577         alias of __ftello.
31578         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31579         __ftello.
31580         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31581         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31582         libc_hidden_def.
31583         (fread_unlocked): Don't use libc_hidden_ver.
31584         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31585         and define as weak alias of __fread_unlocked.  Don't use
31586         libc_hidden_def.
31587         (__fread_unlocked): Use libc_hidden_def.
31588         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31589         (ftello): Don't use libc_hidden_proto.
31590         (__ftello): Declare.  Use libc_hidden_proto.
31591         (fread_unlocked): Don't use libc_hidden_proto.
31592         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31593         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31594         and __ftello instead of fileno, fread_unlocked and ftello.
31596 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31598         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31599         GOT12.
31600         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31601         Likewise.
31602         (_dl_start_user): Likewise.
31603         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31605 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31606             Siddhesh Poyarekar  <siddhesh@redhat.com>
31608         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31609         Move argv and envp down instead of moving argc up.
31610         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31612 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31614         [BZ #17506]
31615         * test-skeleton.c (main): Return successful if one of
31616         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31617         * string/tst-strcoll-overflow.c: Define expected status.
31619 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31621         [BZ #17475]
31622         * locale/iso-639.def: Define Bhili and Tulu language codes.
31624 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31626         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31628 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31630         [BZ #17555]
31631         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31633 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31635         * configure.ac: Updated check of minimal required version to
31636         2.22.
31637         * manual/install.texi (Tools for Compilation): Updated version
31638         number.
31639         * configure: Regenerated.
31640         * INSTALL: Likewise.
31642 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31644         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31645         __tls_get_addr.
31647 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31649         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31650         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31651         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31652         libc_hidden_weak.
31653         (waitpid): Define as alias of __waitpid.
31654         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31655         __waitpid.
31656         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31657         libc_hidden_weak.
31658         (waitpid): Define as alias of __waitpid.
31659         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31660         __libc_waitpid alias.
31661         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31662         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31663         Likewise.
31664         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31665         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31666         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31667         alias.
31668         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31669         __waitpid.
31670         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31671         libc_hidden_weak.
31672         (waitpid): Define as alias of __waitpid.
31674 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31676         * manual/llio.texi: Add comment that write safety has been
31677         fixed in Linux.
31679         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31680         (localplt-build-dso): Add elf/ld.so.
31681         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31682         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31683         and free for ld.so.
31684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31685         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31687         Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31689         Likewise.
31690         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31691         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31692         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31693         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31694         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31695         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31696         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31697         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31698         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31699         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31700         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31702 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31704         [BZ #14132]
31705         * include/libc-symbols.h (INTUSE): Remove macro.
31706         (INTDEF): Likewise.
31707         (INTVARDEF): Likewise.
31708         (_INTVARDEF): Likewise.
31709         (INTDEF2): Likewise.
31710         (INTVARDEF2): Likewise.
31711         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31712         rtld_hidden_def instead of INTVARDEF.
31713         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31714         (_dl_starting_up_internal): Remove declaration.
31715         (_dl_starting_up): Use rtld_hidden_proto.
31716         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31717         declaration.
31718         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31719         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31720         _dl_starting_up.
31721         * elf/dl-writev.h (_dl_writev): Likewise.
31722         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31723         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31724         _dl_starting_up_internal.
31726 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31728         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31729         test-skeleton.c.
31731 2014-11-05  Will Newton  <will.newton@linaro.org>
31733         * benchtests/Makefile: (bench-malloc): Add malloc thread
31734         scalability benchmark.
31735         * benchtests/bench-malloc-threads.c: New file.
31737 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31739         * sysdeps/aarch64/strchrnul.S: New file.
31741 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31743         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31744         definition.
31745         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31746         Likwise.
31747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31748         Likewise.
31749         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31750         Likewise.
31751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31752         Likewise.
31753         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31754         Likewise.
31756 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31758         * catgets/test-gencat.c: Use test-skeleton.c.
31759         * catgets/tst-catgets.c: Likewise.
31760         * csu/tst-empty.c: Likewise.
31761         * elf/tst-audit2.c: Likewise.
31762         * elf/tst-global1.c: Likewise.
31763         * elf/tst-pathopt.c: Likewise.
31764         * elf/tst-piemod1.c: Likewise.
31765         * elf/tst-tls10.c: Likewise.
31766         * elf/tst-tls11.c: Likewise.
31767         * elf/tst-tls12.c: Likewise.
31768         * gnulib/tst-gcc.c: Likewise.
31769         * iconvdata/tst-e2big.c: Likewise.
31770         * iconvdata/tst-loading.c: Likewise.
31771         * iconv/tst-iconv1.c: Likewise.
31772         * iconv/tst-iconv2.c: Likewise.
31773         * inet/test-inet6_opt.c: Likewise.
31774         * inet/tst-gethnm.c: Likewise.
31775         * inet/tst-network.c: Likewise.
31776         * inet/tst-ntoa.c: Likewise.
31777         * intl/tst-codeset.c: Likewise.
31778         * intl/tst-gettext2.c: Likewise.
31779         * intl/tst-gettext3.c: Likewise.
31780         * intl/tst-ngettext.c: Likewise.
31781         * intl/tst-translit.c: Likewise.
31782         * io/test-stat.c: Likewise.
31783         * libio/test-fmemopen.c: Likewise.
31784         * libio/tst-freopen.c: Likewise.
31785         * libio/tst-sscanf.c: Likewise.
31786         * libio/tst-ungetwc1.c: Likewise.
31787         * libio/tst-ungetwc2.c: Likewise.
31788         * libio/tst-widetext.c: Likewise.
31789         * localedata/tst-ctype.c: Likewise.
31790         * localedata/tst-digits.c: Likewise.
31791         * localedata/tst-leaks.c: Likewise.
31792         * localedata/tst-mbswcs1.c: Likewise.
31793         * localedata/tst-mbswcs2.c: Likewise.
31794         * localedata/tst-mbswcs3.c: Likewise.
31795         * localedata/tst-mbswcs4.c: Likewise.
31796         * localedata/tst-mbswcs5.c: Likewise.
31797         * localedata/tst-setlocale.c: Likewise.
31798         * localedata/tst-trans.c: Likewise.
31799         * localedata/tst-wctype.c: Likewise.
31800         * localedata/tst-xlocale1.c: Likewise.
31801         * login/tst-grantpt.c: Likewise.
31802         * malloc/tst-calloc.c: Likewise.
31803         * malloc/tst-malloc.c: Likewise.
31804         * malloc/tst-mallocstate.c: Likewise.
31805         * malloc/tst-mcheck.c: Likewise.
31806         * malloc/tst-mtrace.c: Likewise.
31807         * malloc/tst-obstack.c: Likewise.
31808         * math/atest-exp2.c: Likewise.
31809         * math/atest-exp.c: Likewise.
31810         * math/atest-sincos.c: Likewise.
31811         * math/test-matherr.c: Likewise.
31812         * math/test-misc.c: Likewise.
31813         * math/test-powl.c: Likewise.
31814         * math/tst-definitions.c: Likewise.
31815         * misc/tst-dirname.c: Likewise.
31816         * misc/tst-efgcvt.c: Likewise.
31817         * misc/tst-fdset.c: Likewise.
31818         * misc/tst-hsearch.c: Likewise.
31819         * misc/tst-mntent2.c: Likewise.
31820         * nptl/tst-sem7.c: Likewise.
31821         * nptl/tst-sem8.c: Likewise.
31822         * nptl/tst-sem9.c: Likewise.
31823         * nss/test-netdb.c: Likewise.
31824         * posix/tst-fnmatch.c: Likewise.
31825         * posix/tst-getlogin.c: Likewise.
31826         * posix/tst-gnuglob.c: Likewise.
31827         * posix/tst-mmap.c: Likewise.
31828         * pwd/tst-getpw.c: Likewise.
31829         * resolv/tst-inet_ntop.c: Likewise.
31830         * rt/tst-timer.c: Likewise.
31831         * stdio-common/test-fseek.c: Likewise.
31832         * stdio-common/test-popen.c: Likewise.
31833         * stdio-common/test-vfprintf.c: Likewise.
31834         * stdio-common/tst-cookie.c: Likewise.
31835         * stdio-common/tst-fileno.c: Likewise.
31836         * stdio-common/tst-gets.c: Likewise.
31837         * stdio-common/tst-obprintf.c: Likewise.
31838         * stdio-common/tst-perror.c: Likewise.
31839         * stdio-common/tst-sprintf2.c: Likewise.
31840         * stdio-common/tst-sprintf3.c: Likewise.
31841         * stdio-common/tst-sprintf.c: Likewise.
31842         * stdio-common/tst-swprintf.c: Likewise.
31843         * stdio-common/tst-tmpnam.c: Likewise.
31844         * stdio-common/tst-unbputc.c: Likewise.
31845         * stdio-common/tst-wc-printf.c: Likewise.
31846         * stdlib/tst-environ.c: Likewise.
31847         * stdlib/tst-fmtmsg.c: Likewise.
31848         * stdlib/tst-limits.c: Likewise.
31849         * stdlib/tst-rand48-2.c: Likewise.
31850         * stdlib/tst-rand48.c: Likewise.
31851         * stdlib/tst-random2.c: Likewise.
31852         * stdlib/tst-random.c: Likewise.
31853         * stdlib/tst-strtol.c: Likewise.
31854         * stdlib/tst-strtoll.c: Likewise.
31855         * stdlib/tst-tls-atexit.c: Likewise.
31856         * stdlib/tst-xpg-basename.c: Likewise.
31857         * string/test-ffs.c: Likewise.
31858         * string/tst-bswap.c: Likewise.
31859         * string/tst-inlcall.c: Likewise.
31860         * string/tst-strtok.c: Likewise.
31861         * string/tst-strxfrm.c: Likewise.
31862         * sysdeps/x86_64/tst-audit10.c: Likewise.
31863         * sysdeps/x86_64/tst-audit3.c: Likewise.
31864         * sysdeps/x86_64/tst-audit4.c: Likewise.
31865         * sysdeps/x86_64/tst-audit5.c: Likewise.
31866         * time/tst-ftime_l.c: Likewise.
31867         * time/tst-getdate.c: Likewise.
31868         * time/tst-mktime3.c: Likewise.
31869         * time/tst-mktime.c: Likewise.
31870         * time/tst-posixtz.c: Likewise.
31871         * time/tst-strptime2.c: Likewise.
31872         * time/tst-strptime3.c: Likewise.
31873         * wcsmbs/tst-btowc.c: Likewise.
31874         * wcsmbs/tst-mbrtowc.c: Likewise.
31875         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31876         * wcsmbs/tst-wchar-h.c: Likewise.
31877         * wcsmbs/tst-wcpncpy.c: Likewise.
31878         * wcsmbs/tst-wcrtomb.c: Likewise.
31879         * wcsmbs/tst-wcsnlen.c: Likewise.
31880         * wcsmbs/tst-wcstof.c: Likewise.
31882 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31884         [BZ #14132]
31885         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31886         INTDEF.
31887         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31888         declaration.
31889         (_dl_mcount): Use rtld_hidden_proto.
31890         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31891         _dl_mcount.
31892         * elf/rtld.c (_rtld_global_ro): Likewise.
31894         [BZ #14132]
31895         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31896         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31897         of _dl_init_internal.
31898         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31899         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31900         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31901         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31902         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31903         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31904         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31905         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31906         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31907         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31908         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31909         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31910         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31911         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31912         * sysdeps/tile/dl-start.S (_start): Likewise.
31913         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31914         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31916         [BZ #14132]
31917         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31918         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31919         (rtld_progname): Make macro definition unconditional.
31920         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31921         INTDEF.
31922         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31923         (dl_main): Likewise.
31924         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31925         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31926         instead of _dl_argv_internal.
31927         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31928         __GI__dl_argv instead of INTUSE(_dl_argv).
31929         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31930         __GI__dl_argv instead of _dl_argv_internal.
31932         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31933         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31934         macro.
31935         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31936         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31937         New macro.
31938         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31939         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31940         macro.
31941         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31942         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31944 2014-11-04  Andreas Schwab  <schwab@suse.de>
31946         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31948 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31950         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31951         mtvsrd instruction in binary form.
31953 2014-11-03  Andreas Schwab  <schwab@suse.de>
31955         [BZ #17522]
31956         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31957         for less than MB_LEN_MAX use a local buffer of that size.
31958         * libio/tst-fputws.c: New file.
31959         * libio/Makefile (tests): Add tst-fputws.
31961 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31963         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31964         the size of the fpu_fr.fpu_dregs[] array.
31966 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31968         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31969         (__nanosleep): Do not define as alias.
31970         (nanosleep): Define as alias of __nanosleep.
31971         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31972         __libc_nanosleep name.
31974 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31976         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31977         install.texi in comment.
31979 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31981         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31982         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31983         ... add here and use lwsync or sync ...
31984         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31985         ... and add here using lwsync.
31987 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31989         * elf/dl-machine-reject-phdr.h: New file.
31990         * elf/dl-load.c: #include that.
31991         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31992         if that returned true.
31994 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31996         [BZ #17496]
31997         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31998         gen-as-const-headers chunk.  Add a big scare comment after the last
31999         safe place to touch before-compile.
32001 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32003         * manual/install.texi (Tools for Compilation): Update autoconf
32004         version requirements.
32005         * INSTALL: Regenerated.
32007         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32008         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32009         (__libc_pselect): Likewise.
32011         [BZ #14138]
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32017 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32019         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32020         correct barrier instruction.
32021         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32022         Likewise.
32023         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32024         Likewise.
32026 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32028         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32029         after defining inlines.  Instead, just use parens to defeat macro
32030         expansion of __isctype in its declaration.
32032 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32034         * include/sys/uio.h (__libc_readv): Remove declaration.
32035         (__libc_writev): Likewise.
32036         * misc/readv.c (__libc_readv): Rename to __readv.
32037         (__readv): Do not define as alias.
32038         (readv): Define as alias of __readv.
32039         * misc/writev.c (__libc_writev): Rename to __writev.
32040         (__writev): Do not define as alias.
32041         (writev): Define as alias of __writev.
32042         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32043         (__readv): Do not define as alias.
32044         (readv): Define unconditionally as alias of __readv.
32045         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32046         (__writev): Do not define as alias.
32047         (writev): Define unconditionally as alias of __writev.
32048         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32049         name.
32050         (writev): Do not define __libc_writev name.
32052 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32054         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32055         (convert_charseq): New function, broken out of ...
32056         (use_from_charmap): ... here.  Call it.
32057         (use_to_charmap): Use convert_charseq and free instead of duplicating
32058         its code with a variable-length stack struct.
32060 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32062         * include/fcntl.h (__libc_creat): Remove declaration.
32063         * io/creat.c (__libc_creat): Rename to creat.
32064         (creat): Do not define as alias.
32065         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32066         of creat instead of __libc_creat.
32067         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32068         to creat.
32069         (creat): Do not define as alias.
32070         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32071         __libc_creat.
32072         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32073         __libc_creat name.
32074         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32075         Likewise.
32077 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32079         * manual/llio.texi: Add comments discussing why write() may be
32080         considered MT-unsafe on Linux.
32082 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32084         * dl-load.c (local_strdup): Remove.
32085         (expand_dynamic_string_token): Use __strdup.
32086         (decompose_rpath): Likewise.
32087         (_dl_map_object): Likewise.
32089 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32091         [BZ #14132]
32092         * sysdeps/generic/unwind-dw2-fde.c
32093         (__register_frame_info_bases_internal): Do not declare.
32094         (__register_frame_info_table_bases_internal): Likewise.
32095         (__deregister_frame_info_bases_internal): Likewise.
32096         (__register_frame_info_bases): Declare and use hidden_proto before
32097         definition.  Use hidden_def instead of INTDEF.
32098         (__register_frame_info_table_bases): Likewise.
32099         (__deregister_frame_info_bases): Likewise.
32100         (__register_frame_info): Do not use INTUSE.
32101         (__register_frame): Likewise.
32102         (__register_frame_info_table): Likewise.
32103         (__register_frame_table): Likewise.
32104         (__deregister_frame_info): Likewise.
32105         (__deregister_frame): Likewise.
32107 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32110         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32111         not undefine.
32112         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32113         Likewise.
32114         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32115         Likewise.
32117 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32119         [BZ #14138]
32120         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32121         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32122         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32123         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32124         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32125         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32126         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32127         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32128         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32129         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32130         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32131         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32132         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32133         syscall.
32134         (setfsuid): Likewise.
32135         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32136         (setfsuid): Likewise.
32137         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32138         (setfsuid): Likewise.
32139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32140         Likewise.
32141         (setfsuid): Likewise.
32142         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32143         (setfsuid): Likewise.
32144         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32145         Likewise.
32146         (setfsuid): Likewise.
32148 2014-10-27  Andreas Schwab  <schwab@suse.de>
32150         [BZ #17501]
32151         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32152         check for Slow_SSE4_2 feature bit.
32153         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32154         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32155         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32156         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32158 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32160         * configure.ac: Validate compiler version with a empirical test of
32161         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32162         $CC -v output.
32163         * configure: Regenerated.
32165         * inet/htons.c (htons): Prototypify.
32166         * inet/htonl.c (htonl): Likewise.
32168 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32170         * string/strncat.c (strncat): Improve performance by using strlen.
32172 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32174         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32176 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32178         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32179         Call libc_fetestexcept_aarch64.
32181 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32183         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32184         Call libc_feholdexcept_aarch64.
32186 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32188         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32189         Call get_rounding_mode.
32191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32193         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32194         Simplify logic.
32196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32198         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32199         Simplify logic.
32201 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32203         [BZ #14138]
32204         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32205         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32206         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32207         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32208         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32209         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32210         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32211         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32212         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32213         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32214         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32215         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32216         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32217         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32218         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32219         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32220         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32221         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32222         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32223         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32224         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32225         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32226         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32227         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32228         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32229         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32230         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32231         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32232         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32233         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32234         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32235         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32236         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32237         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32238         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32239         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32240         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32241         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32242         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32243         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32244         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32245         syscall.
32246         (geteuid): Likewise.
32247         (getgid): Likewise.
32248         (getuid): Likewise.
32249         (getresgid): Likewise.
32250         (getresuid): Likewise.
32251         (getgroups): Likewise.
32252         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32253         (geteuid): Likewise.
32254         (getgid): Likewise.
32255         (getuid): Likewise.
32256         (getresgid): Likewise.
32257         (getresuid): Likewise.
32258         (getgroups): Likewise.
32259         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32260         (geteuid): Likewise.
32261         (getgid): Likewise.
32262         (getuid): Likewise.
32263         (getresgid): Likewise.
32264         (getresuid): Likewise.
32265         (getgroups): Likewise.
32266         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32267         Likewise.
32268         (geteuid): Likewise.
32269         (getgid): Likewise.
32270         (getuid): Likewise.
32271         (getresgid): Likewise.
32272         (getresuid): Likewise.
32273         (getgroups): Likewise.
32274         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32275         (geteuid): Likewise.
32276         (getgid): Likewise.
32277         (getuid): Likewise.
32278         (getresgid): Likewise.
32279         (getresuid): Likewise.
32280         (getgroups): Likewise.
32281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32282         Likewise.
32283         (geteuid): Likewise.
32284         (getgid): Likewise.
32285         (getuid): Likewise.
32286         (getgroups): Likewise.
32288         [BZ #14138]
32289         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32290         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32291         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32292         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32293         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32294         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32295         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32296         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32297         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32298         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32299         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32300         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32301         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32302         __chown.
32303         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32304         (lchown): Likewise.
32305         (fchown): Likewise.
32306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32307         Likewise.
32308         (lchown): Likewise.
32309         (fchown): Likewise.
32310         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32311         (lchown): Likewise.
32312         (fchown): Likewise.
32313         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32314         Likewise.
32315         (lchown): Likewise.
32316         (fchown): Likewise.
32318 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32320         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32321         Simplify logic.
32323 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32325         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32326         Cleanup logic.
32328 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32330         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32331         Remove unused include.
32333 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32335         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32336         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32337         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32338         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32340 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32341             Helge Deller <deller@gmx.de>
32343         [BZ #17508]
32344         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32345         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32346         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32348 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #14132]
32351         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32352         Remove macro definition.
32353         (__ashrdi3_v_glibc20): Likewise.
32354         (__lshrdi3_v_glibc20): Likewise.
32355         (__cmpdi2_v_glibc20): Likewise.
32356         (__ucmpdi2_v_glibc20): Likewise.
32357         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32358         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32359         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32360         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32361         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32362         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32364 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32366         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32367         old GNU extension [0] syntax.
32368         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32369         alloca rather than an array member with variable length.
32370         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32371         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32372         (parse_opt): ... here.  Likewise use alloca there.
32373         Validate the -i argument before checking for rootness.
32374         (send_shutdown): New function, broken out of ...
32375         (parse_opt): ... here.
32377 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32379         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32380         macro to get at the _rt_local_ro field.
32381         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32382         ([PIC] case) or _dl_hwcap ([!PIC] case).
32383         * sysdeps/arm/setjmp.S: Likewise.
32385         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32386         * sysdeps/arm/configure.ac: New check to define it.
32387         * sysdeps/arm/configure: Regenerated.
32388         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32389         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32390         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32391         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32392         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32393         Use move/movt pair instead of a load.
32394         (LDST_GLOBAL): Macro removed.
32395         (LDR_GLOBAL): New macro replaces it.
32396         (LDR_HIDDEN): New macro.
32397         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32398         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32400         * setjmp/tst-setjmp-static.c: New file.
32401         * setjmp/Makefile (tests): Add it.
32402         (tests-static): New variable.
32404 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32406         [BZ #17485]
32407         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32409 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32411         [BZ #14132]
32412         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32414 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32416         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32418 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32420         * io/fts.c (dirent_not_directory): New function.
32421         (fts_build): Call it.
32423 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32425         * nptl/version.c (__nptl_main): Use normal __write rather than
32426         INTERNAL_SYSCALL.
32427         (banner): Update copyright years.
32429         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32430         gettimeofday.
32431         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32432         * nptl/pthread_cond_timedwait.c: Likewise.
32433         * nptl/pthread_mutex_timedlock.c: Likewise.
32434         * nptl/sem_timedwait.c: Likewise.
32436         * sysdeps/nptl/bits/libc-lock.h
32437         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32438         (__libc_lock_init_recursive): Return void, not 0.
32439         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32440         (__libc_rwlock_init): Likewise.
32441         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32443 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32445         [BZ #15215]
32446         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32447         (__pthread_once_slow): ... here.
32448         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32449         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32451 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32453         [BZ #15215]
32454         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32455         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32456         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32457         * nptl/pthread_once.c (__pthread_once): Likewise.
32458         Update comments.
32460 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32462         [BZ #14138]
32463         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32464         name.
32465         (writev): Use __libc_writev as strong name.
32466         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32467         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32469 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32471         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32473         * sysdeps/i386/nptl/tls.h
32474         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32475         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32476         New macros.
32477         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32478         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32479         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32480         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32481         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32482         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32484         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32485         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32486         on [__NR_futex].
32487         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32488         broken out of ...
32489         (__pthread_mutex_init): ... here.  Call it.
32490         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32491         Conditionalize PI cases on [__NR_futex].
32492         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32493         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32494         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32496         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32497         conditional on [SIGSETXID].
32498         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32499         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32500         is defined.  Likewise for SIGSETXID.
32501         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32502         Conditionalize definitions on [SIGSETXID].
32503         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32504         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32505         unblocking on [SIGCANCEL].
32507         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32508         [__NR_set_robust_list].
32510 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32512         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32513         (do_compare): Likewise.
32515 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32517         [BZ #15884]
32518         * string/strcoll_l.c: Don't include stdio.h.
32519         (coll_seq): Remove members idxarr and rulearr.
32520         (get_next_seq_cached): Remove function.
32521         (get_next_seq): Likewise.
32522         (get_next_seq_nocache): Rename to get_next_seq.
32523         (do_compare): Remove function.
32524         (do_compare_nocache): Rename to do_compare.
32525         (STRCOLL): Remove weight and rules cache.
32527 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32529         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32530         * sysdeps/arm/sfp-machine.h: ... to here.
32531         * sysdeps/arm/Implies: Remove arm/soft-fp.
32533 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32535         * conform/data/sys/utsname.h-data (*_t): Allow.
32536         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32537         [POSIX] (WEXITED): Do not expect constant.
32538         [POSIX] (WSTOPPED): Likewise.
32539         [POSIX] (WNOHANG): Likewise.
32540         [POSIX] (WNOWAIT): Likewise.
32541         [POSIX] (siginfo_t): Do not expect type or elements.
32542         [POSIX] (pid_t): Do not expect type.
32543         [POSIX] (signal.h): Do not allow header.
32544         [POSIX] (sys/resource.h): Likewise.
32545         [POSIX] (si_*): Do not allow pattern.
32546         [POSIX] (W*): Likewise.
32547         [POSIX] (P_*): Likewise.
32548         [POSIX] (BUS_*): Likewise.
32549         [POSIX] (CLD_*): Likewise.
32550         [POSIX] (FPE_*): Likewise.
32551         [POSIX] (ILL_*): Likewise.
32552         [POSIX] (POLL_*): Likewise.
32553         [POSIX] (SEGV_*): Likewise.
32554         [POSIX] (SI_*): Likewise.
32555         [POSIX] (TRAP_*): Likewise.
32556         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32557         variable.
32559 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32561         [BZ #12926]
32562         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32563         infinite loop when __recvmsg returns 0.
32565 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32567         * CANCEL-FCT-WAIVE: Remove file.
32568         * CANCEL-FILE-WAIVE: Likewise.
32570         [BZ #14132]
32571         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32572         instead of INTVARDEF.
32573         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32574         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32575         rtld_hidden_data_def instead of INTVARDEF.
32576         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32577         * elf/dl-deps.c (expand_dst): Likewise.
32578         * elf/dl-load.c (_dl_dst_count): Likewise.
32579         (_dl_dst_substitute): Likewise.
32580         (decompose_rpath): Likewise.
32581         (_dl_init_paths): Likewise.
32582         (open_path): Likewise.
32583         (_dl_map_object): Likewise.
32584         * elf/rtld.c (dl_main): Likewise.
32585         (process_dl_audit): Likewise.
32586         (process_envvars): Likewise.
32587         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32588         Remove declaration.
32589         (__libc_enable_secure): Use rtld_hidden_proto.
32591 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32593         * elf/dl-load.c
32594         (add_path): New function broken out of _dl_rtld_di_serinfo.
32595         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32597 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32599         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32600         parentheses around macro arguments.
32601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32612         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32615         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32616         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32617         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32619         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32630         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32633         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32634         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32635         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32636         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32637         Likewise.
32638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32645         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32648         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32649         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32650         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32659         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32662         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32663         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32664         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32665         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32666         (_FP_FRAC_SRS_1): Likewise.
32667         (_FP_FRAC_CLZ_1): Likewise.
32668         (_FP_MUL_MEAT_1_imm): Likewise.
32669         (_FP_MUL_MEAT_1_wide): Likewise.
32670         (_FP_MUL_MEAT_1_hard): Likewise.
32671         (_FP_SQRT_MEAT_1): Likewise.
32672         (_FP_FRAC_ASSEMBLE_1): Likewise.
32673         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32674         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32675         (__FP_CLZ_2): Likewise.
32676         (_FP_MUL_MEAT_2_wide): Likewise.
32677         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32678         (_FP_MUL_MEAT_2_gmp): Likewise.
32679         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32680         (_FP_SQRT_MEAT_2): Likewise.
32681         (_FP_FRAC_ASSEMBLE_2): Likewise.
32682         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32683         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32684         (_FP_FRAC_CLZ_4): Likewise.
32685         (_FP_MUL_MEAT_4_wide): Likewise.
32686         (_FP_MUL_MEAT_4_gmp): Likewise.
32687         (_FP_SQRT_MEAT_4): Likewise.
32688         (_FP_FRAC_ASSEMBLE_4): Likewise.
32689         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32690         * soft-fp/op-common.h (_FP_CMP): Likewise.
32691         (_FP_CMP_EQ): Likewise.
32692         (_FP_CMP_UNORD): Likewise.
32693         (_FP_TO_INT): Likewise.
32694         (_FP_FROM_INT): Likewise.
32695         [!__FP_CLZ] (__FP_CLZ): Likewise.
32696         (_FP_DIV_HELP_imm): Likewise.
32697         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32698         Likewise.
32699         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32708         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32710         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32712         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32713         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32714         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32715         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32717         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32726         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32728         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32730         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32731         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32732         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32733         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32734         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32735         (FP_UNPACK_RAW_SP): Likewise.
32736         (FP_PACK_RAW_S): Likewise.
32737         (FP_PACK_RAW_SP): Likewise.
32738         (FP_UNPACK_S): Likewise.
32739         (FP_UNPACK_SP): Likewise.
32740         (FP_UNPACK_SEMIRAW_S): Likewise.
32741         (FP_UNPACK_SEMIRAW_SP): Likewise.
32742         (FP_PACK_S): Likewise.
32743         (FP_PACK_SP): Likewise.
32744         (FP_PACK_SEMIRAW_S): Likewise.
32745         (FP_PACK_SEMIRAW_SP): Likewise.
32746         (_FP_SQRT_MEAT_S): Likewise.
32747         (FP_CMP_S): Likewise.
32748         (FP_CMP_EQ_S): Likewise.
32749         (FP_CMP_UNORD_S): Likewise.
32750         (FP_TO_INT_S): Likewise.
32751         (FP_FROM_INT_S): Likewise.
32753         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32755         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32756         (FP_EX_INVALID_IMZ): Likewise.
32757         (FP_EX_INVALID_IMZ_FMA): Likewise.
32758         (FP_EX_INVALID_ISI): Likewise.
32759         (FP_EX_INVALID_ZDZ): Likewise.
32760         (FP_EX_INVALID_IDI): Likewise.
32761         (FP_EX_INVALID_SQRT): Likewise.
32762         (FP_EX_INVALID_CVI): Likewise.
32763         (FP_EX_INVALID_VC): Likewise.
32764         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32765         "invalid" exceptions.
32766         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32767         (_FP_ADD_INTERNAL): Likewise.
32768         (_FP_MUL): Likewise.
32769         (_FP_FMA): Likewise.
32770         (_FP_DIV): Likewise.
32771         (_FP_CMP_CHECK_NAN): Likewise.
32772         (_FP_SQRT): Likewise.
32773         (_FP_TO_INT): Likewise.
32774         (FP_EXTEND): Likewise.
32776 2014-10-09  Allan McRae  <allan@archlinux.org>
32778         * po/fr.po: Update French translation from translation project.
32780 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32782         [BZ #14132]
32783         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32784         of INTDEF.
32785         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32786         (__cxa_atexit): Use libc_hidden_proto.
32787         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32789         [BZ #14132]
32790         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32791         declaration.
32792         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32793         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32794         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32795         [!_ISOMAC] (__iswctype_internal): Likewise.
32796         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32797         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32798         alias.
32799         (fcntl): Remove __fcntl_internal alias.
32800         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32801         __connect_internal alias.
32802         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32803         Likewise.
32805         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32806         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32807         FP_DENORM_ZERO.
32808         (_FP_CHECK_FLUSH_ZERO): New macro.
32809         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32810         (_FP_CMP): Likewise.
32811         (_FP_CMP_EQ): Likewise.
32812         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32813         FP_DENORM_ZERO.
32814         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32815         (FP_TRUNC): Likewise.
32817         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32818         treated as invalid conversion, not as normal exponent.
32820         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32821         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32822         (_FP_CMP_EQ): Likewise.
32823         (_FP_CMP_UNORD): Likewise.
32824         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32825         (FP_CMP_EQ_D): Likewise.
32826         (FP_CMP_UNORD_D): Likewise.
32827         * soft-fp/extended.h (FP_CMP_E): Likewise.
32828         (FP_CMP_EQ_E): Likewise.
32829         (FP_CMP_UNORD_E): Likewise.
32830         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32831         (FP_CMP_EQ_Q): Likewise.
32832         (FP_CMP_UNORD_Q): Likewise.
32833         * soft-fp/single.h (FP_CMP_S): Likewise.
32834         (FP_CMP_EQ_S): Likewise.
32835         (FP_CMP_UNORD_S): Likewise.
32836         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32837         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32838         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32839         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32840         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32841         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32842         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32843         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32844         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32845         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32846         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32847         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32848         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32849         to FP_CMP_Q.
32850         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32851         FP_CMP_Q.
32852         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32853         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32854         FP_CMP_EQ_Q.
32855         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32856         FP_CMP_Q.
32857         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32858         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32859         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32860         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32861         FP_CMP_EQ_Q.
32862         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32863         FP_CMP_Q.
32864         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32865         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32866         FP_CMP_EQ_Q.
32867         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32868         FP_CMP_Q.
32869         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32870         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32871         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32872         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32873         FP_CMP_EQ_Q.
32875         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32876         a subnormal result, set the underflow exception if trapping on
32877         underflow is enabled.
32878         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32879         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32880         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32881         redefine to 0.
32882         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32883         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32884         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32885         * soft-fp/extendxftf2.c (__extendxftf2): Use
32886         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32888         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32889         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32890         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32891         FP_HANDLE_EXCEPTIONS.
32892         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32893         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32894         FP_HANDLE_EXCEPTIONS.
32895         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32896         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32897         FP_HANDLE_EXCEPTIONS.
32898         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32899         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32900         FP_HANDLE_EXCEPTIONS.
32902 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32904         [BZ #14132]
32905         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32906         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32907         use INTUSE.
32908         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32909         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32910         Remove alias.
32911         (__adjtimex): Define using libc_hidden_ver.
32912         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32913         Remove declaration.
32914         (ntp_gettime): Call __adjtimex directly.
32915         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32916         Remove declaration.
32917         (ntp_gettimex): Call __adjtimex directly.
32918         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32919         __adjtimex_internal alias.
32921 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32923         [BZ #17460]
32924         * nscd/nscd.c (more_help): Rewrite list of tables collection
32925         using xstrdup and asprintf.
32927         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32929 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32930             Roland McGrath  <roland@hack.frob.com>
32932         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32933         (do_lookup_unique): ... local function 'enter' here; update callers.
32935 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32937         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32938         compat_symbol calls on [SHARED].
32939         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32940         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32941         Remove.
32942         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32943         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32944         (oldsetrlimit): Remove.
32945         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32947         (lchown): New syscall entry.
32948         (oldsetrlimit): Remove.
32949         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32951         (oldsetrlimit): Remove.
32952         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32954         [BZ #14138]
32955         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32956         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32957         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32958         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32959         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32960         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32961         (fchown): Likewise.
32962         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32963         (fchown): Likewise.
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32965         Likewise.
32967 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32969         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32970         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32971         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32972         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32973         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32974         Likewise.
32975         (__old_sem_post): Likewise.
32977 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32979         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32980         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32981         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32982         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32983         Use INLINE_VSYSCALL macro.
32984         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32985         __vdso_clock_gettime.
32986         * sysdeps/unix/sysv/linux/tile/init-first.c
32987         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32988         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32989         __vdso_clock_gettime.
32991         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32992         to set up frame more cleanly.
32994         * sysdeps/tile/memcmp.c: New file.
32996         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32998         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32999         * sysdeps/tile/tilegx/strcasestr.c: New file.
33000         * sysdeps/tile/tilegx/strnlen.c: New file.
33001         * sysdeps/tile/tilegx/strstr.c: New file.
33003         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33005 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33007         * nptl/tst-setuid3.c: Write errors to stdout.
33009 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33011         * elf/dl-deps.c
33012         (preload): New functions broken out of _dl_map_object_deps.
33013         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33015 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #14138]
33018         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33019         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33021 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33023         * sysdeps/mips/strcmp.S: New.
33025 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33027         [BZ #14138]
33028         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33029         (linkat): Likewise.
33030         (mkdirat): Likewise.
33031         (readlinkat): Likewise.
33032         (renameat): Likewise.
33033         (symlinkat): Likewise.
33034         (unlinkat): Likewise.
33035         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33036         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33037         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33038         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33039         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33040         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33041         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33043 2014-09-30  Will Newton  <will.newton@linaro.org>
33045         * math/math.h: Define long double math functions if
33046         _LIBC_TEST is defined.
33047         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33049         * localedata/Makefile: Move assignment to tests-special
33050         into an ifdef testing run-built-tests.
33051         * timezone/Makefile: Likewise.
33053 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33055         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33056         with $(BASH) not $(SHELL).
33058 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33059             Matthew LeGendre  <legendre1@llnl.gov>
33061         [BZ #17411]
33062         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33063         l_reloc_result.
33065 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33067         * stdio-common/printf_fp.c
33068         (hack_digit): New function, broken out of ...
33069         (__printf_fp): ... local function here.  Update call sites.
33070         hack_digit now takes an additional parameter that is a pointer
33071         to a struct of the referenced locals.  Those locals moved inside
33072         the struct and references updated.
33074 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33076         * aclocal.m4: Require autoconf 2.69.
33077         * configure: Regenerated.
33078         * sysdeps/aarch64/configure: Likewise.
33079         * sysdeps/alpha/configure: Likewise.
33080         * sysdeps/arm/armv7/configure: Likewise.
33081         * sysdeps/arm/configure: Likewise.
33082         * sysdeps/ia64/configure: Likewise.
33083         * sysdeps/mach/configure: Likewise.
33084         * sysdeps/mips/configure: Likewise.
33085         * sysdeps/s390/configure: Likewise.
33086         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33089         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33090         file.
33091         * sysdeps/ia64/configure.ac: Likewise.
33093 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33096         specify symbol version for ld.so.  Do not include entry for
33097         libpthread.
33098         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33099         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33100         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33102         [BZ #14171]
33103         * Makeconfig [$(build-shared) = yes]
33104         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33105         makefiles.
33106         [$(build-shared) = yes && $(soversions.mk-done) = t]
33107         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33108         [$(build-shared) = yes && $(soversions.mk-done) = t]
33109         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33110         to Makerules.
33111         [$(build-shared) = yes && $(soversions.mk-done) = t]
33112         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33113         here.
33114         [$(build-shared) = yes && $(soversions.mk-done) = t]
33115         (common-generated): Don't append gnu/lib-names.h and
33116         gnu/lib-names.stmp here.
33117         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33118         (lib-names-h-abi): New variable.
33119         [$(build-shared) = yes && $(soversions.mk-done) = t]
33120         (lib-names-stmp-abi): Likewise.
33121         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33122         abi-variants] (before-compile): Append
33123         $(common-objpfx)$(lib-names-h-abi).
33124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33125         abi-variants] (common-generated): Append gnu/lib-names.h.
33126         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33127         abi-variants] (install-others-nosubdir): Depend on
33128         $(inst_includedir)/$(lib-names-h-abi).
33129         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33130         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33131         [$(build-shared) = yes && $(soversions.mk-done) = t]
33132         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33133         [$(build-shared) = yes && $(soversions.mk-done) = t]
33134         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33135         [$(build-shared) = yes && $(soversions.mk-done) = t]
33136         (common-generated): Append $(lib-names-h-abi) and
33137         $(lib-names-stmp-abi).
33138         * scripts/lib-names.awk: Do not handle multi being set.
33139         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33140         Remove variable.
33141         (abi-lp64_be-ld-soname): Likewise.
33142         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33143         Likewise.
33144         (abi-hard-ld-soname): Likewise.
33145         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33146         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33147         Remove variable.
33148         (abi-o32_hard-ld-soname): Likewise.
33149         (abi-o32_soft_2008-ld-soname): Likewise.
33150         (abi-o32_hard_2008-ld-soname): Likewise.
33151         (abi-n32_soft-ld-soname): Likewise.
33152         (abi-n32_hard-ld-soname): Likewise.
33153         (abi-n32_soft_2008-ld-soname): Likewise.
33154         (abi-n32_hard_2008-ld-soname): Likewise.
33155         (abi-n64_soft-ld-soname): Likewise.
33156         (abi-n64_hard-ld-soname): Likewise.
33157         (abi-n64_soft_2008-ld-soname): Likewise.
33158         (abi-n64_hard_2008-ld-soname): Likewise.
33159         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33160         Likewise.
33161         (abi-64-v2-ld-soname): Likewise.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33163         ld.so entries.
33164         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33165         variable.
33166         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33167         entry.
33168         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33169         variable.
33170         (abi-64-ld-soname): Likewise.
33171         (abi-x32-ld-soname): Likewise.
33172         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33173         entry.
33174         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33176 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33178         [BZ #14138]
33179         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33180         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33181         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33183         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33184         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33185         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33186         syscall entry for GLIBC_2.2 symbol version.
33187         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33188         Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33190         (setrlimit): Likewise.
33191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33192         Likewise.
33194 2014-09-23  Will Newton  <will.newton@linaro.org>
33196         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33197         _LINUX_ARM_SYSDEP_H include guard too.
33198         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33199         define.
33201 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33203         * sysdeps/unix/sysv/linux/eventfd.c:
33204         Make first argument unsigned.
33205         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33206         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33208 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33210         [BZ #16852]
33211         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33212         * socket/sys/socket.h: Likewise.
33213         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33215 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33217         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33219 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33221         * time/tst-ftime.c: New test.
33222         * time/Makefile (tests): Add tst-ftime.
33224 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33226         * soft-fp/extended.h: Fix comment formatting.
33227         * soft-fp/op-1.h: Likewise.
33228         * soft-fp/op-2.h: Likewise.
33229         * soft-fp/op-4.h: Likewise.
33230         * soft-fp/op-8.h: Likewise.
33231         * soft-fp/op-common.h: Likewise.
33232         * soft-fp/soft-fp.h: Likewise.
33234         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33236 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33238         [BZ #6652]
33239         * Makeconfig (soversions-default-setname): Remove variable.
33240         ($(common-objpfx)soversions.i): Don't pass default_setname to
33241         soversions.awk.
33242         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33243         oldest_abi to abi-versions.awk.
33244         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33245         * config.make.in (oldest-abi): Remove variable.
33246         * configure.ac (--enable-oldest-abi): Remove configure option.
33247         * configure: Regenerated.
33248         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33249         text.
33250         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33251         * scripts/soversions.awk: Do not handle default_setname variable.
33252         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33253         variable.
33254         * sysdeps/mach/hurd/configure: Regenerated.
33255         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33256         variable.
33257         * sysdeps/unix/sysv/linux/configure: Regenerated.
33259 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * elf/Makefile (CFLAGS-interp.c): Remove.
33262         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33263         path string.
33264         * elf/interp.c: Include generated runtime-linker.h
33266         * Makerules (lib%.so): Don't include $(+interp) in
33267         prerequisites.
33268         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33269         * dlfcn/eval.c: Remove file.
33271         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33272         macros.
33274         [BZ #17266]
33275         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33276         4.2 and newer.
33278         [BZ #17370]
33279         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33281 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33282             Jakub Jelinek  <jakub@redhat.com>
33284         [BZ #17266]
33285         * libio/stdio.h: Check definition of __fortify_function
33286         instead of __extern_always_inline to include bits/stdio2.h.
33287         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33288         check if __extern_always_inline is defined.
33289         [__USE_MISC || __USE_XOPEN]: Likewise.
33290         [__USE_ISOC99] Likewise.
33291         * misc/sys/cdefs.h (__fortify_function): Define only if
33292         __extern_always_inline is defined.
33293         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33294         __extern_always_inline and __extern_inline only for g++-4.3
33295         and newer or a compatible gcc.
33297 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33299         [BZ #17371]
33300         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33301         last change to handle zero prefix length.
33303 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33305         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33306         _SC_REGEX_VERSION.
33308         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33309         _POSIX_RAW_SOCKETS.
33311 2014-09-13  Allan McRae  <allan@archlinux.org>
33313         * po/ru.po: Update Russian translation from translation project.
33315 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33317         * locale/programs/locale.c (show_locale_vars): Inline local function
33318         into its sole call site.  Clean up some style nits.
33319         (print_item): New function, broken out of ...
33320         (show_info): ... local function here.  Clean up style nits.
33322         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33323         out of ...
33324         (set_class_defaults): ... local function set_default here.
33325         Define set_default as a macro locally to pass constant parameters.
33326         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33327         rather than a shared local.
33329         * stdlib/rpmatch.c (try): New function, broken out of ...
33330         (rpmatch): ... local function here.  Also, prototypify definition.
33332 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33334         * scripts/soversions.awk: Do not handle configuration names.
33335         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33336         vendor and os variables to soversions.awk.
33337         * configure.ac: Do not modify gnu-* host_os.
33338         * configure: Regenerated
33339         * shlib-versions: Remove first column with configuration names.
33340         * nptl/shlib-versions: Likewise.
33341         * nptl_db/shlib-versions: Likewise.
33342         * sysdeps/hppa/shlib-versions: Likewise.
33343         * sysdeps/m68k/shlib-versions: Likewise.
33344         * sysdeps/mach/hurd/shlib-versions: Likewise.
33345         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33346         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33347         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33348         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33349         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33350         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33351         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33352         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33354         Likewise.
33355         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33356         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33357         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33358         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33359         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33360         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33361         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33362         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33365         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33367         Regenerated.
33368         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33370         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33372         * shlib-versions: Remove OS-specific entries.  Moved to files in
33373         sysdeps.
33374         * sysdeps/mach/hurd/shlib-versions: New file.
33375         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33377         * nptl/shlib-versions: Remove architecture-specific entries.
33378         Moved to files in sysdeps.
33379         * shlib-versions: Likewise.
33380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33381         file.
33382         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33383         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33384         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33385         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33387         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33388         (UDP_NO_CHECK6_RX): Likewise.
33390 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33392         * sysdeps/posix/sysconf.c (__sysconf): Spell
33393         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33395 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33397         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33398         loading.
33399         * iconv/Versions (__gconv_transliterate): Export for use from
33400         gconv modules.
33401         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33402         (struct __gconv_trans_data, __gconv_trans_fct,
33403         __gconv_trans_context_fct, __gconv_trans_query_fct,
33404         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33405         definitions.
33406         (struct __gconv_step_data): Remove __trans member.
33407         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33408         longer hidden.  Remove unused trans_data argument.
33409         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33410         (__gconv_translit_find): Remove declaration.
33411         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33412         prototype.
33413         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33414         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33415         trans_data argument.  Add hidden definition.
33416         (__gconv_translit_find): Remove.
33417         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33418         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33419         * iconv/skeleton.c: Remove transliteration initialization.
33420         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33421         __gconv_step_data initialization.
33422         * libio/iofwide.c (__libio_translit_): Remove.
33423         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33424         * wcsmbs/btowc.c (__btowc): Likewise.
33425         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33426         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33427         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33428         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33429         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33430         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33431         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33432         * wcsmbs/wctob.c (wctob): Likewise.
33434 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33436         [BZ #16194]
33437         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33438         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33439         register usage.
33440         * sysdeps/x86/Makefile: Adjust.
33442 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33443             Roland McGrath  <roland@hack.frob.com>
33445         * locale/weight.h: Add include guard.
33446         (findidx): Make static rather than auto; take new parameters
33447         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33448         * locale/weightwc.h: Likewise.
33449         * posix/fnmatch_loop.c
33450         (FCT): Change type of EXTRA from int32_t to wint_t.
33451         Don't include either header inside the function.
33452         Call FINDIDX rather than findidx, and pass new arguments.
33453         #undef FINDIDX at the end of the file.
33454         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33455         FINDIDX before including fnmatch_loop.c for the non-wide version.
33456         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33457         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33458         for the wide version.
33459         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33460         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33461         Pass new arguments to findidx.
33462         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33463         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33464         Don't #include it inside the function.  Pass new arguments to findidx.
33465         * posix/regex_internal.h
33466         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33467         (re_string_elem_size_at): Don't #include it inside the function.
33468         Pass new arguments to findidx.
33469         * string/strcoll_l.c: #include WEIGHT_H at top level.
33470         (get_next_seq): Don't #include it inside the function.
33471         Pass new arguments to findidx.
33472         (get_next_seq_nocache): Likewise.
33473         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33474         (STRXFRM): Don't #include it inside the function.
33475         Pass new arguments to findidx.
33477 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33479         [BZ #17344]
33480         * malloc/malloc.c (unlink): Turn asserts into a call to
33481         malloc_printerr.
33483 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33485         [BZ #17370]
33486         * libio/wfileops (do_ftell_wide): Free OUT.
33488 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33490         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33492 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33494         [BZ #17363]
33495         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33496         group if the current group is empty.
33498 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33500         * benchtests/bench-memset.c (test_main): Add more test from size
33501         from 32 to 512 bytes.
33502         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33503         Add POWER8 memset object.
33504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33505         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33506         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33507         implementation.
33508         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33509         Likewise.
33510         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33511         multiarch POWER8 memset optimization.
33512         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33513         POWER8 memset optimization.
33515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33516         Remove bzero multiarch objects.
33517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33518         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33519         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33520         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33521         Remove define.
33522         [__bzero]: Redefine to specific name.
33523         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33524         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33525         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33526         define.
33527         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33528         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33530 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33532         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33533         warnings into errors.
33535         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33536         __cxa_thread_atexit_impl prototype.
33538 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33540         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33541         Fix capitalization of error message.
33543 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33545         * sysdeps/mips/preconfigure: Modify ABI tests.
33547 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33549         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33551 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33552             Carlos O'Donell  <carlos@systemhalted.org>
33554         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33556         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33557         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33558         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33559         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33560         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33561         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33562         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33563         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33564         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33565         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33566         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33567         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33569         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33571         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33573         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33575         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33576         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33577         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33578         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33579         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33580         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33581         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33582         Deconditionalize the code that was previously under [RESET_PID].
33583         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33584         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33585         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33586         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33587         include sysdep.h.
33589 2014-09-08  Allan McRae  <allan@archlinux.org>
33591         * version.h (RELEASE): Set to "development".
33592         (VERSION): Set to "2.20.90"
33594 2014-09-07  Allan McRae  <allan@archlinux.org
33596         * version.h (RELEASE): Set to "stable".
33597         (VERSION): Set to "2.20"
33598         * include/features.h (__GLIBC_MINOR__): Set to 20.
33600         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33601         Liebler.
33603         * po/ko.po: Update Korean translation from translation project.
33605 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33607         [BZ #17354]
33608         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33609         macro for handling signed relocations.
33611 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33613         [BZ #17325]
33614         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33615         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33616         assert.
33617         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33618         * iconvdata/ibm935.c (BODY): Likewise.
33619         * iconvdata/ibm937.c (BODY): Likewise.
33620         * iconvdata/ibm939.c (BODY): Likewise.
33621         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33622         assert.
33623         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33624         script.
33625         * iconvdata/run-iconv-test.sh: New test loop for checking for
33626         decoder crashers.
33628 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33630         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33631         libm_hidden_ver.
33633 2014-09-01  Allan McRae  <allan@archlinux.org>
33635         * po/eo.po: Update Esperanto translation from translation project.
33637         * po/ca.po: Update Catalan translation from translation project.
33639 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33641         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33642         __proc_dostop call.
33644 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33646         [BZ #17319]
33647         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33648         to call set_thread_area instead of hand written asm.
33649         (__NR_set_thread_area): Removed define.
33650         (TLS_FLAG_WRITABLE): Likewise.
33651         (__ASSUME_SET_THREAD_AREA): Remove check.
33652         (TLS_EBX_ARG): Remove define.
33653         (TLS_LOAD_EBX): Likewise.
33655 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33657         Simplify atomicity of socket creation in bind.
33659         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33660         looking up the name after linking the file.
33662 2014-08-27  Allan McRae  <allan@archlinux.org>
33664         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33666 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33668         [BZ #17187]
33669         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33670         trans_compare, open_translit, __gconv_translit_find):
33671         Remove module loading code.
33673 2014-08-26  Allan McRae  <allan@archlinux.org>
33675         * po/vi.po: Update Vietnamese translation from translation project.
33677         * po/uk.po: Update Ukrainian translation from translation project.
33679         * po/fr.po: Update French translation from translation project.
33681         * po/ru.po: Update Russian translation from translation project.
33683         * po/pl.po: Update Polish translation from translation project.
33685         * po/cs.po: Update Czech translation from translation project.
33687         * po/de.po: Update German translation from translation project.
33689         * po/bg.po: Update Bulgarian translation from translation project.
33691         * po/sv.po: Update Sweedish translation from translation project.
33693         * po/nl.po: Update Dutch translation from translation project.
33695         * po/es.po: Update Spanish translation from translation project.
33697 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33699         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33701         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33702         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33703         (CPPFLAGS-iconvconfig): Likewise.
33704         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33706         * include/libc-symbols.h: Remove unnecessary check for
33707         NOT_IN_libc.
33708         * nptl/pthreadP.h: Likewise.
33709         * sysdeps/aarch64/setjmp.S: Likewise.
33710         * sysdeps/alpha/setjmp.S: Likewise.
33711         * sysdeps/arm/sysdep.h: Likewise.
33712         * sysdeps/i386/setjmp.S: Likewise.
33713         * sysdeps/m68k/setjmp.c: Likewise.
33714         * sysdeps/posix/getcwd.c: Likewise.
33715         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33716         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33717         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33718         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33719         * sysdeps/sh/sh3/setjmp.S: Likewise.
33720         * sysdeps/sh/sh4/setjmp.S: Likewise.
33721         * sysdeps/unix/alpha/sysdep.h: Likewise.
33722         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33723         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33724         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33725         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33730         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33733         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33735         * sysdeps/x86_64/setjmp.S: Likewise.
33737 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33739         [BZ #17263]
33740         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33741         <stdint.h>.
33742         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33743         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33745 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33747         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33749         [BZ #17262]
33750         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33751         and __x86_64__ when disabling x87 inline functions.
33753 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33755         [BZ #17259]
33756         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33757         asm statement with __cpuid_count.
33759 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33761         * configure.ac: Change __ehdr_start code to dereference the struct.
33762         Run readelf on the output to look for relocations.
33763         * configure: Regenerated.
33765 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33767         [BZ #17261]
33768         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33769         value to 0.
33770         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33772 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33774         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33776 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33778         [BZ #16892]
33779         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33780         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33782 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33784         * malloc/malloc.c: Fix typo in comment.
33786 2014-08-09  Allan McRae  <allan@archlinux.org>
33788         * Regenerate libc.po.
33790 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33792         * intl/tst-gettext2.sh: Check every lang file for creation.
33794 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33796         * sysdeps/aarch64/fpu/math_private.h
33797         (libc_feholdsetround_noex_aarch64_ctx): New function.
33799 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33801         * sysdeps/arm/armv6/strcpy.S (strcpy):
33802         Fix performance issue in misaligned cases.
33804 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33806         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33807         Move definition from termios.h.
33808         (struct termio): Likewise.
33809         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33810         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33811         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33812         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33813         Likewise.
33814         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33815         Move definition to ioctl-types.h
33816         (struct termio): Likewise.
33817         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33818         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33819         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33820         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33821         Likewise.
33823 2014-08-05  Richard Henderson  <rth@redhat.com>
33825         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33826         exceptions.
33827         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33828         Add fraiseexcpt.
33829         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33830         Use __feraiseexcept.
33831         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33832         Protect libm symbols with IS_IN_libm.
33834         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33836 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33838         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33840 2014-08-04  Will Newton  <will.newton@linaro.org>
33842         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33843         file.
33845 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33847         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33848         variants for each function.
33850 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33852         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33853         appended ...
33854         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33855         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33856         appended ...
33857         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33858         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33859         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33860         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33861         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33862         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33863         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33864         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33865         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33866         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33867         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33868         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33869         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33870         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33871         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33872         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33873         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33874         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33875         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33876         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33877         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33878         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33879         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33880         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33881         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33882         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33883         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33884         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33885         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33886         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33887         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33888         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33889         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33891         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33893         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33894         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33895         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33896         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33897         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33898         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33899         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33900         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33901         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33902         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33903         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33905         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33907         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33908         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33909         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33910         Update #include.
33911         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33912         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33914 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33916         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33917         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33918         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33919         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33920         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33921         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33923 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33925         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33926         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33927         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33928         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33930 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33932         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33933         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33934         (__libc_vfork): Define function under this name.
33935         (__vfork): Define as an alias.
33936         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33937         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33939 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33941         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33942         that was previously under [RESET_PID].
33943         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33945 2014-08-04  Andreas Schwab  <schwab@suse.de>
33947         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33949 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33951         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33952         (main): Likewise.
33954 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33956         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33958 2014-08-01  Richard Henderon  <rth@redhat.com>
33960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33961         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33962         typo in exact zero test.
33963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33967 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33969         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33970         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33971         * sysdeps/arm/sysdep.h: ... here.
33972         [!__ASSEMBLER__]: Include <stdint.h>.
33974 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33976         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33977         (HAVE_WCTYPE_H): Likewise.
33978         (HAVE_ISWCTYPE): Likewise.
33979         (ENABLE_NLS): Likewise.
33980         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33981         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33983         * posix/regex_internal.c: Check if DEBUG is defined and is
33984         set.
33986         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33987         (HAVE_MBSRTOWCS): Likewise.
33988         * posix/fnmatch.c: Include string.h unconditionally.
33990 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33992         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33993         reversal.
33995 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33997         * sysdeps/generic/safe-fatal.h: New file.
33998         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33999         * nptl/forward.c: Include it.
34000         (__pthread_unwind): Use __safe_fatal as default action, rather
34001         than a bogus use of INTERNAL_SYSCALL that could never work.
34003         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34004         * configure.ac (libc_cv_builtin_trap): New test.
34005         * configure: Regenerated.
34006         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34007         (ABORT_INSTRUCTION): Define using __builtin_trap.
34009         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34010         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34011         * sysdeps/nptl/nptl-signals.h: New file.
34012         * nptl/pthreadP.h: Include <nptl-signals.h>.
34014 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34016         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34017         (ONE_DIRECTION): Define.
34018         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34019         (ONE_DIRECTION): Define.
34020         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34021         (ONE_DIRECTION): Define.
34023 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34025         * sysdeps/s390/Makefile: Delete file.
34026         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34027         * sysdeps/s390/__longjmp.c: Delete file.
34028         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34029         Remove fields __flags and __reserved.
34030         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34031         and add versioning.
34032         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34033         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34034         * sysdeps/s390/rtld-setjmp.S: Likewise.
34035         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34036         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34037         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34038         * sysdeps/s390/s390-32/setjmp.S: ... here.
34039         Add versioning.
34040         (__sigsetjmp): Remove setting __flags field.
34041         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34042         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34043         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34044         * sysdeps/s390/s390-64/setjmp.S: ... here.
34045         Add versioning.
34046         (__sigsetjmp): Remove setting __flags field.
34047         * sysdeps/s390/setjmp.S: Delete file.
34048         * sysdeps/s390/sigjmp.c: Likewise.
34049         * sysdeps/s390/v1-longjmp.c: Likewise.
34050         * sysdeps/s390/v1-setjmp.h: Likewise.
34051         * sysdeps/s390/v1-sigjmp.c: Likewise.
34052         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34053         Remove v1-longjmp_chk.
34054         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34055         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34056         Include debug/longjmp_chk.c and add versioning.
34057         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34058         Include nptl/pt-longjmp.c and add versioning.
34059         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34060         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34061         Include __longjmp.c.
34062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34063         Move to ...
34064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34065         (__getcontext): Remove setting __flags field.
34066         Add versioning.
34067         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34068         Don't restore upper high grps.
34069         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34070         Likewise.
34071         (__swapcontext): Remove setting uc_flags field.
34072         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34073         Delete file.
34074         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34075         Include __longjmp.c.
34076         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34077         Move to ...
34078         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34079         (__getcontext): Remove setting __flags field.
34080         Add versioning.
34081         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34082         (__swapcontext): Remove setting uc_flags field.
34083         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34084         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34085         Remove fields uc_high_gprs and __reserved.
34086         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34087         New file with reverted content.
34088         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34089         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34090         Regenerated.
34091         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34092         Regenerated.
34094 2014-07-31  Andreas Schwab  <schwab@suse.de>
34096         * config.h.in (HAVE_IFUNC): Define to 0.
34097         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34098         definedness.
34100 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34103         memmove-avx-unaligned, memcpy-avx-unaligned and
34104         mempcpy-avx-unaligned.
34105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34106         Add tests for AVX memcpy functions.
34107         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34109         memcpy_chk.
34110         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34111         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34112         memmove_chk.
34113         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34114         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34115         mempcpy_chk.
34116         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34117         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34118         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34120 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34122         [BZ #17213]
34123         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34124         powerpc64le.
34126 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34128         [BZ #16839]
34129         * manual/llio.texi: Add section about open file description locks.
34130         * manual/examples/ofdlocks.c: Example of open file description
34131         lock usage.
34132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34133         F_OFD_SETLK, and F_OFD_SETLKW.
34135 2014-07-23  Allan McRae  <allan@archlinux.org>
34137         * po/es.po: Update Spanish translation from translation project.
34139 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34141         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34143 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34145         [BZ #17078]
34146         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34147         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34148         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34150 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34152         [BZ #17088]
34153         * math/fesetenv.c (__fesetenv)
34154         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34155         * math/feupdateenv.c (__feupdateenv)
34156         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34158         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34159         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34160         (__ASSUME_SOCKETCALL): Do not define.
34162         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34163         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34164         (__ASSUME_SOCKETCALL): Do not define.
34165         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34166         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34167         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34168         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34169         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34170         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34171         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34172         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34174         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34175         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34176         (__ASSUME_SOCKETCALL): Do not define.
34177         (__ASSUME_IPC64): Define unconditionally.
34178         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34179         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34180         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34182         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34183         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34184         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34185         Likewise.
34187         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34188         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34189         (__ASSUME_SOCKETCALL): Do not define.
34190         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34191         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34192         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34193         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34194         (__ASSUME_REQUEUE_PI): Define unconditionally.
34195         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34196         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34197         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34198         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34199         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34200         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34202         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34203         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34204         (__ASSUME_SOCKETCALL): Do not define.
34205         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34206         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34207         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34208         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34209         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34210         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34212         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34213         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34214         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34215         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34217         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34218         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34219         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34220         (__ASSUME_GETCPU_SYSCALL): Likewise.
34222         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34223         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34224         cases for individual architectures.
34225         * sysdeps/gnu/configure: Regenerated.
34226         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34227         LIBC_SLIBDIR_RTLDDIR.
34228         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34229         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34230         LIBC_SLIBDIR_RTLDDIR.
34231         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34233         LIBC_SLIBDIR_RTLDDIR.
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34235         Regenerated.
34236         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34237         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34238         file.
34239         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34240         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34241         file.
34242         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34243         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34245         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34247         * sysdeps/aarch64/shlib-versions: Move to ...
34248         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34249         * sysdeps/alpha/shlib-versions: Move to ...
34250         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34251         * sysdeps/arm/shlib-versions: Move to ...
34252         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34253         * sysdeps/hppa/shlib-versions: Move all contents except for
34254         libgcc_s entry to ...
34255         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34256         entry from ...
34257         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34258         * sysdeps/ia64/shlib-versions: Move to ...
34259         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34260         entry from ...
34261         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34262         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34263         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34264         * sysdeps/microblaze/shlib-versions: Move to ...
34265         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34266         * sysdeps/mips/shlib-versions: Move to ...
34267         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34268         entry from ...
34269         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34270         * sysdeps/tile/shlib-versions: Move to ...
34271         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34272         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34273         from ...
34274         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34275         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34276         entry from ...
34277         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34279 2014-07-17  Will Newton  <will.newton@linaro.org>
34281         * sysdeps/arm/bits/atomic.h
34282         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34283         (__arch_compare_and_exchange_bool_16_int): Likewise.
34284         (__arch_compare_and_exchange_bool_64_int): Likewise.
34286         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34287         into an #else block.
34289 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34291         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34292         just Linux configurations.  Test empirically that the compiler sets
34293         __ARM_EABI__, rather than using the tuple to decide.
34294         * sysdeps/arm/preconfigure: Regenerated.
34295         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34296         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34297         contents appended ...
34298         * sysdeps/arm/configure.ac: ... here.
34299         * sysdeps/arm/configure: Regenerated.
34301 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34303         * nptl/pthread_kill.c: New file.
34304         * nptl/pthread_sigmask.c: New file.
34305         * nptl/pthread_sigqueue.c: New file.
34307         * sysdeps/nptl/lowlevellock.h: New file.
34308         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34309         * sysdeps/nptl/lowlevellock-futex.h: New file.
34311         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34312         Remove dead declarations.
34314 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34316         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34317         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34318         config-cflags-avx2.
34319         * sysdeps/x86_64/configure.ac: Likewise.
34320         * sysdeps/i386/configure: Regenerated.
34321         * sysdeps/x86_64/configure: Likewise.
34322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34323         memset-avx2 only if config-cflags-avx2 is yes.
34324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34325         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34326         defined.
34327         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34328         only if HAVE_AVX2_SUPPORT is defined.
34329         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34331 2014-07-14  Alan Modra  <amodra@gmail.com>
34333         [BZ #17153]
34334         * elf/elf.h (DT_PPC64_NUM): Correct value.
34335         * NEWS: Add to fixed bug list.
34337 2014-07-13  Jim Meyering  <meyering@fb.com>
34339         [BZ 17150]
34340         regex: don't deref NULL upon heap allocation failure
34341         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34342         failure in one more place.
34343         To trigger the segfault, configure grep -with-included-regex,
34344         build it, and run these commands:
34345         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34347 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34349         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34351 2014-07-11  Richard Henderson  <rth@redhat.com>
34353         * sysdeps/aarch64/libm-test-ulps: Update.
34355 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34357         [BZ #17135]
34358         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34359         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34360         (__nptl_setxid): Initialize error member.  Call
34361         __nptl_setxid_error.
34362         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34363         * nptl/descr.h (struct xid_command): Add error member.
34364         * nptl/tst-setuid3.c: New file.
34365         * nptl/Makefile (tests): Add it.
34367 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34369         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34370         New define.
34371         (__lll_trylock): Use __lll_base_trylock.
34372         (__lll_cond_trylock): Likewise.
34374 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34376         * nptl/pthread_create.c (start_thread): Use atomic_or and
34377         lll_futex_wake directly rather than lll_robust_dead.
34378         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34379         (lll_robust_dead): Macro removed.
34380         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34381         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34382         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34385         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34386         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34387         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34388         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34391         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34392         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34394         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34396         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34397         Use atomic_compare_and_exchange_val_acq directly rather than
34398         lll_robust_trylock.
34399         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34400         (__lll_robust_trylock, lll_robust_trylock): Removed.
34401         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34402         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34403         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34404         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34405         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34406         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34407         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34408         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34409         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34410         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34411         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34412         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34413         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34414         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34416 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34418         * manual/locale.texi (Locale Names): New section documenting
34419         locale name syntax.  Adjust menu and node chaining accordingly.
34420         (Choosing Locale): Reference Locale Names, Locale Categories.
34421         Mention setting LC_ALL=C.  Reflect that name syntax is now
34422         documented.
34423         (Locale Categories): New section title.  Reference Locale Names.
34424         LC_ALL is an environment variable, but not a category.
34425         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34426         description, now in Locale Name.  Reference that section.  Locale
34427         name syntax is now documented.
34429 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34431         [BZ #17137]
34432         * locale/findlocale.c (name_present, valid_locale_name): New
34433         functions.
34434         (_nl_find_locale): Use the loc_name variable to store name
34435         candidates.  Call name_present and valid_locale_name to check and
34436         validate locale names.  Return an error if the locale is invalid.
34438 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34440         * locale/setlocale.c (setlocale): Use strdup for allocating
34441         composite name copy.
34443 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34445         Sync up with gnulib.
34446         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34447         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34448         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34449         and _GL_ARG_NONNULL.
34450         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34451         [!_LIBC]: Include code for Windows and Cygwin.
34452         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34453         Include prototype for int strerror_r.
34454         [!_LIBC] (is_open): New function.
34455         (flush_stdout): New function.
34456         (print_errno_message): Use it.
34457         (error): Likewise.
34458         (error_at_line): Likewise.
34459         (error_tail) Add function attribute macros.  Use
34460         __builtin_expect.
34462         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34464         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34466         * io/ftw.c: Include sys/param.h unconditionally.
34468         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34470         [BZ #17125]
34471         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34472         libc_freeres_ptr.
34473         (freecache): New function to free CACHE on exit.
34475         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34476         initialization.
34478 2014-07-09  David S. Miller  <davem@davemloft.net>
34480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34482         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34483         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34484         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34485         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34486         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34487         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34488         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34489         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34490         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34491         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34492         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34493         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34494         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34496 2014-07-09  Andreas Schwab  <schwab@suse.de>
34498         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34499         output.
34500         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34501         (do_test): Likewise.
34503         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34505 2014-07-09  Will Newton  <will.newton@linaro.org>
34507         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34508         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34509         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34510         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34511         * sysdeps/hppa/start.S (_start): Likewise.
34513 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34515         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34517         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34518         defined.
34520 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34522         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34523         after checking that it is non-NULL.
34525         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34527 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34529         * sysdeps/powerpc/memmove.c: Remove file.
34530         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34531         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34532         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34533         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34534         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34535         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34536         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34537         string memmove instead of removed powerpc one.
34539         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34540         [weak_alias]: Fix compiler warning due trailing data.
34541         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34542         [weak_alias]: Likewise.
34543         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34544         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34547         (__libc_ifunc_impl_list): Add memmove functions.
34549 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34551         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34552         Remove code.
34553         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34554         Likewise.
34555         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34556         Likewise.
34557         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34558         Likewise.
34559         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34560         Likewise.
34561         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34562         Likewise.
34563         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34564         Likewise.
34565         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34566         Likewise.
34567         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34568         Likewise.
34569         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34570         Likewise.
34571         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34572         Likewise.
34573         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34574         Likewise.
34575         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34576         Likewise.
34577         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34578         Likewise.
34579         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34580         Likewise.
34581         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34582         Likewise.
34583         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34584         Likewise.
34586 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34588         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34589         to avoid alignment traps in non-cacheable memory.
34590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34593         multiarch objects.
34594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34595         file: multiarch power7 memmove.
34596         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34597         multiarch default memmove.
34598         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34599         multiarch memove for powerpc32/power4.
34601         * string/bcopy.c: Use full path to include memmove.c.
34602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34603         multiarch objects.
34604         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34605         bcopy for powerpc64.
34606         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34607         bcopy for powerpc64.
34608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34609         and memmove implementations.
34610         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34611         optimized multiarch memmove for POWER7/powerpc64.
34612         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34613         default multiarch memmove for powerpc64.
34614         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34615         multiarch for powerpc64.
34616         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34617         for POWER7/powerpc64.
34618         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34619         memmove for POWER7/powerpc64.
34621         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34622         glibc default one.
34624         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34625         __ELF_NATIVE_CLASS equal to 64.
34627 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34629         * sysdeps/nptl/lowlevellock.h: File removed.
34631         * NEWS: NPTL is no longer an add-on!
34632         * nptl/internaltypes.h: Moved ...
34633         * sysdeps/nptl/internaltypes.h: ... here.
34634         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34635         * sysdeps/nptl/fork.c: Likewise.
34636         * sysdeps/nptl/gai_misc.h: Likewise.
34637         * sysdeps/nptl/librt-cancellation.c: Likewise.
34638         * sysdeps/nptl/jmp-unwind.c: Likewise.
34639         * sysdeps/nptl/setxid.h: Likewise.
34640         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34641         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34642         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34643         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34644         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34645         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34646         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34647         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34648         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34649         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34650         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34651         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34652         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34653         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34654         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34655         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34656         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34657         * nptl/Makeconfig: Moved ...
34658         * sysdeps/nptl/Makeconfig: ... here.
34659         * nptl/configure: File removed.
34660         * nptl/ANNOUNCE: File removed.
34661         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34662         * sysdeps/unix/sysv/linux/configure: Regenerated.
34664         * nptl/Makefile (routines): Add libc_pthread_init,
34665         libc_multiple_threads, register-atfork and unregister-atfork.
34666         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34667         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34668         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34669         pthread-pi-defines.sym, structsem.sym.
34670         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34671         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34672         [$(subdir) = nptl] (tests): Add tst-setgetname.
34673         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34674         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34675         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34676         [!LIBC_SIGACTION]: Remove aliases.
34677         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34678         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34679         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34680         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34681         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34682         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34684         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34685         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34686         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34687         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34688         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34689         __libc_allocate_rtsig_private.
34690         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34691         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34692         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34693         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34694         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34695         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34696         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34697         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34698         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34699         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34700         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34701         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34702         * nptl/internaltypes.h: ... here.
34703         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34704         * sysdeps/nptl/jmp-unwind.c: ... here.
34705         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34706         * nptl/libc-lowlevellock.c: ... here.
34707         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34708         * nptl/libc_multiple_threads.c: ... here.
34709         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34710         * nptl/libc_pthread_init.c: ... here.
34711         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34712         * nptl/lowlevelbarrier.sym: ... here.
34713         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34714         * nptl/lowlevelcond.sym: ... here.
34715         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34716         * nptl/lowlevellock.c: ... here.
34717         * nptl/lowlevellock.h: Moved ...
34718         * sysdeps/nptl/lowlevellock.h: ... here.
34719         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34720         * nptl/lowlevelrobustlock.c: ... here.
34721         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34722         * nptl/lowlevelrobustlock.sym: ... here.
34723         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34724         * nptl/lowlevelrwlock.sym: ... here.
34725         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34726         * nptl/pt-fork.c: ... here.
34727         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34728         * nptl/pthread-pi-defines.sym: ... here.
34729         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34730         * nptl/pthread_attr_getaffinity.c: ... here.
34731         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34732         * nptl/pthread_attr_setaffinity.c: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34734         * nptl/pthread_mutex_cond_lock.c: ... here.
34735         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34736         Update #include.
34737         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34738         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34739         * nptl/pthread_once.c: ... here, replacing old file.
34740         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34741         * nptl/pthread_yield.c: ... here.
34742         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34743         * nptl/register-atfork.c: ... here.
34744         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34745         * nptl/sem_post.c: ... here.
34746         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34747         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34748         * nptl/sem_timedwait.c: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34750         * nptl/sem_trywait.c: ... here.
34751         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34752         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34753         * nptl/sem_wait.c: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34755         * nptl/structsem.sym: ... here.
34756         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34757         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34758         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34759         * nptl/unregister-atfork.c: ... here.
34760         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34761         * nptl/unwindbuf.sym: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34763         * sysdeps/nptl/fork.c: ... here.
34764         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34765         * sysdeps/nptl/fork.h: ... here.
34766         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34767         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34768         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34769         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34770         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34771         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34772         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34773         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34774         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34775         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34776         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34777         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34778         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34779         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34780         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34781         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34782         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34783         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34784         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34785         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34786         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34787         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34788         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34789         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34790         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34791         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34792         * sysdeps/unix/sysv/linux/raise.c: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34794         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34795         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34796         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34797         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34798         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34799         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34800         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34801         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34802         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34803         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34804         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34805         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34806         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34807         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34809 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34811         * sysdeps/generic/memcopy.h: Add comment for
34812         MEMCPY_OK_FOR_FWD_MEMMOVE.
34814 2014-07-04  Will Newton  <will.newton@linaro.org>
34816         * string/memchr.c: Merge from gnulib.
34817         [_LIBC]: Remove conditionals.
34818         (__ptr_t): Remove define.
34819         (LONG_MAX_32_BITS): Likewise.
34820         (LONG_MAX): Likewise.
34821         (MEMCHR): Use ANSI prototype and optimize algorithm.
34823         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34825 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34828         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34830         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34831         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34832         in a bare environment with no <stdlib.h> installed.
34833         * sysdeps/nptl/configure: Regenerated.
34835         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34837         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34838         AC_EGREP_CPP for kernel header checks, so they only succeed if
34839         including <linux/version.h> actually works right.
34840         * sysdeps/unix/sysv/linux/configure: Regenerated.
34842         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34843         value so it's not diagnosed as unused.
34845         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34846         thing) with "ifeq ($(subdir),rt)".
34848 2014-07-03  Richard Henderson  <rth@redhat.com>
34850         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34851         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34852         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34854         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34855         (math_force_eval): New.
34857         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34858         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34860         * sysdeps/alpha/fpu/s_round.c: Remove file.
34861         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34863         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34864         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34865         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34866         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34867         (_dl_start, print_statistics): Likewise.
34868         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34869         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34871         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34872         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34873         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34874         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34875         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34876         (HP_SMALL_TIMING_AVAIL): Define.
34877         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34878         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34879         (HP_SMALL_TIMING_AVAIL): Define.
34880         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34881         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34883         * sysdeps/aarch64/hp-timing.h: New file.
34885         * sysdeps/generic/hp-timing.h: Remove dead comment.
34886         * sysdeps/generic/hp-timing-common.h: New file.
34887         * sysdeps/alpha/hp-timing.h: Include it.
34888         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34889         * sysdeps/i386/i686/hp-timing.h: Likewise.
34890         * sysdeps/ia64/hp-timing.h: Likewise.
34891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34892         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34894         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34895         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34896         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34897         (hp_timing_t): New.
34899         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34900         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34901         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34902         * elf/rtld.c (_dl_start_final): Likewise.
34903         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34904         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34905         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34906         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34907         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34909         (HP_TIMING_DIFF_INIT): Remove.
34910         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34911         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34912         (HP_TIMING_DIFF_INIT): Remove.
34913         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34914         * sysdeps/i386/i686/hp-timing.c: Remove file.
34915         * sysdeps/x86_64/hp-timing.c: Remove file.
34916         * sysdeps/ia64/hp-timing.c: Remove file.
34917         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34918         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34919         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34920         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34922         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34923         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34924         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34925         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34927         (HP_TIMING_ACCUM): Remove.
34928         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34929         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34930         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34932         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34933         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34934         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34935         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34937         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34939         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34941         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34943 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34945         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34947 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34949         Sync up with gettext.
34950         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34951         [_MSC_VER]: Include malloc.h
34952         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34953         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34954         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34955         TEMP_FAILURE_RETRY.  Cast return of alloca.
34956         [!_LIBC] Call gl_rwlock_init.
34957         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34959 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34961         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34962         before checking its value.
34964 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34966         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34968         * debug/memcpy_chk.c: Don't include pagecopy.h.
34969         * debug/mempcpy_chk.c: Likewise.
34970         * string/memcpy.c: Likewise.
34971         * string/memmove.c: Likewise.
34972         * sysdeps/powerpc/memmove.c: Likewise.
34973         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34974         definition of PAGE_COPY_FWD_MAYBE here...
34975         * sysdeps/generic/pagecopy.h: ... from here.
34976         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34978 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34979             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34981         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34983         optimizations.
34984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34985         (__libc_ifunc_impl_list): Likewise.
34986         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34987         multiarch strcat for PPC64.
34988         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34989         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34991 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34993         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34995 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34997         * intl/loadmsgcat.c: Remove declaration of
34998         get_sysdep_segment_value.
34999         (get_sysdep_segment_value): Use ISO C style.
35000         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35001         semicolon.  Fix typo and formatting in comment.
35002         (_nl_unload_domain): Use ISO C style.
35004         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35006 2014-07-02  Will Newton  <will.newton@linaro.org>
35008         * malloc/obstack.c: Merge from gnulib master.
35009         [HAVE_CONFIG_H]: Remove conditional code.
35010         [!_LIBC]: Include config.h.
35011         [!ELIDE_CODE]: Don't include inttypes.h, include
35012         stdint.h unconditionally.
35013         (print_and_abort): Mark as _Noreturn.
35014         (_obstack_allocated_p): Mark as __attribute_pure__.
35015         (obstack_free): Rename to __obstack_free.
35016         [!__attribute__]: Remove conditional code.
35017         * malloc/obstack.h: Merge from gnulib master.
35018         [__cplusplus]: Move conditional down.
35019         [!__attribute_pure__]: Define __attribute_pure__ here
35020         if it is not already defined.
35021         (_obstack_memory_used): Mark as __attribute_pure__.
35022         [!__obstack_free]: Define as obstack_free.
35023         [__GNUC__]: Remove check for ancient NeXT gcc.
35025 2014-07-02  Will Newton  <will.newton@linaro.org>
35026             Paul Eggert  <eggert@cs.ucla.edu>
35028         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35030 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35032         * resolv/gethnamaddr.c: Add comment warning that the file is
35033         not maintained.
35035 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35037         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35038         entries.
35040         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35041         entry for aio_cancel and aio_cancel64.
35042         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35043         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35044         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35045         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35046         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35047         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35049         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35050         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35051         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35052         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35053         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35054         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35056 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35058         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35059         * nptl/pthread_mutex_lock.c: Likewise.
35060         * nptl/pthread_mutex_timedlock.c: Likewise.
35061         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35063 2014-07-01  Richard henderson  <rth@redhat.com>
35065         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35066         (__isnan, __isnanl): Remove.
35067         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35069         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35071 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35075 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35077         * resolv/nss_dns/dns-host.c (getanswer_r)
35078         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35080 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35083         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35084         undefine.
35085         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35086         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35088 2014-07-01  Roland McGrath <roland@hack.frob.com>
35090         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35091         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35093         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35094         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35096         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35098         ... here.
35099         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35100         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35102         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35103         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35104         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35105         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35107         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35108         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35109         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35110         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35112         Moved ...
35113         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35114         ... here.
35115         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35116         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35118         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35119         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35120         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35121         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35122         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35123         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35124         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35125         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35126         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35127         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35128         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35129         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35130         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35131         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35132         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35133         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35134         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35135         ... here.
35136         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35137         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35138         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35139         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35140         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35141         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35142         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35143         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35145 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35147         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35148         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35149         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35150         Add sysdep.
35152 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35156 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35158         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35159         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35161         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35163         * sysdeps/arm/libm-test-ulps: Regenerated.
35165 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35166             Roland McGrath <roland@hack.frob.com>
35168         * test-skeleton.c (signal_handler): Kill the whole process group
35169         before killing the child individually.
35170         (main): Report any failure on `setpgid'.
35172 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35174         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35175         from _TLS_H to _ARM_NPTL_TLS_H.
35176         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35177         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35179 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35181         [BZ #16539]
35182         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35183         (__expm1l): Return argument unchanged when small but not
35184         subnormal.
35186         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35187         include macro name.
35188         (_FP_UNPACK_RAW_1_P): Likewise.
35189         (_FP_PACK_RAW_1): Likewise.
35190         (_FP_PACK_RAW_1_P): Likewise.
35191         (_FP_MUL_MEAT_1_wide): Likewise.
35192         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35193         (_FP_MUL_MEAT_1_hard): Likewise.
35194         (_FP_DIV_MEAT_1_imm): Likewise.
35195         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35196         (_FP_DIV_MEAT_1_udiv): Likewise.
35197         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35198         (_FP_UNPACK_RAW_2): Likewise.
35199         (_FP_UNPACK_RAW_2_P): Likewise.
35200         (_FP_PACK_RAW_2): Likewise.
35201         (_FP_PACK_RAW_2_P): Likewise.
35202         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35203         (_FP_MUL_MEAT_2_wide): Likewise.
35204         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35205         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35206         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35207         (_FP_MUL_MEAT_2_gmp): Likewise.
35208         (_FP_DIV_MEAT_2_udiv): Likewise.
35209         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35210         (_FP_FRAC_SRL_4): Likewise.
35211         (_FP_FRAC_SRST_4): Likewise.
35212         (_FP_FRAC_SRS_4): Likewise.
35213         (_FP_UNPACK_RAW_4): Likewise.
35214         (_FP_UNPACK_RAW_4_P): Likewise.
35215         (_FP_PACK_RAW_4): Likewise.
35216         (_FP_PACK_RAW_4_P): Likewise.
35217         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35218         (_FP_MUL_MEAT_4_wide): Likewise.
35219         (_FP_MUL_MEAT_4_gmp): Likewise.
35220         (umul_ppppmnnn): Likewise.
35221         (_FP_DIV_MEAT_4_udiv): Likewise.
35222         (__FP_FRAC_ADD_4): Likewise.
35223         (__FP_FRAC_SUB_3): Likewise.
35224         (__FP_FRAC_SUB_4): Likewise.
35225         (__FP_FRAC_DEC_3): Likewise.
35226         (__FP_FRAC_DEC_4): Likewise.
35227         (__FP_FRAC_ADDI_4): Likewise.
35228         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35229         (_FP_FRAC_SRL_8): Likewise.
35230         (_FP_FRAC_SRS_8): Likewise.
35232         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35233         include macro name.
35234         (FP_UNPACK_RAW_EP): Likewise.
35235         (FP_PACK_RAW_E): Likewise.
35236         (FP_PACK_RAW_EP): Likewise.
35237         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35238         (_FP_ISSIGNAN): Likewise.
35239         (_FP_ADD_INTERNAL): Likewise.
35240         (_FP_FMA): Likewise.
35241         (_FP_CMP): Likewise.
35242         (_FP_SQRT): Likewise.
35243         (_FP_TO_INT): Likewise.
35244         (_FP_FROM_INT): Likewise.
35245         (FP_EXTEND): Likewise.
35246         (_FP_DIV_MEAT_N_loop): Likewise.
35248 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35250         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35251         throughout.
35253 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35255         [BZ #17097]
35256         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35257         result with correct sign in case of exponents that produce
35258         overflow except for X very close to 1.
35260 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35262         mktime: merge #if/#ifdef usage from glibc
35263         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35264         as that works with both Glibc's and Gnulib's style.
35265         See thread starting at Siddhesh Poyarekar's bug report at:
35266         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35268 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35270         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35271         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35272         * sysdeps/tile/tilegx/memmove.c: Remove file.
35274 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35276         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35277         abi-name definition.
35278         * scripts/soversions.awk: Do not handle or generate ABI lines.
35279         * shlib-versions: Remove ABI entries.
35280         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35281         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35283 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35286         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35288         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35290         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35292         Moved ...
35293         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35294         ... here.
35295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35296         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35298         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35300         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35302         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35304         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35306         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35308         Moved ...
35309         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35311         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35315         Moved ...
35316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35318         Moved ...
35319         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35323         Moved ...
35324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35328         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35330         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35332         Moved ...
35333         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35335         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35336         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35337         Moved ...
35338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35340         Moved ...
35341         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35343         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35345         Moved ...
35346         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35347         ... here.
35348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35349         Identical file removed.
35350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35351         Moved ...
35352         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35354         Identical file removed.
35355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35356         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35358         Moved ...
35359         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35361         Identical file removed.
35362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35363         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35365         Identical file removed.
35366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35368         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35369         Identical file removed.
35370         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35371         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35373         Identical file removed.
35374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35375         Moved ...
35376         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35378         Identical file removed.
35379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35380         Moved ...
35381         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35382         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35383         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35385         Identical file removed.
35386         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35387         Moved ...
35388         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35389         ... here.
35390         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35391         Identical file removed.
35392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35393         Moved ...
35394         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35396         Identical file removed.
35397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35398         Moved ...
35399         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35401         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35405         Moved ...
35406         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35407         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35408         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35410         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35411         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35412         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35413         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35414         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35416 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35418         [BZ #17092]
35419         * nscd/nscd.c (monitor_child): Return exit status of child
35420         instead of return value from wait syscall.
35422 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35424         * configure.ac (libc_commonpagesize): Remove variable.
35425         (libc_relro_required): Likewise.
35426         (libc_cv_z_relro): Remove configure test.
35427         * configure: Regenerated.
35428         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35429         variable.
35430         (libc_relro_required): Likewise.
35431         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35432         (libc_relro_required): Likewise.
35433         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35434         (libc_relro_required): Likewise.
35435         * sysdeps/arm/preconfigure: Regenerated.
35436         * sysdeps/ia64/preconfigure: Remove file.
35437         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35438         variable.
35439         (libc_relro_required): Likewise.
35441         [BZ #16561]
35442         [BZ #16562]
35443         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35444         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35445         recompute overflowing results in original rounding mode.
35446         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35447         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35448         recompute overflowing results in original rounding mode.
35449         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35450         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35451         recompute overflowing results in original rounding mode.
35452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35453         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35454         recompute overflowing results in original rounding mode.
35455         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35456         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35457         recompute overflowing results in original rounding mode.
35458         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35459         (libc_feholdsetround_ctx): New macro.
35460         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35461         * sysdeps/i386/fpu/libm-test-ulps: Update.
35462         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35466         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35467         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35468         corresponding .cpsetup call.
35470 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35472         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35473         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35474         * sysdeps/arm/Makefile [$(subdir) = csu]
35475         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35476         (static-only-routines): Add aeabi_read_tp here.
35477         (shared-only-routines): Add libc-aeabi_read_tp here.
35478         (CFLAGS-libc-start.c): Add -fexceptions here.
35479         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35480         (sysdep_routines, static-only-routines, shared-only-routines):
35481         Don't add to these here.
35482         (CFLAGS-libc-start.c): Likewise.
35484         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35485         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35486         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35487         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35488         * sysdeps/arm/Makefile [$(subdir) = rt]
35489         (librt-sysdep_routines, librt-shared-only-routines):
35490         Append rt-aeabi_unwind_cpp_pr1 here.
35491         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35492         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35493         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35494         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35495         Append nptl-aeabi_unwind_cpp_pr1 here.
35496         (tests): Filter out tst-cleanupx4 here.
35497         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35498         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35499         Don't do those here.
35501 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35503         * scripts/list-sources.sh: Do not handle ports specially.
35505 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35507         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35508         * sysdeps/arm/feupdateenv.c: Likewise.
35510         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35512 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35514         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35515         trailing whitespace removed.
35516         * scripts/config.guess: Update to version 2014-03-23.
35517         * scripts/config.sub: Update to version 2014-05-01
35518         * scripts/install-sh: Update to version 2013-12-25.23.
35519         * scripts/move-if-change: Update from gnulib.
35521 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35523         * debug/memmove_chk.c: Remove pagecopy.h include.
35525 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35527         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35528         identical to gnulib mktime.
35530 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35532         * configure.ac: Do not test for machine being rs6000.  Do not test
35533         for powerpc*-*soft.
35534         * configure: Regenerated.
35536         [BZ #11505]
35537         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35538         test.
35539         * configure: Regenerated.
35540         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35541         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35542         Remove configure test.
35543         * sysdeps/arm/configure: Regenerated.
35544         * sysdeps/nptl/configure.ac: Do not check
35545         libc_cv_asm_cfi_directives.
35546         * sysdeps/nptl/configure: Regenerated.
35547         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35548         * sysdeps/x86_64/nptl/configure: Remove generated file.
35549         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35550         unconditional.
35551         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35553 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35555         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35556         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35557         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35558         it is defined.
35560         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35561         instead of whether it is defined.
35562         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35563         * sysdeps/hppa/dl-machine.h: Likewise.
35564         * sysdeps/ia64/dl-machine.h: Likewise.
35565         * sysdeps/m68k/dl-machine.h: Likewise.
35566         * sysdeps/microblaze/dl-machine.h: Likewise.
35567         * sysdeps/mips/dl-machine.: Likewise.
35568         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35569         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35570         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35571         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35572         * sysdeps/sh/dl-machine.h: Likewise.
35573         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35574         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35575         * sysdeps/tile/dl-machine.h: Likewise.
35576         * sysdeps/x86_64/dl-machine.h: Likewise.
35578         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35579         code.
35580         (verify_persistent_db): Likewise.
35582 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35585         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35589         Moved ...
35590         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35591         ... here.
35592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35593         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35595         Identical file removed.
35596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35597         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35599         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35601         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35603         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35605         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35607         Moved ...
35608         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35610         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35612         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35614         Moved ...
35615         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35619         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35621         Identical file removed.
35622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35623         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35625         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35627         Moved ...
35628         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35629         ... here.
35630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35631         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35635         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35637         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35639         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35641         Moved ...
35642         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35644         Moved ...
35645         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35647         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35654         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35655         folded into ...
35656         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35657         * sysdeps/unix/sysv/linux/s390/Versions
35658         (libpthread: GLIBC_2.19): New version set.
35659         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35660         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35661         (librt: GLIBC_2.3.3): New version set.
35662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35663         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35664         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35665         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35666         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35667         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35668         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35669         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35670         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35672         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35674         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35676         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35677         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35678         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35679         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35680         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35681         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35682         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35684         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35686         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35688         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35689         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35690         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35691         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35692         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35697         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35698         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35700         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35702         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35704         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35705         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35706         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35709         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35710         (__libc_vfork): Define the function under this name.
35711         [!NOT_IN_libc] (__vfork): Make this an alias.
35712         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35714         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35715         (__libc_vfork): Define the function under this name.
35716         [!NOT_IN_libc] (__vfork): Make this an alias.
35717         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35718         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35719         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35721         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35722         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35724         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35725         code that was previously under [RESET_PID].
35726         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35727         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35730         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35731         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35732         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35733         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35734         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35735         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35736         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35737         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35738         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35739         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35740         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35741         Moved ...
35742         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35746         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35747         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35748         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35749         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35750         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35751         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35752         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35753         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35754         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35755         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35756         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35757         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35758         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35762         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35763         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35764         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35765         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35766         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35767         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35768         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35769         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35770         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35772 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35774         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35775         that was previously under [RESET_PID].
35776         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35778 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35780         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35781         not undefine and redefine.
35782         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35783         [O_CLOEXEC]: Make code unconditional.
35784         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35785         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35786         <kernel-features.h>.
35787         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35788         conditional variable definition.
35789         (shm_open) [O_CLOEXEC]: Make code unconditional.
35790         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35791         code.
35793         * configure.ac (USE_REGPARMS): Don't define here.
35794         * configure: Regenerated.
35795         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35796         * sysdeps/i386/configure: Regenerated.
35798         * nptl/createthread.c: Don't include kernel-features.h.
35799         * nptl/pthread_cancel.c: Likewise.
35800         * nptl/pthread_condattr_setclock.c: Likewise.
35801         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35802         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35803         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35804         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35805         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35806         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35807         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35810         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35811         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35812         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35813         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35814         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35815         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35816         * nscd/gai.c: Likewise.
35817         * nss/nss_db/db-open.c: Likewise.
35818         * sysdeps/generic/ldsodefs.h: Likewise.
35819         * sysdeps/sh/nptl/tls.h: Likewise.
35820         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35821         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35822         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35823         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35824         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35825         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35826         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35827         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35828         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35829         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35830         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35831         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35832         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35833         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35834         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35835         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35836         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35837         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35838         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35839         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35842         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35843         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35848         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35849         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35850         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35851         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35852         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35853         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35854         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35855         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35856         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35857         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35858         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35859         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35860         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35861         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35862         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35863         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35864         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35865         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35866         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35867         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35868         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35869         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35870         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35871         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35872         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35873         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35874         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35875         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35876         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35877         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35900         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35901         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35902         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35903         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35904         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35906         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35907         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35908         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35909         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35910         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35911         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35912         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35913         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35914         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35915         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35916         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35917         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35918         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35919         * sysdeps/unix/sysv/linux/system.c: Likewise.
35920         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35921         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35922         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35923         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35924         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35925         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35926         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35928         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35929         * configure: Regenerated.
35930         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35932         * configure.ac (base_machine): Do not set specially for particular
35933         machines here.
35934         * configure: Regenerated.
35935         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35936         settings from configure.ac.
35937         * sysdeps/i386/preconfigure: New file.
35938         * sysdeps/s390/preconfigure: Likewise.
35939         * sysdeps/sh/preconfigure: Likewise.
35940         * sysdeps/sparc/preconfigure: Likewise.
35942 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35944         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35945         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35946         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35947         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35948         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35949         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35950         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35951         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35952         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35953         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35954         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35955         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35956         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35958         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35959         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35961         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35962         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35964         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35965         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35966         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35967         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35968         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35969         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35970         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35971         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35972         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35973         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35974         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35975         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35976         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35977         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35978         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35979         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35980         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35981         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35982         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35983         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35985         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35987         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35989         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35992         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35993         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35995         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35997         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35999         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36000         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36001         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36004         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36006         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36008         Moved ...
36009         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36010         ... here.
36011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36014         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36016         Moved ...
36017         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36019         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36021         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36023         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36025         Moved ...
36026         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36028         Moved ...
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36031         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36033         Moved ...
36034         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36036         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36038         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36040         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36042         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36046         ... here.
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36048         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36050         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36057         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36059         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36061         Moved ...
36062         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36064         Moved ...
36065         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36067         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36069         Moved ...
36070         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36074         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36076 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36078         * timezone/checktab.awk: Update from tzcode 2014e.
36079         * timezone/private.h: Likewise.
36080         * timezone/tzfile.h: Likewise.
36081         * timezone/zdump.c: Likewise.
36082         * timezone/zic.c: Likewise.
36084         * sysdeps/unix/sysv/linux/kernel-features.h
36085         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36086         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36087         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36088         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36089         Remove conditional code.
36091 2014-06-25  Will Newton  <will.newton@linaro.org>
36093         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36094         (_dl_arm_cap_flags): Add HWCAP2 values.
36095         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36096         (_DL_HWCAP_COUNT): Increase to 37.
36097         (_DL_HWCAP_LAST): New define.
36098         (_DL_HWCAP2_LAST): New define.
36099         (_dl_procinfo): Add support for printing
36100         AT_HWCAP2 entries.
36101         (_dl_string_hwcap): Use _dl_hwcap_string.
36103 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36107 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36109         * README: Do not mention ports directory.
36111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36112         Remove macro.
36113         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36114         <kernel-features.h>.
36115         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36116         conditional variable definition.
36117         (__futimes): Update comment.
36118         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36119         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36121         [BZ #16560]
36122         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36123         arguments close to 0.
36124         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36125         Likewise.
36126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36127         Likewise.
36128         * math/auto-libm-test-in: Add more tests of exp10.
36129         * math/auto-libm-test-out: Regenerated.
36130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36132         * sysdeps/unix/sysv/linux/kernel-features.h
36133         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36134         * sysdeps/unix/sysv/linux/readv.c: Do not include
36135         <kernel-features.h>.
36136         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36137         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36138         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36139         unconditional.
36140         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36141         conditional code.
36142         * sysdeps/unix/sysv/linux/writev.c: Do not include
36143         <kernel-features.h>.
36144         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36145         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36146         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36147         unconditional.
36148         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36149         conditional code.
36151 2014-06-25  Will Newton  <will.newton@linaro.org>
36153         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36154         comment changes throughout the file.  Remove checks
36155         for HAVE_*_H definitions that are not required.
36156         (__gen_tempname): Call abort if an unknown kind value is
36157         passed.
36159 2014-06-25  Andreas Schwab  <schwab@suse.de>
36161         [BZ #17086]
36162         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36163         scalbln, scalblnf, scalblnl in libc.
36165 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36167         [BZ #17086]
36168         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36169         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36170         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36172 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36174         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36175         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36176         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36177         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36178         Update #include.
36179         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36180         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36181         Update #include.
36182         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36183         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36184         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36185         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36186         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36187         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36188         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36189         * sysdeps/x86/bits/semaphore.h: ... here.
36190         * sysdeps/x86/nptl/elide.h: Moved ...
36191         * sysdeps/x86/elide.h: ... here.
36192         * sysdeps/x86_64/nptl/Implies: File removed.
36193         * sysdeps/i386/nptl/Implies: File removed.
36195 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #16539]
36198         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36199         return the argument for normal arguments with exponent below -64.
36200         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36201         Likewise.
36202         * math/auto-libm-test-in: Add another test of expm1.
36203         * math/auto-libm-test-out: Regenerated.
36205         [BZ #16287]
36206         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36207         calling __erfcl for arguments at least 16.
36208         * math/auto-libm-test-in: Add more tests of erf.
36209         * math/auto-libm-test-out: Regenerated.
36211         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36212         individual architectures.
36213         * sysdeps/unix/sysv/linux/configure: Regenerated.
36214         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36215         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36216         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36217         (ldd_rewrite_script): Define variable.
36218         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36220         file.
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36222         generated file.
36223         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36224         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36225         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36226         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36227         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36228         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36229         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36230         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36232 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36234         [BZ #17084]
36235         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36236         Rename member __data.d to __data.__elision_data.
36238 2014-06-24  Wilco  <wdijkstr@arm.com>
36240         * NEWS: Add 16918 to fixed bug list.
36242 2014-06-24  Wilco  <wdijkstr@arm.com>
36244         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36246 2014-06-24  Wilco  <wdijkstr@arm.com>
36248         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36249         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36250         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36251         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36252         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36253         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36254         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36255         Use _FPU_MASK_RM.
36257 2014-06-24  Wilco  <wdijkstr@arm.com>
36259         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36261 2014-06-24  Wilco  <wdijkstr@arm.com>
36263         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36264         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36265         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36266         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36268 2014-06-24  Wilco  <wdijkstr@arm.com>
36270         [BZ #16918]
36271         * sysdeps/arm/feupdateenv.c (feupdateenv):
36272         Rewrite to reduce FPSCR accesses and fix return value.
36274 2014-06-24  Wilco  <wdijkstr@arm.com>
36276         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36277         Optimize to avoid unnecessary FPSCR writes.
36278         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36279         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36280         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36281         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36283 2014-06-24  Wilco  <wdijkstr@arm.com>
36285         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36286         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36287         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36288         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36289         Call libc_fetestexcept_vfp.
36290         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36291         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36292         __SOFTFP__ ifdef so that they can be built for softfp.
36294 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36296         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36297         argument type signed char.
36299         * Makerules (check-abi): Dump diff of symlist if the test
36300         fails.
36302 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36304         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36305         using abort.
36307         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36308         Remove unused variable ST.
36310 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36312         [BZ #16354]
36313         [BZ #17061]
36314         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36315         small arguments before calling __expm1.
36316         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36317         small arguments before calling __expm1f.
36318         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36319         small arguments before calling __expm1l.
36320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36321         Likewise.
36322         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36323         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36324         spurious underflow for some cosh tests.
36325         * math/auto-libm-test-out: Regenerated.
36326         * sysdeps/i386/fpu/libm-test-ulps: Update.
36328         [BZ #17050]
36329         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36330         (__ieee754_y1): Set errno if return value overflows.
36331         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36332         (__ieee754_y1f): Set errno if return value overflows.
36333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36334         (__ieee754_y1l): Set errno if return value overflows.
36335         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36336         (__ieee754_y1l): Set errno if return value overflows.
36337         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36338         * math/auto-libm-test-out: Regenerated.
36340         * math/gen-auto-libm-tests.c: Document use of
36341         ignore-zero-inf-sign.
36342         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36343         (input_flags): Add ignore-zero-inf-sign.
36344         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36345         * math/gen-libm-test.pl (generate_testfile): Handle
36346         ignore-zero-inf-sign.
36347         * math/auto-libm-test-in: Mark some cpow tests with
36348         ignore-zero-inf-sign and some with xfail-rounding.
36349         * math/auto-libm-test-out: Regenerated.
36350         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36351         * sysdeps/i386/fpu/libm-test-ulps: Update.
36352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36354         [BZ #16315]
36355         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36356         overflowing or underflowing operations take place with sign of
36357         result.
36358         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36359         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36360         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36361         (__ieee754_pow): Recompute overflowing and underflowing results in
36362         original rounding mode.
36363         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36364         (__powl_helper): Allow negative argument X and scale negated value
36365         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36366         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36367         overflowing or underflowing operations take place with sign of
36368         result.
36369         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36370         Include <math.h>.
36371         * math/auto-libm-test-in: Add more tests of pow.
36372         * math/auto-libm-test-out: Regenerated.
36373         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36374         (pow_tonearest_test_data): Remove.
36375         (pow_test_tonearest): Likewise.
36376         (pow_towardzero_test_data): Likewise.
36377         (pow_test_towardzero): Likewise.
36378         (pow_downward_test_data): Likewise.
36379         (pow_test_downward): Likewise.
36380         (pow_upward_test_data): Likewise.
36381         (pow_test_upward): Likewise.
36382         (main): Don't call removed functions.
36383         * sysdeps/i386/fpu/libm-test-ulps: Update.
36384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36386 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36389         Moved ...
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36392         Moved ...
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36395         Moved ...
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36398         Moved ...
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36401         File removed.
36402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36403         File removed.
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36405         File removed.
36406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36407         File removed.
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36409         File removed.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36411         File removed.
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36413         File removed.
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36415         File removed.
36416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36417         File removed.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36419         File removed.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36421         File removed.
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36423         File removed.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36425         Moved ...
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36428         Moved ...
36429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36430         ... here.
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36432         Moved ...
36433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36435         Moved ...
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36438         Moved ...
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36441         Moved ...
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36444         Moved ...
36445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36447         Moved ...
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36450         Moved ...
36451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36454         ... here.
36455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36456         Moved ...
36457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36461         ... here.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36465         ... here.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36467         Moved ...
36468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36469         ... here.
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36471         Moved ...
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36474         Moved ...
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36479         Moved ...
36480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36481         ... here.
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36483         Moved ...
36484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36485         ... here.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36487         Moved ...
36488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36490         Moved ...
36491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36493         Moved ...
36494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36496         Moved ...
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36499         Moved ...
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36501         ... here.
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36503         Moved ...
36504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36506         Moved ...
36507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36509         Moved ...
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36512         Moved ...
36513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36517         Moved ...
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36520         Moved ...
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36523         Moved ...
36524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36525         ... here.
36526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36529         ... here.
36530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36533         ... here.
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36535         Moved ...
36536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36538         Moved ...
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36541         Moved ...
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36544         Moved ...
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36546         ... here.
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36548         Moved ...
36549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36550         ... here.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36552         Moved ...
36553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36554         ... here.
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36556         Moved ...
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36559         Moved ...
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36562 2014-06-23  Will Newton  <will.newton@linaro.org>
36563             Wilco  <wdijkstr@arm.com>
36565         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36566         implementation.  Include get-rounding-mode.h.
36567         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36568         [!libc_feholdsetround_noex_ctx]: Define
36569         libc_feholdsetround_noex_ctx.
36570         [!libc_feholdsetround_noexf_ctx]: Define
36571         libc_feholdsetround_noexf_ctx.
36572         [!libc_feholdsetround_noexl_ctx]: Define
36573         libc_feholdsetround_noexl_ctx.
36574         (libc_feholdsetround_ctx): New function.
36575         (libc_feresetround_ctx): New function.
36576         (libc_feholdsetround_noex_ctx): New function.
36577         (libc_feresetround_noex_ctx): New function.
36579 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36582         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36583         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36584         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36585         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36586         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36588         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36589         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36590         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36591         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36592         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36593         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36595         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36597         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36598         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36599         Moved ...
36600         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36601         ... here.
36602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36603         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36605         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36607         Moved ...
36608         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36610         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36612         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36614         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36616         Moved ...
36617         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36619         Moved ...
36620         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36622         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36624         Moved ...
36625         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36627         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36628         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36629         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36630         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36631         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36633         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36635         Moved ...
36636         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36637         ... here.
36638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36639         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36641         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36643         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36645         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36647         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36649         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36651         Moved ...
36652         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36656         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36658         Moved ...
36659         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36661         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36662         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36663         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36665         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36666         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36667         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36668         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36669         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36670         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36671         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36672         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36674         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36675         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36676         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36677         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36678         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36679         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36680         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36681         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36682         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36683         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36684         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36685         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36686         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36687         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36688         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36689         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36690         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36691         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36692         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36694 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36697         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36698         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36699         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36700         (IPV6_PMTUDISC_INTERFACE): Likewise.
36701         (IPV6_PMTUDISC_OMIT): Likewise.
36703 2014-06-23  Andreas Schwab  <schwab@suse.de>
36705         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36706         Remove unused errout label.
36708 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36710         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36711         macro: hardware supports Vector Crypto instructions.
36713 2014-06-23  Will Newton  <will.newton@linaro.org>
36715         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36716         rather than __builtin_expect.
36718         * elf/dl-lookup.c (undefined_msg): Remove variable.
36719         (_dl_lookup_symbol_x): Replace undefined_msg with string
36720         literal.
36722         * elf/dl-lookup.c (do_lookup_unique): New function.
36723         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36724         to a separate function.
36726 2014-06-23  Andreas Schwab  <schwab@suse.de>
36728         [BZ #17079]
36729         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36730         before reading the next line.
36732 2014-06-23  Will Newton  <will.newton@linaro.org>
36734         * test-skeleton.c (signal_handler): Use printf and %m
36735         rather than perror.  Use printf rather than fprintf to
36736         stderr.  Use puts rather than fputs to stderr.
36737         (main): Likewise.
36739 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36741         * nscd/nscd.c (thread_info_t): Remove typedef.
36742         (thread_info): Remove variable.
36744 2014-06-21  Allan McRae  <allan@archlinux.org>
36746         * NEWS: Mention CVE-2014-4043.
36748 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36750         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36751         * nptl/smp.h: ... here.
36753         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36755         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36756         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36757         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36758         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36760         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36761         * nptl/stack-aliasing.h: New file.
36762         * sysdeps/i386/i686/stack-aliasing.h: New file.
36763         * sysdeps/i386/i686/nptl/Makefile: File removed.
36764         * sysdeps/x86_64/stack-aliasing.h: New file.
36765         * sysdeps/x86_64/nptl/Makefile
36766         (CFLAGS-pthread_create.c): Variable removed.
36768         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36769         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36770         old file.
36771         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36772         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36773         old file.
36775 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36777         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36778         (__ASSUME_SIGFRAME_V2): Remove macro.
36779         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36780         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36781         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36782         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36783         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36784         Declare as function.  Remove conditional macro definitions.
36785         (__default_rt_sa_restorer): Likewise.
36786         (__default_sa_restorer_v1): Remove declaration.
36787         (__default_sa_restorer_v2): Likewise.
36788         (__default_rt_sa_restorer_v1): Likewise.
36789         (__default_rt_sa_restorer_v2): Likewise.
36790         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36791         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36792         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36794 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36796         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36797         (libpthread-routines): Add sysdep.
36798         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36799         * sysdeps/unix/sysv/linux/sparc/Versions
36800         (libpthread: GLIBC_2.3.3): New version set.
36801         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36802         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36803         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36804         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36805         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36806         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36807         Moved ...
36808         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36810         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36812         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36813         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36814         * sysdeps/sparc/nptl/sem_init.c: ... here.
36815         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36816         * sysdeps/sparc/nptl/sem_post.c: ... here.
36817         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36818         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36819         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36820         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36821         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36822         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36823         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36824         (libpthread-routines): Add cpu_relax.
36825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36826         File removed.
36827         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36828         (librt: GLIBC_2.3.3): New version set.
36829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36830         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36831         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36832         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36835         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36837         Moved ...
36838         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36840         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36842         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36844         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36846         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36848         Moved ...
36849         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36850         Update #include.
36851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36852         Moved ...
36853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36854         Update #include.
36855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36856         Moved ...
36857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36858         Update #include.
36859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36860         Moved ...
36861         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36862         Update #include.
36863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36864         Moved ...
36865         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36866         Update #include.
36867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36868         Moved ...
36869         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36870         Update #include.
36871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36872         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36874         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36882         Moved ...
36883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36887         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36889 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36891         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36892         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36893         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36894         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36895         * nscd/nscd.c: Likewise.
36896         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36897         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36898         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36899         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36901         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36902         <kernel-features.h>.
36903         (init_mq_netlink): Remove conditional have_sock_cloexec
36904         definitions.  Remove code conditional on have_sock_cloexec < 0.
36905         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36906         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36907         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36908         <kernel-features.h>.
36909         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36910         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36912 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36915         Add tests for memset_chk and memset.
36917         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36918         with AVX2_Usable.
36920 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36922         [BZ #16046]
36923         * elf/tst-dl-iter-static.c: New file.
36924         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36926         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36927         error.
36929 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36931         * sysdeps/unix/sysv/linux/kernel-features.h
36932         (__ASSUME_F_GETOWN_EX): Remove macro.
36933         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36934         <kernel-features.h>.
36935         (miss_F_GETOWN_EX): Remove variable or macro.
36936         (do_fcntl): Do not check miss_F_GETOWN_EX.
36937         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36939         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36940         Remove macro.
36941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36942         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36943         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36945         * sysdeps/unix/sysv/linux/kernel-features.h
36946         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36947         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36948         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36949         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36951 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36953         [BZ #17075]
36954         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36955         Fix calculation of the symbol's value.
36956         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36957         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36958         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36959         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36960         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36961         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36962         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36963         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36964         (modules-names): Add `tst-armtlsdescmod',
36965         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36966         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36967         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36968         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36969         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36970         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36971         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36972         ($(objpfx)tst-armtlsdescloc): New dependency.
36973         ($(objpfx)tst-armtlsdescextnow): Likewise.
36974         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36975         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36976         TLS scheme support.
36977         * sysdeps/arm/configure: Regenerate.
36979 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36981         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36982         (__atfct_seterrno_2): Likewise.
36983         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36984         <kernel-features.h>.
36985         (__ASSUME_ATFCTS): Do not undefine and redefine.
36986         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36987         (__have_atfcts): Remove conditional definition.
36988         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36990         unreachable if [__ASSUME_ATFCTS].
36991         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36992         not undefine and redefine.
36993         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36994         <kernel-features.h>.
36995         (faccessat) [__NR_faccessat]: Make code unconditional.
36996         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36997         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36998         <kernel-features.h>.
36999         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37000         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37001         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37002         <kernel-features.h>.
37003         (fchownat) [__NR_fchownat]: Make code unconditional.
37004         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37005         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37006         <kernel-features.h>.
37007         (futimesat) [__NR_futimesat]: Make code unconditional.
37008         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37009         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37010         <kernel-features.h>.
37011         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37012         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37013         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37014         <kernel-features.h>.
37015         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37016         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37017         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37018         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37019         <kernel-features.h>.
37020         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37021         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37022         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37023         <kernel-features.h>.
37024         (linkat) [__NR_linkat]: Make code unconditional.
37025         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37026         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37027         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37028         <kernel-features.h>.
37029         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37030         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37031         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37032         <kernel-features.h>.
37033         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37034         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37035         * sysdeps/unix/sysv/linux/openat.c: Do not include
37036         <kernel-features.h>.
37037         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37038         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37039         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37040         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37041         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37042         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37043         <kernel-features.h>.
37044         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37045         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37046         result of INLINE_SYSCALL directly, not via int variable.
37047         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37048         <kernel-features.h>.
37049         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37050         (renameat) [__NR_renameat]: Make code unconditional.
37051         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37052         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37053         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37054         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37055         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37056         (__ASSUME_ATFCTS): Do not undefine and redefine.
37057         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37058         <kernel-features.h>.
37059         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37060         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37061         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37062         <kernel-features.h>.
37063         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37064         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37065         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37066         (__ASSUME_ATFCTS): Do not undefine and redefine.
37067         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37068         <kernel-features.h>.
37069         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37070         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37071         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37072         <kernel-features.h>.
37073         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37074         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37076 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37078         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37080 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37082         [BZ #17069]
37083         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37084         constructed tree before returning error.
37085         * posix/bug-regexp36.c: Expand test case.
37087 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37089         [BZ #6803]
37090         * math/libm-test.inc (scalbln_test_date):
37091         Add errno expectations.
37092         * math/w_scalblnf.c: New File.
37093         Add wrapper which checks for setting errno to ERANGE.
37094         Add weak_alias for corresponding scalbln function.
37095         * math/w_scalbln.c: Likewise.
37096         * math/w_scalblnl.c: Likewise.
37097         * math/Makefile (libm-calls): Add w_scalbln.
37098         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37099         Remove weak_alias for corresponding scalbln function.
37100         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37103         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37104         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37105         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37106         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37107         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37108         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37109         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37110         Remove long_double_symbol for scalblnl function in libm, libc.
37111         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37112         Add wrapper which checks for setting errno to ERANGE.
37113         Add long_double_symbol for scalblnl function in libm, libc.
37114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37115         Remove long_double_symbol for scalblnl in libm.
37116         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37117         Add wrapper which checks for setting errno to ERANGE.
37118         Add long_double_symbol for scalblnl function in libm.
37119         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37120         Do not use wrapper because of own implementation.
37122 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37124         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37125         3 bytes for __pad1 for x32.
37126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37128 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37129             H.J. Lu  <hongjiu.lu@intel.com>
37131         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37132         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37133         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37134         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37135         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37137 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37139         [BZ #17069]
37140         * posix/regcomp.c (parse_expression): Deallocate partially
37141         constructed tree before returning error.
37142         * posix/Makefile.c (tests): Add bug-regex36.
37143         (generated): Add bug-regex36.mtrace.
37144         (tests-special): Add $(objpfx)bug-regex36-mem.out
37145         (bug-regex36-ENV): New variable.
37146         ($(objpfx)bug-regex36-mem.out): New rule.
37147         * posix/bug-regex36.c: New file.
37149 2014-06-19  Will Newton  <will.newton@linaro.org>
37151         * malloc/malloc.c (systrim): If extra is zero then return
37152         early.
37154 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37156         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37158 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37160         * sysdeps/aarch64/strchr.S: New file.
37162 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37164         [BZ #17022]
37165         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37166         from arguments -2 or below.
37167         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37168         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37170 2014-06-18  Andreas Schwab  <schwab@suse.de>
37172         [BZ #17062]
37173         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37174         of a bracket expr not to run off the end of the string.
37175         * posix/Makefile (tests): Add tst-fnmatch3.
37176         * posix/tst-fnmatch3.c: New file.
37178 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37180         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37181         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37182         [$(cross-compiling) = no]: Likewise.
37183         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37184         [$(cross-compiling) = no]: Likewise.
37186 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37188         [BZ #17031]
37189         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37190         double, adjusted for any remainder from the high double.
37191         * math/libm-test.inc (nearbyint): Add tests.
37192         (rint): Likewise.
37194 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37196         * nptl/sysdeps/powerpc/Makefile: Moved ...
37197         * sysdeps/powerpc/nptl/Makefile: ... here.
37198         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37199         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37200         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37201         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37202         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37203         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37204         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37205         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37206         * nptl/sysdeps/powerpc/tls.h: Moved ...
37207         * sysdeps/powerpc/nptl/tls.h: ... here.
37209 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37211         [BZ #16681]
37212         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37213         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37214         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37215         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37216         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37217         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37218         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37219         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37220         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37222 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37224         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37226 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37228         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37229         defined operator.
37231         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37232         $TIMEOUTFACTOR.
37234 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37236         [BZ #17058]
37237         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37238         non-executed part of the test.
37240 2014-06-16  Andreas Schwab  <schwab@suse.de>
37242         * string/bits/string2.h (strdup, strndup): Update feature guard.
37244 2014-06-14  David S. Miller  <davem@davemloft.net>
37246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37248 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37250         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37251         that was previously under [RESET_PID].
37252         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37254         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37255         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37256         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37257         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37258         (__libc_vfork): New strong alias.
37259         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37261 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37263         * sysdeps/generic/elide.h: New file.
37265 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37267         * Makefile (installed-headers): Adjust path of pthread.h header.
37269 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37272         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37273         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37274         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37276         * nptl/sysdeps/s390/Makefile: Moved ...
37277         * sysdeps/s390/nptl/Makefile: ... here.
37278         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37279         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37280         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37281         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37282         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37283         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37284         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37285         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37286         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37287         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37288         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37289         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37290         * nptl/sysdeps/s390/tls.h: Moved ...
37291         * sysdeps/s390/nptl/tls.h: ... here.
37293         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37294         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37296 2014-06-13  David S. Miller  <davem@davemloft.net>
37298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37301         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37305         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37306         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37307         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37308         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37309         Remove RESET_PID cpp guards.
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37311         Remove RESET_PID cpp guards.
37312         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37314 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37316         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37317         __sp to uintptr_t.
37319 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37342         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37343         (pthread_rwlock_rdlock): Add elision.
37344         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37345         (pthread_rwlock_wrlock): Add elision.
37346         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37347         (pthread_rwlock_trywrlock): Add elision.
37348         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37349         (pthread_rwlock_tryrdlock): Add elision.
37350         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37351         (pthread_rwlock_tryrdlock): Add elision unlock.
37352         * nptl/sysdeps/pthread/pthread.h:
37353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37354         (PTHREAD_RWLOCK_INITIALIZER,
37355         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37356         Handle new elision field.
37357         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37358         * sysdeps/arm/nptl/bits/pthreadtypes.h
37359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37360         * sysdeps/sh/nptl/bits/pthreadtypes.h
37361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37362         * sysdeps/tile/nptl/bits/pthreadtypes.h
37363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37364         * sysdeps/a/nptl/bits/pthreadtypes.h
37365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37366         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37368         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37370         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37372         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37374         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37376         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37378         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37380         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37382         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37383         (elision_init): Set try_xbegin to zero when no RTM.
37384         * sysdeps/x86/nptl/bits/pthreadtypes.h
37385         (pthread_rwlock_t): Change __pad1 to __rwelision.
37386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37388 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37390         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37391         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37392         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37393         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37395 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37397         [BZ #16996]
37398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37399         that the cached result has been set before returning it.
37401 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37403         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37404         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37406         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37407         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37408         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37410         * nptl/sysdeps/sparc/Makefile: Moved ...
37411         * sysdeps/sparc/nptl/Makefile: ... here.
37412         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37413         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37414         * nptl/sysdeps/sparc/tls.h: Moved ...
37415         * sysdeps/sparc/nptl/tls.h: ... here.
37416         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37417         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37418         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37419         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37420         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37421         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37422         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37423         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37424         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37425         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37426         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37427         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37428         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37429         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37430         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37431         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37432         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37434         Update #include.
37435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37437         Update #include.
37438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37440         Update #include.
37441         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37442         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37443         Update #include.
37445         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37447         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37448         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37450         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37451         (struct list_links): Type removed.
37452         (struct thread_node, struct timer_node): Replace struct list_links
37453         with struct list_head.
37454         (list_unlink_ip): Likewise.
37455         * sysdeps/pthread/timer_routines.c
37456         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37457         (list_append, list_insbefore): Likewise.
37458         (list_init): Function removed.
37459         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37460         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37461         * sysdeps/pthread/Makefile: ... here, new file.
37463         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37464         * sysdeps/nptl/Implies: ... here.
37465         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37466         * nptl/sysdeps/pthread/list.h: Moved ...
37467         * include/list.h: ... here.
37468         * nptl/sysdeps/pthread/createthread.c: Moved ...
37469         * nptl/createthread.c: ... here.
37470         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37471         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37472         * nptl/pt-longjmp.c: ... here.
37473         * nptl/sysdeps/pthread/Makefile: Moved ...
37474         * sysdeps/nptl/Makefile: ... here.
37475         * nptl/sysdeps/pthread/Subdirs: Moved ...
37476         * sysdeps/nptl/Subdirs: ... here.
37477         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37478         * sysdeps/nptl/aio_misc.h: ... here.
37479         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37480         * sysdeps/nptl/bits/libc-lock.h: ... here.
37481         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37482         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37483         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37484         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37485         * nptl/sysdeps/pthread/configure: Moved ...
37486         * sysdeps/nptl/configure: ... here.
37487         * nptl/sysdeps/pthread/configure.ac: Moved ...
37488         * sysdeps/nptl/configure.ac: ... here.
37489         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37490         * sysdeps/nptl/gai_misc.h: ... here.
37491         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37492         * sysdeps/nptl/librt-cancellation.c: ... here.
37493         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37494         * sysdeps/nptl/malloc-machine.h: ... here.
37495         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37496         * sysdeps/nptl/pthread-functions.h: ... here.
37497         * nptl/sysdeps/pthread/pthread.h: Moved ...
37498         * sysdeps/nptl/pthread.h: ... here.
37499         * nptl/sysdeps/pthread/setxid.h: Moved ...
37500         * sysdeps/nptl/setxid.h: ... here.
37501         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37502         * sysdeps/nptl/sigfillset.c: ... here.
37503         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37504         * sysdeps/nptl/tcb-offsets.h: ... here.
37505         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37506         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37507         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37508         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37509         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37510         * sysdeps/pthread/allocalim.h: ... here.
37511         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37512         * sysdeps/pthread/bits/sigthread.h: ... here.
37513         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37514         * sysdeps/pthread/flockfile.c: ... here.
37515         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37516         * sysdeps/pthread/ftrylockfile.c: ... here.
37517         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37518         * sysdeps/pthread/funlockfile.c: ... here.
37519         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37520         * sysdeps/pthread/posix-timer.h: ... here.
37521         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37522         * sysdeps/pthread/timer_create.c: ... here.
37523         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37524         * sysdeps/pthread/timer_delete.c: ... here.
37525         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37526         * sysdeps/pthread/timer_getoverr.c: ... here.
37527         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37528         * sysdeps/pthread/timer_gettime.c: ... here.
37529         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37530         * sysdeps/pthread/timer_routines.c: ... here.
37531         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37532         * sysdeps/pthread/timer_settime.c: ... here.
37533         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37534         * sysdeps/pthread/tst-timer.c: ... here.
37535         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37536         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37538         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37539         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37541         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37542         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37543         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37544         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37545         Update #include target.
37546         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37547         * sysdeps/i386/i686/nptl/Makefile: ... here.
37548         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37549         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37550         Update #include target.
37551         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37552         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37553         * nptl/sysdeps/i386/Makefile: Moved ...
37554         * sysdeps/i386/nptl/Makefile: ... here.
37555         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37556         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37557         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37558         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37559         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37560         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37561         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37562         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37563         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37564         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37565         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37566         * nptl/sysdeps/i386/tls.h: Moved ...
37567         * sysdeps/i386/nptl/tls.h: ... here.
37569         * sysdeps/sh/Makefile [$(subdir) = csu]
37570         (gen-as-const-headers): Add tcb-offsets.sym.
37571         * nptl/sysdeps/sh/Makefile: File removed.
37572         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37573         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37574         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37575         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37576         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37577         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37578         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37579         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37580         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37581         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37582         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37583         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37584         * nptl/sysdeps/sh/tls.h: Moved ...
37585         * sysdeps/sh/nptl/tls.h: ... here.
37586         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37587         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37588         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37589         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37590         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37591         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37592         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37593         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37594         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37595         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37597         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37599         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37600         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37601         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37603         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37605         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37607         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37609         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37611         Moved ...
37612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37614         Moved ...
37615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37620         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37621         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37622         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37623         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37624         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37625         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37626         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37627         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37628         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37629         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37630         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37631         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37632         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37633         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37635 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37637         * posix/spawn_faction_addopen.c: Include string.h.
37639 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37641         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37642         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37643         * nptl/sysdeps/x86_64/Makefile: Moved ...
37644         * sysdeps/x86_64/nptl/Makefile: ... here.
37645         * nptl/sysdeps/x86_64/configure: Moved ...
37646         * sysdeps/x86_64/nptl/configure: ... here.
37647         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37648         * sysdeps/x86_64/nptl/configure.ac: ... here.
37649         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37650         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37651         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37652         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37653         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37654         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37655         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37656         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37657         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37658         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37659         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37660         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37661         * nptl/sysdeps/x86_64/tls.h: Moved ...
37662         * sysdeps/x86_64/nptl/tls.h: ... here.
37663         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37664         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37665         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37666         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37668         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37670 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37674 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37676         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37677         type.
37678         [POSIX] (off_t): Likewise.
37679         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37680         [POSIX] (S_ISBLK): Require macro.
37681         [POSIX] (S_ISCHR): Likewise.
37682         [POSIX] (S_ISDIR): Likewise.
37683         [POSIX] (S_ISFIFO): Likewise.
37684         [POSIX] (S_ISREG): Likewise.
37685         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37686         optional-macro.
37687         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37688         type.
37689         [POSIX] (time_t): Likewise.
37690         [POSIX] (timer_t): Likewise.
37692 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37694         [BZ #17048]
37695         * posix/spawn_int.h (struct __spawn_action): Make the path string
37696         non-const to support deallocation.
37697         * posix/spawn_faction_addopen.c
37698         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37699         * posix/spawn_faction_destroy.c
37700         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37701         path in all spawn_do_open actions.
37702         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37703         posix_spawn_file_actions_addopen.
37705 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37707         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37708         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37709         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37710         conditional code always true.
37711         (__libc_vfork): New alias.
37713 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37715         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37716         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37718         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37720         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37721         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37723         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37724         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37726         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37727         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37729 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37731         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37732         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37733         multiarch strcmp for PPC64.
37734         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37735         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37737         multiarch optimizations.
37738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37739         (__libc_ifunc_impl_list): Likewise.
37741 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37743         * benchtests/scripts/validate_benchout.py: New script.
37744         * benchtests/Makefile (bench-func): Call it.
37745         * benchtests/scripts/benchout.schema.json: New file.
37747 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37749         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37750         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37751         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37752         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37753         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37754         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37755         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37756         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37757         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37758         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37759         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37760         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37761         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37762         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37763         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37764         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37766         Moved ...
37767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37768         ... here.
37769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37770         Moved ...
37771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37773         Moved ...
37774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37775         ... here.
37776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37777         Moved ...
37778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37779         ... here.
37780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37781         Moved ...
37782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37784         Moved ...
37785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37786         ... here.
37787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37788         Moved ...
37789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37790         ... here.
37791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37792         Moved ...
37793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37795         Moved ...
37796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37797         ... here.
37798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37799         Moved ...
37800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37801         ... here.
37802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37803         Moved ...
37804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37805         ... here.
37806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37807         Moved ...
37808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37810         Moved ...
37811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37812         ... here.
37813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37814         Moved ...
37815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37816         ... here.
37817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37818         Moved ...
37819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37820         ... here.
37821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37822         Moved ...
37823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37825         Moved ...
37826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37827         ... here.
37828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37829         Moved ...
37830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37831         ... here.
37832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37833         Moved ...
37834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37836         Moved ...
37837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37838         ... here.
37839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37840         Moved ...
37841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37843         Moved ...
37844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37846         Moved ...
37847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37848         ... here.
37849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37850         Moved ...
37851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37852         ... here.
37853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37854         Moved ...
37855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37856         ... here.
37857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37858         Moved ...
37859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37861         Moved ...
37862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37863         ... here.
37864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37865         Moved ...
37866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37867         ... here.
37868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37869         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37871         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37873         Moved ...
37874         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37875         ... here.
37876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37877         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37881         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37883         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37887         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37889         Moved ...
37890         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37892         Moved ...
37893         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37895         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37897         Moved ...
37898         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37900         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37901         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37902         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37903         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37904         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37906 2014-06-10  Wilco  <wdijkstr@arm.com>
37908         * math/test-fenv-return.c: New file.
37909         * math/Makefile: Add new test test-fenv-return.
37911 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37913         [BZ #17042]
37914         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37915         when x - 1 is zero.
37916         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37917         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37918         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37919         0.0L for an argument of 1.0L.
37920         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37921         Likewise.
37922         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37923         value when x - 1 is zero.
37924         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37925         * sysdeps/i386/fpu/libm-test-ulps: Update.
37926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37928 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37930         [BZ #15119]
37931         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37933 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37935         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37936         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37938 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37940         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37941         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37943         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37944         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37946         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37947         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37949         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37950         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37952         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37953         if not already defined.
37954         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37955         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37956         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37957         (TLS_INIT_TP): Use it.
37958         (TLS_DEFINE_INIT_TP): New macro.
37959         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37961 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37963         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37964         constant.
37965         [POSIX] (IXANY): Likewise.
37966         [POSIX] (OLCUC): Likewise.
37967         [POSIX || POSIX2008] (CBAUD): Do not allow.
37968         [POSIX || POSIX2008] (DEFECHO): Likewise.
37969         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37970         [POSIX || POSIX2008] (ECHOKE): Likewise.
37971         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37972         [POSIX || POSIX2008] (EXTA): Likewise.
37973         [POSIX || POSIX2008] (EXTB): Likewise.
37974         [POSIX || POSIX2008] (FLUSHO): Likewise.
37975         [POSIX || POSIX2008] (LOBLK): Likewise.
37976         [POSIX || POSIX2008] (PENDIN): Likewise.
37977         [POSIX || POSIX2008] (SWTCH): Likewise.
37978         [POSIX || POSIX2008] (VDISCARD): Likewise.
37979         [POSIX || POSIX2008] (VDSUSP): Likewise.
37980         [POSIX || POSIX2008] (VLNEXT): Likewise.
37981         [POSIX || POSIX2008] (VREPRINT): Likewise.
37982         [POSIX || POSIX2008] (VSTATUS): Likewise.
37983         [POSIX || POSIX2008] (VWERASE): Likewise.
37984         (B*): Change to B[0123456789]*.
37985         * conform/data/time.h-data [POSIX || UNIX98]
37986         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37987         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37988         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37989         [POSIX] (tm_*): Do not allow.
37991 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37993         * Makefile (install): Don't set LANGUAGE.
37994         * Makefile.in (install): Likewise.
37995         * assert/Makefile (test-assert-ENV): Remove variable.
37996         (test-assert-perr-ENV): Likewise.
37997         * elf/Makefile (neededtest4-ENV): Likewise.
37998         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37999         [$(cross-compiling) = no]: Don't set LANGUAGE.
38000         * io/ftwtest-sh (LANG): Remove variable.
38001         * libio/Makefile (tst-widetext-ENV): Likewise.
38002         * manual/install.texi (Running make install): Don't refer to
38003         environment settings for make install.
38004         * INSTALL: Regenerated.
38005         * nptl/tst-tls6.sh: Don't set LANG.
38006         * posix/globtest.sh (LANG): Remove variable.
38007         * string/Makefile (tester-ENV): Likewise.
38008         (inl-tester-ENV): Likewise.
38009         (noinl-tester-ENV): Likewise.
38010         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38011         [$(cross-compiling) = no]: Don't set LANGUAGE.
38012         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38013         without explicit environment settings.
38015 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38017         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38018         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38019         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38020         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38022 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38024         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38025         other files in the crypt directory.
38026         * crypt/crypt.c: Remove duplicate includes.
38027         * crypt/crypt-entry.c: Likewise.
38028         * crypt/crypt_util.c: Likewise.
38030 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38032         * Makeconfig (run-program-env): New variable.
38033         (run-program-prefix-before-env): Likewise.
38034         (run-program-prefix-after-env): Likewise.
38035         (run-program-prefix): Define in terms of new variables.
38036         (built-program-cmd-before-env): New variable.
38037         (built-program-cmd-after-env): Likewise.
38038         (built-program-cmd): Define in terms of new variables.
38039         (test-program-prefix-before-env): New variable.
38040         (test-program-prefix-after-env): Likewise.
38041         (test-program-prefix): Define in terms of new variables.
38042         (test-program-cmd-before-env): New variable.
38043         (test-program-cmd-after-env): Likewise.
38044         (test-program-cmd): Define in terms of new variables.
38045         * Rules (make-test-out): Use $(run-program-env).
38046         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38047         (help): Do not mention environment variables.  Mention
38048         --timeoutfactor option.
38049         (timeoutfactor): New variable.
38050         (blacklist_exports): Remove function.
38051         (exports): Remove variable.
38052         (command): Do not include ${exports}.
38053         * manual/install.texi (Configuring and compiling): Do not mention
38054         test wrappers preserving environment variables.  Mention that last
38055         assignment to a variable must take precedence.
38056         * INSTALL: Regenerated.
38057         * benchtests/Makefile (run-bench): Use $(run-program-env).
38058         * catgets/Makefile ($(objpfx)test1.cat): Use
38059         $(built-program-cmd-before-env), $(run-program-env) and
38060         $(built-program-cmd-after-env).
38061         ($(objpfx)test2.cat): Do not specify environment variables
38062         explicitly.
38063         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38064         $(run-program-env) and $(built-program-cmd-after-env).
38065         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38066         $(run-program-env) and $(test-program-cmd-after-env).
38067         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38068         explicitly.
38069         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38070         run_program_env and test_program_cmd_after_env arguments.
38071         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38072         * elf/tst-pathopt.sh: Use run_program_env argument.
38073         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38074         $(test-wrapper-env) and $(run-program-env).
38075         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38076         run_program_env arguments.
38077         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38078         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38079         $(test-program-prefix-before-env), $(run-program-env) and
38080         $(test-program-prefix-after-env).
38081         ($(objpfx)tst-gettext2.out): Likewise.
38082         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38083         run_program_env and test_program_prefix_after_env arguments.
38084         * intl/tst-gettext2.sh: Likewise.
38085         * intl/tst-gettext4.sh: Do not set environment variables
38086         explicitly.
38087         * intl/tst-gettext6.sh: Likewise.
38088         * intl/tst-translit.sh: Likewise.
38089         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38090         $(test-program-prefix-before-env), $(run-program-env) and
38091         $(test-program-prefix-after-env).
38092         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38093         run_program_env and test_program_prefix_after_env arguments.
38094         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38095         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38096         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38097         explicitly with each use of ${test_wrapper_env}.
38098         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38099         $(test-program-prefix-before-env), $(run-program-env) and
38100         $(test-program-prefix-after-env).
38101         * posix/tst-getconf.sh: Do not set environment variables
38102         explicitly.
38103         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38104         run_program_env and test_program_prefix_after_env arguments.
38105         * stdio-common/tst-printf.sh: Do not set environment variables
38106         explicitly.
38107         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38108         $(test-program-prefix-before-env), $(run-program-env) and
38109         $(test-program-prefix-after-env).
38110         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38111         run_program_env and test_program_prefix_after_env arguments.
38112         Split $test calls into $test_pre and $test.
38113         * timezone/Makefile (build-testdata): Use
38114         $(built-program-cmd-before-env), $(run-program-env) and
38115         $(built-program-cmd-after-env).
38117 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38119         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38120         strlen for non SHARED builds.
38122 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38124         * nptl/allocatestack.c (check_list): Inlined function...
38125         (__reclaim_stacks): ... here.
38127 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38129         [BZ #15698]
38130         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38131         memory overrun.
38133 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38135         * Rules (make-test-out): Include
38136         LOCPATH=$(common-objpfx)localedata in default environment.
38137         * debug/Makefile (tst-chk1-ENV): Remove variable.
38138         (tst-chk2-ENV): Likewise.
38139         (tst-chk3-ENV): Likewise.
38140         (tst-chk4-ENV): Likewise.
38141         (tst-chk5-ENV): Likewise.
38142         (tst-chk6-ENV): Likewise.
38143         (tst-lfschk1-ENV): Likewise.
38144         (tst-lfschk2-ENV): Likewise.
38145         (tst-lfschk3-ENV): Likewise.
38146         (tst-lfschk4-ENV): Likewise.
38147         (tst-lfschk5-ENV): Likewise.
38148         (tst-lfschk6-ENV): Likewise.
38149         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38150         (tst-iconv7-ENV): Likewise.
38151         * intl/Makefile (LOCPATH-ENV): Likewise.
38152         (tst-codeset-ENV): Likewise.
38153         (tst-gettext3-ENV): Likewise.
38154         (tst-gettext5-ENV): Likewise.
38155         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38156         (tst-fopenloc-ENV): Likewise.
38157         (tst-fgetws-ENV): Remove variable.
38158         (tst-ungetwc1-ENV): Likewise.
38159         (tst-ungetwc2-ENV): Likewise.
38160         (bug-ungetwc2-ENV): Likewise.
38161         (tst-swscanf-ENV): Likewise.
38162         (bug-ftell-ENV): Likewise.
38163         (tst-fgetwc-ENV): Likewise.
38164         (tst-fseek-ENV): Likewise.
38165         (tst-ftell-partial-wide-ENV): Likewise.
38166         (tst-ftell-active-handler-ENV): Likewise.
38167         (tst-ftell-append-ENV): Likewise.
38168         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38169         (tst-regexloc-ENV): Likewise.
38170         (bug-regex1-ENV): Likewise.
38171         (tst-regex-ENV): Likewise.
38172         (tst-regex2-ENV): Likewise.
38173         (bug-regex5-ENV): Likewise.
38174         (bug-regex6-ENV): Likewise.
38175         (bug-regex17-ENV): Likewise.
38176         (bug-regex18-ENV): Likewise.
38177         (bug-regex19-ENV): Likewise.
38178         (bug-regex20-ENV): Likewise.
38179         (bug-regex22-ENV): Likewise.
38180         (bug-regex23-ENV): Likewise.
38181         (bug-regex25-ENV): Likewise.
38182         (bug-regex26-ENV): Likewise.
38183         (bug-regex30-ENV): Likewise.
38184         (bug-regex32-ENV): Likewise.
38185         (bug-regex33-ENV): Likewise.
38186         (bug-regex34-ENV): Likewise.
38187         (bug-regex35-ENV): Likewise.
38188         (tst-rxspencer-ENV): Likewise.
38189         (tst-rxspencer-no-utf8-ENV): Likewise.
38190         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38191         (tst-sscanf-ENV): Likewise.
38192         (tst-swprintf-ENV): Likewise.
38193         (tst-swscanf-ENV): Likewise.
38194         (test-vfprintf-ENV): Likewise.
38195         (scanf13-ENV): Likewise.
38196         (bug14-ENV): Likewise.
38197         (tst-grouping-ENV): Likewise.
38198         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38199         (tst-strtod3-ENV): Likewise.
38200         (tst-strtod4-ENV): Likewise.
38201         (tst-strtod5-ENV): Likewise.
38202         (testmb2-ENV): Likewise./
38203         * string/Makefile (tst-strxfrm-ENV): Likewise.
38204         (tst-strxfrm2-ENV): Likewise.
38205         (bug-strcoll1-ENV): Likewise.
38206         (test-strcasecmp-ENV): Likewise.
38207         (test-strncasecmp-ENV): Likewise.
38208         * time/Makefile (tst-strptime-ENV): Likewise.
38209         (tst-ftime_l-ENV): Likewise.
38210         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38211         (tst-mbrtowc-ENV): Likewise.
38212         (tst-wcrtomb-ENV): Likewise.
38213         (tst-mbrtowc2-ENV): Likewise.
38214         (tst-c16c32-1-ENV): Likewise.
38215         (tst-mbsnrtowcs-ENV): Likewise.
38217 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38219         * manual/resource.texi (How to get information about the memory
38220         subsystem?): Fix typo.
38221         Reported by Peon de la Parra Ivan <peon@keba.com>
38223 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38225         [BZ #16882]
38226         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38227         (pthread_spin_lock): Branch out of spin loop to proper location.
38228         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38229         (pthread_spin_lock): Likewise.
38231         * nptl/tst-spin4.c: New test.
38232         * nptl/Makefile (tests): Add tst-spin4.
38234 2014-06-03  Andreas Schwab  <schwab@suse.de>
38236         [BZ #15946]
38237         * resolv/res_send.c (send_dg): Reload file descriptor after
38238         calling reopen.
38240 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38242         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38244 2014-06-03  Richard Henderson  <rth@redhat.com>
38246         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38247         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38248         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38249         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38250         in the SAVE_PID block.
38251         (__libc_vfork): New alias.
38252         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38254         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38255         child in registers, not on the stack.  Remove RESET_PID conditionals.
38256         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38258 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38260         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38262 2014-06-03  Wilco  <wdijkstr@arm.com>
38264         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38265         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38266         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38267         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38268         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38269         Likewise.
38271 2014-06-03  Wilco  <wdijkstr@arm.com>
38273         * sysdeps/aarch64/fpu/math_private.h
38274         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38275         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38276         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38277         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38278         Fix declarations.
38280 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38282         * crypt/crypt-private.h: Include ufc-crypt.h.
38283         (__b64_from_24bit): Declare extern.
38284         * crypt/crypt_util.c(__b64_from_24bit): New function.
38285         (b64t): New static const variable.
38286         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38287         (b64t): Remove variable.
38288         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38289         * crypt/sha256-crypt.c: Include crypt-private.h.
38290         (b64t): Remove variable.
38291         (__sha256_crypt_r): Remove b64_from_24bit and replace
38292         with __b64_from_24bit.
38293         * crypt/sha512-crypt.c: Likewise.
38295 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38297         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38298         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38299         Label the code __libc_vfork rather than __vfork.
38300         [!NOT_IN_libc] (vfork): Define as weak alias.
38301         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38302         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38303         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38305 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38307         * malloc/malloc.c (malloc_info): Fix format specifier for
38308         n_mmaps.
38310 2014-06-02  Wilco  <wdijkstr@arm.com>
38312         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38313         FPCR write.
38315 2014-06-02  Wilco  <wdijkstr@arm.com>
38317         [BZ #17009]
38318         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38319         Rewrite to reduce FPCR/FPSR accesses.
38321 2014-06-01  David S. Miller  <davem@davemloft.net>
38323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38325 2014-05-31  David S. Miller  <davem@davemloft.net>
38327         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38328         to occur in round to nearest mode when |x| >= 2.0
38330 2014-05-30  Richard Henderson  <rth@twiddle.net>
38332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38333         (PSEUDO_RET_NOERRNO): Remove.
38334         (ret): Don't redefine.
38335         (ret_NOERRNO): Define in terms of ret.
38336         (ret_ERRVAL): Likewise.
38338         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38339         use of PSEUDO_RET; perform the error check directly.
38341 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38343         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38344         with __int128_t.
38346 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38348         * malloc/malloc (malloc_info): Fix formatting.
38350 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38351             Roland McGrath  <roland@hack.frob.com>
38353         * malloc/malloc (malloc_info): Also print mmapped statistics.
38355 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38357         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38358         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38360 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38362         * malloc/malloc.c (malloc_info): Inline mi_arena.
38364 2014-05-29  Richard Henderson  <rth@twiddle.net>
38366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38367         Remove comma before expanding ASM_ARGS_##nr.
38368         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38369         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38370         of ASM_ARGS_##nr.
38371         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38372         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38373         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38374         (ASM_ARGS_1): Add leading comma.
38376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38377         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38378         to __errno_location.
38379         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38380         Remove the expected plt for __errno_location.
38382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38383         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38384         call to __read_tp.
38386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38387         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38388         it and break it down.
38389         (DOCARGS_0, DOCARGS_1): Do nothing.
38390         (DOCARGS_2): Update to store into the new stack frame.
38391         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38392         (UNDOCARGS_1): Update to restore from the new stack frame.
38393         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38394         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38397         (SINGLE_THREAD_P): New parameter for result regno.
38398         (PSEUDO): Update to match; use cbz instead of beq.
38400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38401         Use ENTRY to define the _nocancel entry point.  Share the syscall
38402         and syscall error check paths with the cancel path.
38403         (PSEUDO_END): New.
38405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38406         whitespace; tabs before and after asm mnemonics.
38408 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38410         [BZ #15132]
38411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38412         Call fstat64 or stat64 internally, depending on arguments passed.
38413         Replace stat buffer argument with file descriptor argument.
38414         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38415         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38416         Pass fd to __internal_statvfs instead of calling fstat64.
38417         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38418         Pass fd to __internal_statvfs64 instead of calling fstat64.
38419         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38420         Pass -1 to __internal_statvfs instead of calling stat64.
38421         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38422         Pass -1 to __internal_statvfs64 instead of calling stat64.
38424 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38426         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38427         that was previously under [RESET_PID].
38428         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38430         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38431         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38433 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38435         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38437         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38438         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38440 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38442         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38444 2014-05-27  Andreas Schwab  <schwab@suse.de>
38446         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38447         TLS_INIT_TP macro.
38448         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38449         * elf/rtld.c (init_tls, dl_main): Likewise.
38450         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38451         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38452         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38453         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38454         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38455         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38456         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38457         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38458         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38459         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38460         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38461         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38462         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38463         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38464         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38465         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38466         * sysdeps/generic/tls.h: Update description.
38468 2014-05-27  Will Newton  <will.newton@linaro.org>
38470         [BZ #16990]
38471         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38472         and restore r2 rather than just restoring.
38474 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38476         [BZ #16724]
38477         * libio/tst-ftell-append.c: New test case.
38478         * libio/Makefile (tests): Add test case.
38479         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38480         append mode.
38481         * libio/wfileops.c (do_ftell_wide): Likewise.
38483 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38487         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38488         ...
38489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38491         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38492         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38493         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38494         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38495         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38496         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38498         Moved ...
38499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38501         Moved ...
38502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38503         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38504         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38505         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38506         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38508         ...
38509         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38510         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38511         Moved ...
38512         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38513         here.
38514         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38515         ...
38516         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38517         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38518         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38521         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38523         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38526         merge into ...
38527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38529         ...
38530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38532         ...
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38535         Moved ...
38536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38537         here.
38538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38539         Moved ...
38540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38542         Moved ...
38543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38546         conditional [RESET_PID].
38547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38549         removed.
38550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38551         removed.
38553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38554         <tcb-offsets.h>.
38555         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38556         (__libc_vfork): New strong alias.
38557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38558         removed.
38559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38560         Removed.
38562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38563         <tcb-offsets.h>.
38564         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38565         (__libc_vfork): New strong alias.
38566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38567         removed.
38568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38569         removed.
38571 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38573         * malloc/malloc.c (mi_arena): New function.
38574         (malloc_info): Remove nested function mi_arena. Call non-nosted
38575         function mi_arena.
38577 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38579         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38580         by insrwi.
38581         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38582         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38583         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38584         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38585         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38586         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38587         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38589 2014-05-26  Andreas Schwab  <schwab@suse.de>
38591         [BZ #16984]
38592         * locale/programs/repertoire.c (repertoire_read): Add slash
38593         between I18NPATH element and file name.
38594         * locale/programs/locfile.c (locfile_read): Likewise.
38596 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38598         * nptl/pthread_mutexattr_settype.c
38599         (__pthread_mutexattr_settype):
38600         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38602 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38604         * nptl/tst-mutex5 (do_test):
38605         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38607 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38609         * benchtests/README: Document 'init' directive.
38610         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38611         BENCH_INIT.
38612         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38613         (parse_file): Recognize 'init' directive.
38615 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38617         [BZ #16796]
38618         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38619         alignment of struct pthread.
38621 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38623         [BZ #16878]
38624         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38625         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38626         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38627         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38629 2014-05-25  Richard Henderson  <rth@twiddle.net>
38631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38632         (SINGLE_THREAD_P_PIC): Remove.
38633         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38634         (SINGLE_THREAD_P_PIC): Remove.
38636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38637         branch to syscall error ...
38638         (PSEUDO): ... here.
38639         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38640         from __local_syscall_error to .Lsyscall_error.
38641         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38642         (SYSCALL_ERROR): Update label name.
38644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38645         Do not use DOARGS/UNDOARGS.
38646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38647         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38648         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38649         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38650         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38653         block comment.
38655         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38656         define if !NOT_IN_libc.
38657         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38658         define with non-default symbol versions.
38660 2014-05-23  Richard Henderson  <rth@twiddle.net>
38662         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38663         (vfork, __vfork): Define via compat_symbol.
38665         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38666         [!HAVE_IFUNC] (vfork_compat): Remove.
38667         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38669 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38671         [BZ #16978]
38672         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38673         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38674         variable.
38676 2014-05-23  Richard Henderson  <rth@twiddle.net>
38678         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38679         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38680         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38681         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38683         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38684         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38685         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38686         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38688         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38689         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38690         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38691         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38692         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38693         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38694         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38695         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38696         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38697         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38698         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38699         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38700         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38701         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38702         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38703         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38704         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38705         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38706         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38707         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38709         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38710         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38711         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38712         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38713         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38714         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38715         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38716         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38717         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38718         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38719         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38720         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38721         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38722         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38723         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38724         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38725         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38726         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38727         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38728         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38730         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38732         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38734         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38736         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38738         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38740         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38741         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38742         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38743         before exiting on error.
38744         (__libc_vfork): New strong alias.
38745         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38746         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38748         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38749         that was previously under [RESET_PID].
38750         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38752         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38754 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38756         [BZ #16977]
38757         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38758         value when x - 1 is zero.
38759         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38760         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38761         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38762         0.0L for an argument of 1.0L.
38763         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38764         Likewise.
38765         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38766         value when x - 1 is zero.
38767         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38768         * sysdeps/i386/fpu/libm-test-ulps: Update.
38769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38771 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38773         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38774         alphasort and versionsort.
38776 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38778         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38779         macro.
38780         [copysignf]: Likewise.
38782 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38784         * crypt/md5-crypt.c: Fix formatting.
38786 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38788         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38789         (b64_from_24bit): New function.
38791 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38794         libc_hidden_builtin_def to ifunc.
38795         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38796         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38798 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38800         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38801         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38803 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38805         * nscd/Depend (linuxthreads): Remove.
38806         (nptl): Add.
38807         * resolv/Depend (linuxthreads): Remove.
38808         * rt/Depend (linuxthreads): Remove.
38810         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38811         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38812         $(common-objpfx)elf/.
38813         (link-libc-before-gnulib): Likewise.
38814         (elfobjdir): Remove variable.
38815         * Makefile (install): Use $(elf-objpfx) instead of
38816         $(common-objpfx)elf/.
38817         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38818         $(elfobjdir)/.
38819         (link-libc-deps): Likewise.
38820         ($(common-objpfx)libc.so): Likewise.
38821         ($(common-objpfx)linkobj/libc.so): Likewise.
38822         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38823         instead of $(common-objpfx)elf/.
38824         (symbolic-link-list): Likewise.
38825         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38826         [$(cross-compiling) = no]: Likewise.
38827         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38828         $(elfobjdir)/.
38829         (static-gnulib-arch): Likewise.
38830         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38831         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38832         $(common-objpfx)elf/.
38834 2014-05-21  Richard Henderson  <rth@redhat.com>
38836         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38837         (SINGLE_THREAD_P): Use the correct width load.  Fold
38838         into the ldr offset.
38840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38841         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38843 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38845         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38846         (libgcc_s_resume): Use __attribute_used__.
38847         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38848         Likewise.
38850 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38852         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38853         optimization when used with float constants.
38855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38857 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38859         [BZ #16915]
38860         * locale/nl_langinfo_l.c: Make direct reference to every
38861         _nl_current_CATEGORY symbol.
38862         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38863         (tests-static): Add tst-langinfo-static.
38864         (tests-special): Add tst-langinfo-static.out.
38865         ($(objpfx)tst-langinfo.out): Redirect output.
38866         ($(objpfx)tst-langinfo-static.out): New.
38867         * localedata/tst-langinfo.sh: Send output to stdout.
38868         * localedata/tst-langinfo-static.c: New file.
38870         [BZ #16965]
38871         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38872         when the shift amount is modulo the limb size.
38874 2014-05-20  Richard Henderson  <rth@redhat.com>
38876         [BZ #16967]
38877         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38878         Change type of sa_flags from unsigned int to int.
38880         [BZ #16966]
38881         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38883         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38885 2014-05-20  Will Newton  <will.newton@linaro.org>
38887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38888         Test the return value of the system call in the nocancel case.
38890 2014-05-20  Will Newton  <will.newton@linaro.org>
38891             Yvan Roux  <yvan.roux@linaro.org>
38893         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38894         #include of asm/ptrace.h.
38895         (PTRACE_GET_THREAD_AREA): Remove #undef.
38896         (PTRACE_GETHBPREGS): Likewise.
38897         (PTRACE_SETHBPREGS): Likewise.
38898         (struct user_regs_struct): New structure.
38899         (struct user_fpsimd_struct): New structure.
38900         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38901         #include of asm/ptrace.h and second #include of sys/user.h.
38902         (PTRACE_GET_THREAD_AREA): Remove #undef.
38903         (PTRACE_GETHBPREGS): Likewise.
38904         (PTRACE_SETHBPREGS): Likewise.
38905         (ELF_NGREG): Use new struct user_regs_struct.
38906         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38908 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38913 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38915         [BZ #16958]
38916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38917         membar to avoid block loads/stores to overlap previous stores.
38919 2014-05-17  Richard Henderson  <rth@redhat.com>
38921         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38922         Create the __##syscall_name##_nocancel entry point.
38923         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38924         Remove; let the sysdep-cancel.h code create it.
38926 2014-05-17  David S. Miller  <davem@davemloft.net>
38928         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38929         Protect with __USE_GNU.
38930         (TIOCSET_TEMPT): Likewise.
38931         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38933         these are already provided in bits/ioctl-types.h
38935 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38937         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38938         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38940         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38941         Use wait4 regardless of [__NR_waitpid].
38943 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38945         PR libgcc/60166
38946         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38947         (_FP_NANSIGN_Q): Set the quiet bit.
38949 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38951         * benchtests/Makefile
38952         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38953         not $(common-objpfx)math/libm.so.
38954         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38955         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38956         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38957         $(common-objpfx)dlfcn/libdl.so.
38958         ($(objpfx)tst-audit8): Depend on $(libm), not
38959         $(common-objpfx)math/libm.so.
38960         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38961         not $(common-objpfx)dlfcn/libdl.so.
38962         * math/Makefile
38963         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38964         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38965         [$(build-shared) = yes].
38966         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38967         $(common-objpfx)nptl/libpthread.so.
38968         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38969         $(common-objpfx)math/libm.so$(libm.so-version) or
38970         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38971         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38972         $(common-objpfx)dlfcn/libdl.so.
38973         * setjmp/Makefile (link-libm): Remove variable.
38974         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38975         * stdio-common/Makefile (link-libm): Remove variable.
38976         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38977         * stdlib/Makefile (link-libm): Remove variable.
38978         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38979         ($(objpfx)tst-strtod-round): Likewise.
38980         ($(objpfx)tst-tininess): Likewise.
38981         ($(objpfx)tst-strtod-underflow): Likewise.
38982         ($(objpfx)tst-strtod6): Likewise.
38983         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38984         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38985         $(common-objpfx)dlfcn/libdl.so.
38987 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38989         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38990         BSD terminal modes definitions.
38992 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38994         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38995         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38997         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38998         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38999         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39000         Don't do #include_next.
39001         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39002         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39003         Don't do #include_next.
39004         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39005         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39006         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39007         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39009 2014-05-16  Allan McRae  <allan@archlinux.org>
39011         * po/sv.po: Update Swedish translation from translation project.
39013         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39014         in sed expression.
39016 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39018         [BZ #16917]
39019         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39020         errno if the TIOCGPTN ioctl fails with an error different than
39021         EINVAL.
39022         * login/tst-ptsname.c: New file.
39023         * login/Makefile (tests): Add tst-ptsname.
39025         [BZ #16943]
39026         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39027         and prlimit64.
39029 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39031         [BZ #16849]
39032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39033         herrno to return EAI_AGAIN.
39035 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39037         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39038         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39039         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39040         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39041         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39042         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39043         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39044         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39046         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39047         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39048         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39049         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39050         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39051         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39052         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39053         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39054         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39055         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39056         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39057         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39058         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39059         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39060         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39061         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39062         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39063         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39064         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39065         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39066         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39068         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39070         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39072         Moved ...
39073         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39075         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39077         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39079         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39081         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39083         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39085         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39087         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39089         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39091         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39093         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39095         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39097         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39099         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39101         Moved ...
39102         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39104         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39108         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39110         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39112         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39114         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39116         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39118         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39122         Moved ...
39123         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39125         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39127         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39128         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39129         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39130         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39131         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39132         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39133         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39134         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39135         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39137         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39139         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39140         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39141         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39142         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39143         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39144         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39145         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39146         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39147         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39148         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39149         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39150         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39151         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39152         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39153         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39154         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39157         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39159         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39160         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39162         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39163         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39164         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39165         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39166         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39168         Moved ...
39169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39171         Moved ...
39172         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39174         Moved ...
39175         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39177         Moved ...
39178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39179         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39180         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39182         Moved ...
39183         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39185         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39187         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39188         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39189         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39191         Moved ...
39192         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39194         Moved ...
39195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39196         ... here.
39197         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39198         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39199         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39200         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39202         Moved ...
39203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39204         ... here.
39205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39206         Moved ...
39207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39209         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39210         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39211         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39213         Moved ...
39214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39216         Moved ...
39217         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39219         Moved ...
39220         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39222         Moved ...
39223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39224         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39225         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39227         Moved ...
39228         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39229         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39230         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39233         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39234         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39236         Moved ...
39237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39239         Moved ...
39240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39241         ... here.
39242         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39243         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39244         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39245         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39247         Moved ...
39248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39249         ... here.
39250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39251         Moved ...
39252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39253         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39254         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39255         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39256         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39257         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39259         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39260         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39262         Moved ...
39263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39265         Moved ...
39266         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39268         Moved ...
39269         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39271         Moved ...
39272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39273         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39274         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39276         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39278         Moved ...
39279         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39280         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39281         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39284         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39285         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39286         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39287         Moved ...
39288         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39289         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39290         Moved ...
39291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39292         ... here.
39293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39294         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39295         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39296         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39298         Moved ...
39299         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39300         ... here.
39301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39302         Moved ...
39303         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39304         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39305         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39306         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39307         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39308         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39309         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39310         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39311         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39312         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39313         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39315         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39316         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39318         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39319         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39321         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39322         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39323         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39324         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39325         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39326         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39327         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39328         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39329         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39330         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39332         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39334         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39335         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39337         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39339         Moved ...
39340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39344         Moved ...
39345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39349         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39353         Moved ...
39354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39356         Moved ...
39357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39363         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39364         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39365         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39366         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39367         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39368         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39369         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39370         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39371         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39372         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39373         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39375         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39376         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39377         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39378         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39379         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39381         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39382         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39383         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39384         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39385         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39386         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39387         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39388         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39389         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39390         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39395         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39396         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39397         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39398         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39399         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39400         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39401         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39402         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39403         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39404         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39405         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39406         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39407         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39408         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39410         Update #include.
39411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39412         Likewise.
39413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39414         Likewise.
39415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39416         Likewise.
39417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39418         Likewise.
39419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39420         Likewise.
39421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39422         Likewise.
39423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39424         Likewise.
39425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39426         Likewise.
39427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39428         Likewise.
39429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39443         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39445         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39446         that was previously under [RESET_PID].
39447         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39448         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39449         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39451         * sysdeps/i386/nptl/Implies: New file.
39452         * sysdeps/x86_64/nptl/Implies: New file.
39453         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39454         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39455         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39456         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39458         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39459         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39460         (__libc_vfork): New strong alias.
39461         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39462         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39464         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39465         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39466         (__libc_vfork): New strong alias.
39467         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39468         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39470         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39471         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39472         (__libc_vfork): New strong alias.
39473         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39474         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39475         * nptl/pt-vfork.c: New file.
39476         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39477         (libpthread: GLIBC_2.20): New version set (empty).
39479 2014-05-14  Will Newton  <will.newton@linaro.org>
39481         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39482         rather than #if.
39484 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39486         [BZ #16564]
39487         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39488         arguments with exponent 65 or above.
39489         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39490         arguments 0x1p113L or above.
39491         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39492         to arguments 0x1p107L or above.
39493         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39494         positive arguments with exponent 65 or above.
39495         * math/auto-libm-test-in: Add more tests of log1p.
39496         * math/auto-libm-test-out: Regenerated.
39498         [BZ #16928]
39499         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39500         non-finite arguments is +0.
39501         * math/s_cacosf.c (__cacosf): Likewise.
39502         * math/s_cacosl.c (__cacosl): Likewise.
39503         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39504         * sysdeps/i386/fpu/libm-test-ulps: Update.
39505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507         [BZ #16927]
39508         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39509         value.
39510         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39511         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39512         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39513         for explicit high bit of mantissa when testing for argument equal
39514         to 1.
39515         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39516         * sysdeps/i386/fpu/libm-test-ulps: Update.
39517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39519         [BZ #16516]
39520         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39521         (__erf): Scale by 16 instead of 8 in potentially underflowing
39522         case.  Ensure exception if result actually underflows.
39523         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39524         (__erff): Scale by 16 instead of 8 in potentially underflowing
39525         case.  Ensure exception if result actually underflows.
39526         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39527         (efx8): Remove variable.
39528         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39529         case.  Ensure exception if result actually underflows.
39530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39531         (efx8): Remove variable.
39532         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39533         case.  Ensure exception if result actually underflows.
39534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39535         (efx8): Remove variable.
39536         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39537         case.  Ensure exception if result actually underflows.
39538         * math/auto-libm-test-in: Add more tests of erf.
39539         * math/auto-libm-test-out: Regenerated.
39541 2014-05-14  Andreas Schwab  <schwab@suse.de>
39543         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39544         Remove code conditionalized on USE___THREAD.
39546         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39547         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39548         not definedness.
39550 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39553         Define unconditionally.
39554         (__ASSUME_O_CLOEXEC): Likewise.
39555         (__ASSUME_SOCK_CLOEXEC): Likewise.
39556         (__ASSUME_IN_NONBLOCK): Likewise.
39557         (__ASSUME_PIPE2): Likewise.
39558         (__ASSUME_EVENTFD2): Likewise.
39559         (__ASSUME_SIGNALFD4): Likewise.
39560         (__ASSUME_DUP3): Likewise.
39561         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39562         (__ASSUME_DUP3): Do not define.
39563         (__ASSUME_EVENTFD2): Likewise.
39564         (__ASSUME_IN_NONBLOCK): Likewise.
39565         (__ASSUME_O_CLOEXEC): Likewise.
39566         (__ASSUME_PIPE2): Likewise.
39567         (__ASSUME_SIGNALFD4): Likewise.
39568         (__ASSUME_SOCK_CLOEXEC): Likewise.
39569         (__ASSUME_UTIMES): Undefine.
39570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39571         (__ASSUME_UTIMES): Do not define.
39572         (__ASSUME_O_CLOEXEC): Likewise.
39573         (__ASSUME_SOCK_CLOEXEC): Likewise.
39574         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39575         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39576         0x020621].
39577         (__ASSUME_PIPE2): Likewise.
39578         (__ASSUME_EVENTFD2): Likewise.
39579         (__ASSUME_SIGNALFD4): Likewise.
39580         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39581         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39582         Do not define.
39583         (__ASSUME_EVENTFD2): Likewise.
39584         (__ASSUME_SIGNALFD4): Likewise.
39585         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39586         (__ASSUME_32BITUIDS): Likewise.
39587         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39588         (__ASSUME_IPC64): Likewise.
39589         (__ASSUME_ST_INO_64_BIT): Likewise.
39590         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39591         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39592         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39593         (__ASSUME_UTIMES): Do not define.
39594         (__ASSUME_PSELECT): Likewise.
39595         (__ASSUME_PPOLL): Likewise.
39596         (__ASSUME_O_CLOEXEC): Likewise.
39597         (__ASSUME_SOCK_CLOEXEC): Likewise.
39598         (__ASSUME_IN_NONBLOCK): Likewise.
39599         (__ASSUME_PIPE2): Likewise.
39600         (__ASSUME_EVENTFD2): Likewise.
39601         (__ASSUME_SIGNALFD4): Likewise.
39602         (__ASSUME_DUP3): Likewise.
39603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39604         (__ASSUME_UTIMES): Likewise.
39605         (__ASSUME_O_CLOEXEC): Likewise.
39606         (__ASSUME_SOCK_CLOEXEC): Likewise.
39607         (__ASSUME_IN_NONBLOCK): Likewise.
39608         (__ASSUME_PIPE2): Likewise.
39609         (__ASSUME_EVENTFD2): Likewise.
39610         (__ASSUME_SIGNALFD4): Likewise.
39611         (__ASSUME_DUP3): Likewise.
39612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39613         (__ASSUME_UTIMES): Likewise.
39614         (__ASSUME_O_CLOEXEC): Likewise.
39615         (__ASSUME_SOCK_CLOEXEC): Likewise.
39616         (__ASSUME_IN_NONBLOCK): Likewise.
39617         (__ASSUME_PIPE2): Likewise.
39618         (__ASSUME_EVENTFD2): Likewise.
39619         (__ASSUME_SIGNALFD4): Likewise.
39620         (__ASSUME_DUP3): Likewise.
39621         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39622         Likewise.
39623         (__ASSUME_UTIMES): Likewise.
39624         (__ASSUME_EVENTFD2): Likewise.
39625         (__ASSUME_SIGNALFD4): Likewise.
39626         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39627         (__ASSUME_O_CLOEXEC): Likewise.
39628         (__ASSUME_SOCK_CLOEXEC): Likewise.
39629         (__ASSUME_IN_NONBLOCK): Likewise.
39630         (__ASSUME_PIPE2): Likewise.
39631         (__ASSUME_EVENTFD2): Likewise.
39632         (__ASSUME_SIGNALFD4): Likewise.
39633         (__ASSUME_DUP3): Likewise.
39634         (__ASSUME_UTIMES): Undefine.
39636         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39637         feclearexcept.  Remove symbol versioning code.
39638         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39639         symbol versioning code.
39640         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39641         symbol versioning code.
39642         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39643         feupdateenv.  Remove symbol versioning code.
39644         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39645         fegetexceptflag.  Remove symbol versioning code.
39646         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39647         fesetexceptflag.  Remove symbol versioning code.
39648         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39649         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39650         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39651         (__posix_fadvise64_l32): Remove prototype.
39652         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39653         code.
39655 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39657         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39658         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39659         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39660         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39662 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39664         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39665         current working directory
39667 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39669         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39670         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39671         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39672         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39673         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39674         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39675         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39676         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39677         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39678         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39679         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39680         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39681         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39682         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39683         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39684         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39685         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39686         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39687         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39688         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39689         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39690         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39691         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39692         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39693         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39694         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39695         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39696         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39697         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39698         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39699         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39700         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39701         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39702         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39703         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39704         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39705         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39706         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39707         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39708         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39709         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39710         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39712         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39713         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39715         * sysdeps/unix/sysv/linux/arm/Makefile
39716         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39717         Add rt-aeabi_unwind_cpp_pr1.
39718         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39719         Add nptl-aeabi_unwind_cpp_pr1.
39720         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39721         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39722         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39723         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39724         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39725         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39727         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39728         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39729         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39730         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39732         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39733         Deconditionalize the code that was previously under [RESET_PID].
39734         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39736         * sysdeps/generic/exit-thread.h: New file.
39737         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39738         * include/unistd.h (__exit_thread): Remove declaration.
39739         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39740         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39741         * csu/libc-start.c: Include <exit-thread.h>.
39742         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39743         * nptl/pthread_create.c: Include <exit-thread.h>.
39744         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39745         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39746         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39747         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39748         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39749         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39750         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39751         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39752         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39753         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39754         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39755         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39756         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39757         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39758         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39759         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39760         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39762 2014-05-13  Andreas Schwab  <schwab@suse.de>
39764         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39766 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39768         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39769         (__ASSUME_UTIMES): Do not condition on kernel version.
39770         (__ASSUME_PSELECT): Define unconditionally.
39771         (__ASSUME_PPOLL): Likewise.
39772         (__ASSUME_ATFCTS): Likewise.
39773         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39774         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39775         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39776         (__ASSUME_UTIMENSAT): Define unconditionally.
39777         (__ASSUME_PRIVATE_FUTEX): Likewise.
39778         (__ASSUME_FALLOCATE): Likewise.
39779         (__ASSUME_O_CLOEXEC): Likewise.
39780         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39781         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39782         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39783         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39784         (__ASSUME_IN_NONBLOCK): Likewise.
39785         (__ASSUME_PIPE2): Likewise.
39786         (__ASSUME_EVENTFD2): Likewise.
39787         (__ASSUME_SIGNALFD4): Likewise.
39788         (__ASSUME_DUP3): Likewise.
39789         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39790         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39791         (__ASSUME_AT_RANDOM): Likewise.
39792         (__ASSUME_PREADV): Likewise.
39793         (__ASSUME_PWRITEV): Likewise.
39794         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39795         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39796         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39797         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39798         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39799         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39800         (__ASSUME_O_CLOEXEC): Define unconditionally.
39801         (__ASSUME_PSELECT): Do not undefine conditionally.
39802         (__ASSUME_PPOLL): Likewise.
39803         (__ASSUME_ATFCTS): Likewise.
39804         (__ASSUME_SET_ROBUST_LIST): Likewise.
39805         (__ASSUME_UTIMENSAT): Likewise.
39806         (__ASSUME_FDATASYNC): Define unconditionally.
39807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39808         (__ASSUME_SIGFRAME_V2): Likewise.
39809         )__ASSUME_EVENTFD2): Likewise.
39810         (__ASSUME_SIGNALFD4): Likewise.
39811         (__ASSUME_PSELECT): Do not undefine conditionally.
39812         (__ASSUME_PPOLL): Likewise.
39813         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39814         (__ASSUME_PSELECT): Define unconditionally.
39815         (__ASSUME_PPOLL): Likewise.
39816         (__ASSUME_O_CLOEXEC): Likewise.
39817         (__ASSUME_SOCK_CLOEXEC): Likewise.
39818         (__ASSUME_IN_NONBLOCK): Likewise.
39819         (__ASSUME_PIPE2): Likewise.
39820         (__ASSUME_EVENTFD2): Likewise.
39821         (__ASSUME_SIGNALFD4): Likewise.
39822         (__ASSUME_DUP3): Likewise.
39823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39824         (__ASSUME_O_CLOEXEC): Likewise.
39825         (__ASSUME_SOCK_CLOEXEC): Likewise.
39826         (__ASSUME_IN_NONBLOCK): Likewise.
39827         (__ASSUME_PIPE2): Likewise.
39828         (__ASSUME_EVENTFD2): Likewise.
39829         (__ASSUME_SIGNALFD4): Likewise.
39830         (__ASSUME_DUP3): Likewise.
39831         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39832         (__ASSUME_EVENTFD2): Likewise.
39833         (__ASSUME_SIGNALFD4): Likewise.
39834         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39836 2014-05-12  Andreas Schwab  <schwab@suse.de>
39838         [BZ #16932]
39839         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39840         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39841         than maximum RPC packet size.
39842         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39843         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39844         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39845         (_nss_nis_getservbyport_r): Likewise.
39847 2014-05-12  Will Newton  <will.newton@linaro.org>
39849         * malloc/Makefile (tests): Add tst-mallopt.
39850         * malloc/tst-mallopt.c: New file.
39852 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39854         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39855         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39857 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39859         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39860         (tst-tlsmod6.so): Likewise.
39862 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39864         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39866 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39868         [BZ #16064]
39869         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39870         and <dl-procinfo.h>.
39871         (__fegetenv): Save SSE state in envp->__eip if supported.
39872         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39873         envp->__eip if supported.
39874         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39875         and <dl-procinfo.h>.
39876         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39877         __data_offset and __data_selector in environment to 0.  Set SSE
39878         state if supported.
39879         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39880         test-fenv-sse.
39881         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39882         -mfpmath=sse.
39883         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39885 2014-05-09  Will Newton  <will.newton@linaro.org>
39887         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39888         and libc_relro_required for ARM.
39889         * sysdeps/arm/preconfigure: Regenerate.
39891 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39892             Stefan Liebler  <stli@linux.vnet.ibm.com>
39894         * config.make.in (enable-lock-elision): New Makefile variable.
39895         * configure.ac: Likewise.
39896         * configure: Regenerate.
39897         * sysdeps/s390/configure.ac:
39898         Add check for gcc transactions support.
39899         * sysdeps/s390/configure: Regenerate.
39900         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39901         Build elision files if enabled.
39902         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39903         Add lock elision support for s390.
39904         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39905         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39906         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39907         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39908         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39909         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39911         Likewise.
39912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39913         Likewise.
39914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39915         Likewise.
39916         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39917         Likewise.
39918         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39919         (__lll_timedlock_elision, __lll_lock_elision)
39920         (__lll_unlock_elision, __lll_trylock_elision)
39921         (lll_timedlock_elision, lll_lock_elision)
39922         (lll_unlock_elision, lll_trylock_elision): Add.
39923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39924         (pthread_mutex_t): Add lock elision support for s390.
39926 2014-05-14  Wilco  <wdijkstr@arm.com>
39928         * sysdeps/arm/fclrexcpt.c: Cleanup.
39929         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39930         * sysdeps/arm/feenablxcpt.c: Cleanup.
39931         * sysdeps/arm/fegetenv.c: Cleanup.
39932         * sysdeps/arm/fegetexcept.c: Cleanup.
39933         * sysdeps/arm/fegetround.c: Cleanup.
39934         * sysdeps/arm/feholdexcpt.c: Cleanup.
39935         * sysdeps/arm/fesetenv.c: Cleanup.
39936         * sysdeps/arm/fesetround.c: Cleanup.
39937         * sysdeps/arm/feupdateenv.c: Cleanup.
39938         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39939         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39940         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39941         * sysdeps/arm/ftestexcept.c: Cleanup.
39942         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39943         * sysdeps/arm/setfpucw.c: Cleanup.
39945 2014-05-09  Will Newton  <will.newton@linaro.org>
39947         * sysdeps/arm/armv7/strcmp.S: New file.
39948         * NEWS: Mention addition of ARMv7 optimized strcmp.
39950 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39952         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39953         look for %.ac rather than %.in.
39955         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39956         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39957         * sysdeps/mach/hurd/configure: Regenerated.
39958         * sysdeps/unix/sysv/linux/configure: Regenerated.
39960         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39962 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39964         [BZ# 16922]
39965         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39966         (LONG_SUB): Ditto.
39967         (PTR_SUB): Ditto.
39969 2014-05-07  Andreas Schwab  <schwab@suse.de>
39971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39972         when skipping over non-matching result from nscd.
39974 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39976         [BZ #16876]
39977         * nptl/sockperf.c (client): Check socket return value.
39979         [BZ #16877]
39980         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39981         nscd security class.
39983 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39985         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39986         * sysdeps/arm/unwind.h: ... here.
39988 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39990         [BZ# 16916]
39991         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39992         Define.
39994 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39996         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39997         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39998         multiarch strncpy for PPC64.
39999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40000         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40002         multiarch optimizations.
40003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40004         (__libc_ifunc_impl_list): Likewise.
40005         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40007         multiarch stpncpy for PPC64.
40008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40009         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40011 2014-05-06  Andreas Schwab  <schwab@suse.de>
40013         [BZ #16912]
40014         * gmon/mcount.c (_MCOUNT_DECL): Use
40015         atomic_compare_and_exchange_bool_acq instead of
40016         catomic_compare_and_exchange_bool_acq.
40018 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40020         * elf/Makefile (others, install-bin): Remove pldd.
40021         (pldd-modules): Variable removed.
40022         ($(objpfx)pldd): Target removed.
40023         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40024         (others, install-bin): Append pldd here.
40025         ($(objpfx)pldd): New target.
40027         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40028         to 0, so the first #if test emitted later doesn't see it undefined.
40029         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40030         * sysdeps/gnu/errlist.c: Regenerated.
40032 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40034         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40035         [libc_hidden_builtin_def]: Define to empty value.
40036         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40037         [libc_hidden_builtin_def]: Likewise.
40038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40039         [libc_hidden_builtin_def]: Likewise.
40040         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40041         [libc_hidden_builtin_def]: Likewise.
40042         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40043         __redirect_memcpy and define ifunc as default hidden symbol.
40044         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40045         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40047 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40049         * locale/iso-4217.def: Reintroduce XDR currency.
40051 2014-05-04  Allan McRae  <allan@archlinux.org>
40053         * po/eo.po: Update Esperanto translation from translation project.
40055 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40057         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40058         and FEATURE_INDEX_MAX to 1.
40059         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40061 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40063         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40064         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40065         * iconvdata/big5.c (ONE_DIRECTION): Define.
40066         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40067         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40068         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40069         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40070         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40071         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40072         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40073         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40074         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40075         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40076         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40077         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40078         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40079         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40080         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40081         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40082         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40083         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40084         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40085         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40086         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40087         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40088         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40089         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40090         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40091         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40092         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40093         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40094         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40095         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40096         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40097         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40098         * iconvdata/johab.c (ONE_DIRECTION): Define.
40099         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40100         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40101         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40102         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40103         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40104         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40105         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40106         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40107         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40108         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40110 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40112         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40113         (_IO_JUMPS_OFFSET): Define to 0.
40115         * nptl/sysdeps/pthread/bits/libc-lock.h
40116         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40117         (__libc_lock_define_initialized_recursive): Always define using
40118         initializer.  Modern compilers treat uninitialized (implicit zero) and
40119         explicit zero initializers the same (i.e. put the datum in bss).
40121 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40123         * nscd/nscd-client.h: Include <string.h>.
40125 2014-05-01  David S. Miller  <davem@davemloft.net>
40127         [BZ #16885]
40128         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40129         multiple zero bytes exist at the end of a string.
40130         Reported by Aurelien Jarno <aurelien@aurel32.net>
40132         * string/test-strcmp.c (check): Add explicit test for situations where
40133         there are multiple zero bytes after the first.
40135 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40137         [BZ #16890]
40138         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40139         when compiling wprintf.
40140         * stdio-common/tstdiomisc.c (t3): New function.
40141         (main): Call it.
40143 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40145         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40146         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40147         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40148         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40150 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40152         * stdlib/longlong.h: Updated from GCC.
40154 2014-05-01  Will Newton  <will.newton@linaro.org>
40155             Bernard Ogden  <bernie.ogden@linaro.org>
40157         * NEWS: Update fixed bug list.
40159         [BZ #15119]
40160         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40162 2014-04-30  David S. Miller  <davem@davemloft.net>
40164         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40165         (libc_feholdexcept_setround_sparc_ctx): New function.
40166         (libc_fesetenv_sparc_ctx): Likewise.
40167         (libc_feupdateenv_sparc_ctx): Likewise.
40168         (libc_feholdsetround_sparc_ctx): Likewise.
40169         (libc_feholdexcept_setround_ctx): Define.
40170         (libc_feholdexcept_setroundf_ctx): Likewise.
40171         (libc_feholdexcept_setroundl_ctx): Likewise.
40172         (libc_fesetenv_ctx): Likewise.
40173         (libc_fesetenvf_ctx): Likewise.
40174         (libc_fesetenvl_ctx): Likewise.
40175         (libc_feupdateenv_ctx): Likewise.
40176         (libc_feupdateenvf_ctx): Likewise.
40177         (libc_feupdateenvl_ctx): Likewise.
40178         (libc_feresetround_ctx): Likewise.
40179         (libc_feresetroundf_ctx): Likewise.
40180         (libc_feresetroundl_ctx): Likewise.
40181         (libc_feholdsetround_ctx): Likewise.
40182         (libc_feholdsetroundf_ctx): Likewise.
40183         (libc_feholdsetroundl_ctx): Likewise.
40185         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40186         with __USE_GNU instead of XOPEN cpp guards.
40188         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40189         0.
40191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40192         with XOPEN cpp guards.
40194 2014-04-30  Julian Brown  <julian@codesourcery.com>
40196         [BZ #16888]
40197         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40198         handling.
40200 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40202         [BZ #9894]
40203         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40204         Change to 2.6.32.
40205         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40206         * sysdeps/unix/sysv/linux/configure: Regenerated.
40207         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40208         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40209         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40210         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40211         * README: Update reference to required Linux kernel version.
40212         * manual/install.texi (Linux): Update reference to required Linux
40213         kernel headers version.
40214         * INSTALL: Regenerated.
40216         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40217         header inclusion.
40218         [POSIX] (limits.h): Likewise.
40219         [POSIX] (math.h): Likewise.
40220         [POSIX] (sys/wait.h): Likewise.
40221         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40222         function.
40223         [POSIX] (stddef.h): Do not allow header inclusion.
40225 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40227         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40229 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40231         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40232         Return immediately after lll_futex_wake.
40234 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40236         [BZ #16791]
40237         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40238         structure.
40239         (datahead_init_pos): Call datahead_init_common early.
40240         (datahead_init_neg): Likewise.
40242         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40243         datahead_init_neg): New functions.
40244         * nscd/aicache.c (addhstaiX): Use them.
40245         * nscd/grpcache.c (cache_addgr): Likewise.
40246         * nscd/hstcache.c (cache_addhst): Likewise.
40247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40248         * nscd/netgroupcache.c (do_notfound): Likewise.
40249         (addgetnetgrentX): Likewise.
40250         (addinnetgrX): Likewise.
40251         * nscd/pwdcache.c (cache_addpw): Likewise.
40252         * nscd/servicescache.c (cache_addserv): Likewise.
40254 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40255             Atsushi Onoe  <atsushi@onoe.org>
40257         [BZ #14308]
40258         [BZ #12994]
40259         [BZ #13651]
40260         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40261         one response is valid.
40262         * resolv/res_send.c (send_dg): Check for validity of other
40263         response if the current response is a referral.
40265 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40267         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40269 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40271         [BZ #16823]
40272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40273         Always divide by positive zero when computing -Inf result.
40274         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40275         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40277 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40279         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40280         FPSCR if value do not change.
40281         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40282         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40283         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40284         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40285         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40286         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40287         function.
40289 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40291         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40292         * sysdeps/unix/sysv/linux/hppa: Move directory from
40293         ports/systeps/unix/sysv/linux/hppa.
40294         * README: Update listing for hppa-*-linux-gnu.
40296 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40298         [BZ #16754]
40299         * manual/stdio.texi (Hook functions): Fix types of stream hook
40300         functions.
40301         [BZ #16854]
40302         * socket/sys/socket.h: Fix typo in comment.
40304 2014-04-28  Wilco  <wdijkstr@arm.com>
40306         * sysdeps/arm/fenv_private.h: New file.
40307         * sysdeps/arm/math_private.h: New file.
40308         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40310 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40312         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40313         with __int128_t.
40314         (La_x86_64_retval): Likewise.
40316 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40318         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40319         fpsr if value didn't change.
40320         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40321         to fpcr if value didn't change.
40322         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40323         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40324         fpsr or fpcr if value didn't change.
40325         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40327         fpcr if value didn't change.
40328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40329         to fpsr if value didn't change.
40331 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40333         * nptl/tst-sem3.c: Use test-skeleton.c
40334         (main): Rename to do_test.  Use return instead of
40335         exit.
40336         * nptl/tst-sem4.c: Use test-skeleton.c
40337         (main): Rename to do_test.
40339 2014-04-22  David S. Miller  <davem@davemloft.net>
40341         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40342         (struct sigaction): New struct member __glibc_reserved0, change
40343         type of sa_flags to int.
40345 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40347         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40348         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40350 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40352         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40353         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40355 2014-04-22  Will Newton  <will.newton@linaro.org>
40356             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40358         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40359         (__longjmp): Add longjmp and longjmp_target SystemTap
40360         probes.
40361         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40362         (__sigsetjmp): Add setjmp SystemTap probe.
40364 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40366         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40367         match manual order.
40369 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40371         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40373         * sysdeps/powerpc/fpu/fenv_private.h
40374         (libc_feholdexcept_setroundl_ctx): Define to
40375         libc_feholdexcept_setround_ppc_ctx.
40376         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40377         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40378         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40379         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40381 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40383         * sysdeps/aarch64/math-tests.h: New file.
40385 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40387         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40388         New.
40389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40390         Check and set bit_AVX2_Usable.
40391         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40392         macro.
40393         (bit_AVX2): Likewise.
40394         (index_AVX2_Usable): Likewise.
40395         (CPUID_AVX2): Likewise.
40396         (HAS_AVX2): Likewise.
40398 2014-04-17  Will Newton  <will.newton@linaro.org>
40400         * manual/setjmp.texi (System V contexts): Add note that
40401         calling setcontext on a context created by a call to a
40402         signal handler is undefined.  Update text to note that
40403         setcontext from a signal handler is possible but not
40404         recommended.
40406         [BZ #16629]
40407         * stdlib/tst-setcontext.c: Include signal.h.
40408         (main): Check that the signal stack before and
40409         after swapcontext is the same.
40411         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40412         Re-implement to restore registers in user code and avoid
40413         rt_sigreturn system call.
40415 2014-04-17  Wilco  <wdijkstr@arm.com>
40417         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40418         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40419         * math/test-fenv.c: Skip exception trap tests on targets which only
40420         support non-stop mode.
40422 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40423             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40425         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40426         (libc_feholdsetround_aarch64_ctx)
40427         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40428         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40429         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40430         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40431         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40432         (libc_feresetround_noexl_ctx): Define.
40434 2014-04-16  Richard Henderson  <rth@redhat.com>
40436         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40438         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40439         unwind tables.
40441         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40442         const from the non-libc, non-ldso copy.
40444         * sysdeps/alpha/libm-test-ulps: Regenerate.
40446 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40447             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40449         * sysdeps/aarch64/fpu/math_private.h: New file.
40451 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40453         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40455 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40457         [BZ #16275]
40458         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40459         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40460         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40461         Intel MPX bound registers before _dl_profile_fixup.
40462         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40463         registers after _dl_profile_fixup.  Save and restore bound
40464         registers bnd0/bnd1 when calling _dl_call_pltexit.
40465         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40466         (LR_BND_OFFSET): Likewise.
40467         (LRV_BND0_OFFSET): Likewise.
40468         (LRV_BND1_OFFSET): Likewise.
40470 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40472         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40473         to...
40474         * sysdeps/mach/hurd/i386/tls.h: ... here.
40475         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40476         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40477         fields.
40479 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40481         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40483 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40485         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40487 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40489         [BZ #14770]
40490         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40491         * sysdeps/s390/configure: Regenerate.
40493         [BZ #16824]
40494         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40495         Set round-to-nearest internally to reduce error accumulation.
40497 2014-04-16  Alan Modra  <amodra@gmail.com>
40499         [BZ #16740]
40500         [BZ #16619]
40501         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40502         * math/libm-test.inc (frexp_test_data): Add tests.
40503         * NEWS: Update fixed bug list.
40505 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40507         * benchtests/Makefile: Depend on libraries in build directory.
40508         (bench-math): Separate out math tests.
40509         (bench-pthread): Separate out pthread tests.
40510         (bench): Include math and pthread tests.
40512 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40514         [BZ #16831]
40515         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40516         _dl_debug_initialize.
40518         * configure.ac: Remove SELinux header check.
40519         * configure: Regenerate.
40520         * nscd/selinux.c (perms): Array of const char* to permission names.
40521         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40522         default policy. Call string_to_security_class and string_to_av_perm to
40523         translate strings. Enforce default policy and call avs_has_perm with
40524         results of translated strings.
40526 2014-04-13  David S. Miller  <davem@davemloft.net>
40528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40530 2014-04-12  Allan McRae  <allan@archlinux.org>
40532         [BZ #16838]
40533         * manual/string.texi (Collation Functions): Fix qsort argument
40534         order in example.
40535         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40537 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40539         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40540         Make the test a no-op if there are no exceptions defined.
40542 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40544         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40545         enable-hardcoded-path-in-tests
40547 2014-04-11  Will Newton  <will.newton@linaro.org>
40549         * benchtests/Makefile (extra-objs): Add json-lib.o.
40550         (bench-func): Tidy up JSON output.
40551         * benchtests/bench-skeleton.c: Include json-lib.h.
40552         (main): Use JSON library functions to do output of
40553         benchmark results.
40554         * benchtests/bench-timing-type.c (main): Output the
40555         timing type simply, leaving formatting to the user.
40556         * benchtests/json-lib.c: New file.
40557         * benchtests/json-lib.h: Likewise.
40559 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40561         [BZ #15215]
40562         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40563         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40564         memory barriers.  Add comments.
40565         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40566         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40567         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40568         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40569         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40570         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40572 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40574         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40575         * sysdeps/s390/s390-64/configure.ac: ... this ...
40576         * sysdeps/s390/configure.ac: ... to here.
40577         * sysdeps/s390/s390-32/configure: Delete file.
40578         * sysdeps/s390/s390-64/configure: Delete file.
40579         * sysdeps/s390/configure: Regenerate.
40581 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40583         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40585 2014-04-11  Will Newton  <will.newton@linaro.org>
40587         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40588         to zero if it is not defined elsewhere.  (mtrim): Test
40589         the value of MALLOC_DEBUG with #if rather than #ifdef.
40591 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40593         * benchtests/pthread_once-inputs: New file.
40594         * benchtests/pthread_once-source.c: New file.
40595         * benchtests/README: Update documentation.
40597 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40598             H.J. Lu  <hongjiu.lu@intel.com>
40600         [BZ #16275]
40601         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40602         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40603         * sysdeps/x86_64/configure: Regenerated.
40604         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40605         macro.
40606         (REGISTER_SAVE_RAX): Likewise.
40607         (REGISTER_SAVE_RCX): Likewise.
40608         (REGISTER_SAVE_RDX): Likewise.
40609         (REGISTER_SAVE_RSI): Likewise.
40610         (REGISTER_SAVE_RDI): Likewise.
40611         (REGISTER_SAVE_R8): Likewise.
40612         (REGISTER_SAVE_R9): Likewise.
40613         (REGISTER_SAVE_BND0): Likewise.
40614         (REGISTER_SAVE_BND1): Likewise.
40615         (REGISTER_SAVE_BND2): Likewise.
40616         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40617         bound registers when calling _dl_fixup.
40619 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40621         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40622         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40623         of its definition.
40624         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40625         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40626         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40627         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40628         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40629         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40630         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40632 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40634         [BZ #15514]
40635         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40636         pathconf(_PC_NAME_MAX).
40638 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40640         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40641         Remove macro usage.
40642         (__PTHREAD_SPINS): Move definition to ...
40643         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40644         (__PTHREAD_SPINS): ... here.
40645         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40646         (__PTHREAD_SPIN): Likewise.
40647         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40648         (__PTHREAD_SPIN): Likewise.
40649         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40650         (__PTHREAD_SPIN): Likewise.
40651         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40652         (__PTHREAD_SPIN): Likewise.
40653         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40654         (__PTHREAD_SPIN): Likewise.
40655         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40656         (__PTHREAD_SPIN): Likewise.
40657         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40658         (__PTHREAD_SPIN): Likewise.
40659         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40660         (__PTHREAD_SPIN): Likewise.
40661         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40662         (__PTHREAD_SPIN): Likewise.
40663         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40664         (__PTHREAD_SPIN): Likewise.
40665         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40666         (__PTHREAD_SPIN): Likewise.
40667         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40668         (__PTHREAD_SPIN): Likewise.
40670         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40671         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40672         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40673         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40674         imply folder.
40675         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40676         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40677         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40678         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40679         correct imply path.
40680         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40681         strlen symbol for non multi-arch builds.
40682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40683         missing hidden_def and weak_alias.
40685 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40687         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40689 2014-04-07  Will Newton  <will.newton@linaro.org>
40691         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40692         and contents.  [!_LIBC] Remove #ifndef and contents.
40693         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40694         * string/memccpy.c (__memccpy): Use ANSI prototype.
40695         * string/memfrob.c (memfrob): Likewise.
40696         * string/strcoll.c (STRCOLL): Likewise.
40697         * string/strlen.c (strlen): Likewise.
40698         * string/strtok.c (STRTOK): Likewise.
40699         * string/strcat.c: Remove unused #include of memcopy.h.
40700         (strcat): Use ANSI prototype.
40701         * string/strchr.c: Remove unused #include of memcopy.h.
40702         (strchr): Use ANSI prototype.
40703         * string/strcmp.c: Remove unused #include of memcopy.h.
40704         (strcmp): Use ANSI prototype.
40705         * string/strcpy.c: Remove unused #include of memcopy.h.
40706         (strcpy): Use ANSI prototype.
40708 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40710         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40711         * config.make.in (config-extra-cppflags): Set it from
40712         libc_extra_cppflags.
40713         * configure.ac (libc_extra_cflags): Make it accumulate over
40714         configure fragments.
40715         (libc_extra_cppflags): New flag.
40716         * configure. Regenerate.
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40718         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40719         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40722         [BZ #16815]
40723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40724         result for FE_DOWNWARD rounding mode.
40725         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40726         Likewise.
40727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40729 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40731         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40732         in function argument name.
40734 2014-04-03  David Svoboda  <svoboda@cert.org>
40736         [BZ #5666]
40737         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40738         explicitly.
40740 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40742         * elf/dl-unmap-segments.h: New file.
40743         * sysdeps/generic/ldsodefs.h
40744         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40745         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40746         * elf/dl-fptr.c: Likewise.
40747         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40748         * sysdeps/aarch64/tlsdesc.c: Likewise.
40749         * sysdeps/arm/tlsdesc.c: Likewise.
40750         * sysdeps/i386/tlsdesc.c: Likewise.
40751         * sysdeps/tile/dl-runtime.c: Likewise.
40752         * sysdeps/x86_64/tlsdesc.c: Likewise.
40753         * elf/dl-load.h: New file.
40754         * elf/dl-load.c: Include it.
40755         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40756         Macros moved to dl-load.h.
40757         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40758         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40759         Use _dl_unmap_segments in place of __munmap.
40760         Break out segment-mapping loop into ...
40761         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40763 2014-04-03  Will Newton  <will.newton@linaro.org>
40765         * elf/dl-lookup.c (do_lookup_x): Remove comment
40766         referring to nested function and move variable
40767         declarations down to before first use.
40769 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40771         [BZ #16799]
40772         [BZ #16800]
40773         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40774         with 0 numerator.
40775         * math/s_catanf.c (__catanf): Likewise.
40776         * math/s_catanh.c (__catanh): Likewise.
40777         * math/s_catanhf.c (__catanhf): Likewise.
40778         * math/s_catanhl.c (__catanhl): Likewise.
40779         * math/s_catanl.c (__catanl): Likewise.
40780         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40781         by positive zero when computing -Inf result.
40782         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40783         (catanh_test): Likewise.
40784         * sysdeps/i386/fpu/libm-test-ulps: Update.
40785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40787         [BZ #16789]
40788         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40789         instead of using underflowing value in computing result.
40790         * math/s_clog10.c (__clog10): Likewise.
40791         * math/s_clog10f.c (__clog10f): Likewise.
40792         * math/s_clog10l.c (__clog10l): Likewise.
40793         * math/s_clogf.c (__clogf): Likewise.
40794         * math/s_clogl.c (__clogl): Likewise.
40795         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40796         (clog10_test): Likewise.
40797         * sysdeps/i386/fpu/libm-test-ulps: Update.
40798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40800 2014-04-02  Alan Modra  <amodra@gmail.com>
40802         [BZ #16739]
40803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40804         output when value is near a power of two.  Use int64_t for lx and
40805         remove casts.  Use decimal rather than hex exponent constants.
40806         Don't use long double multiplication when double will suffice.
40807         * math/libm-test.inc (nextafter_test_data): Add tests.
40808         * NEWS: Add 16739 and 16786 to bug list.
40810         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40812         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40814 2014-04-01  Will Newton  <will.newton@linaro.org>
40816         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40817         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40819 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40821         [BZ #13347]
40822         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40823         * nptl/tst-setuid2.c: New file.
40824         * nptl/Makefile (xtests): Add tst-setuid2.
40826 2014-04-01  Alan Modra  <amodra@gmail.com>
40828         [BZ #16786]
40829         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40831 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40833         [BZ #6803]
40834         [BZ #6804]
40835         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40836         set errno as appropriate.
40837         * math/w_scalbf.c (__scalbf): Likewise.
40838         * math/w_scalbl.c (__scalbl): Likewise.
40839         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40840         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40841         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40842         Add more NaN tests.
40844         [BZ #16349]
40845         * math/w_atan2.c: Include <errno.h>.
40846         (__atan2): Set errno for result underflowing to zero.
40847         * math/w_atan2f.c: Include <errno.h>.
40848         (__atan2f): Set errno for result underflowing to zero.
40849         * math/w_atan2l.c: Include <errno.h>.
40850         (__atan2l): Set errno for result underflowing to zero.
40851         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40852         tests.
40853         * math/auto-libm-test-out: Regenerated.
40855 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40857         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40858         Encode instruction correctly in little endian.
40859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40860         Likewise.
40861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40862         Likewise.
40863         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40864         Likewise.
40865         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40866         Likewise.
40868 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40870         [BZ #9894]
40871         * sysdeps/unix/sysv/linux/kernel-features.h
40872         [__sparc__ && !__arch64__ && !__sparc_v9__]
40873         (__ASSUME_SET_ROBUST_LIST): Do not define.
40874         [__sparc__ && !__arch64__ && !__sparc_v9__]
40875         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40876         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40877         Likewise.
40878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40879         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40880         (__ASSUME_REQUEUE_PI): Likewise.
40881         (__ASSUME_SET_ROBUST_LIST): Likewise.
40882         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40883         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40884         Undefine.
40885         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40886         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40887         Likewise.
40888         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40889         Likewise.
40890         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40891         Likewise.
40892         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40894         Undefine.
40895         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40896         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40897         Likewise.
40899         [BZ #16648]
40900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40902         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40904 2014-03-31  Will Newton  <will.newton@linaro.org>
40906         * benchtests/Makefile (bench): Add ffs and ffsll to list
40907         of tests.
40908         * benchtests/ffs-inputs: New file.
40909         * benchtests/ffsll-inputs: Likewise.
40911 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40913         [BZ #16770]
40914         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40915         too large before casting to int.
40916         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40917         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40918         * math/libm-test.inc (scalb_test_data): Add more tests.
40920 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40922         * benchtests/Makefile (DETAILED_OPT): New make option.
40923         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40924         set.
40925         * benchtests/bench-skeleton.c: Include stdbool.h.
40926         (main): Store and print timings per input.
40927         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40928         member to each argument value.
40929         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40930         (_print_arg_data): Initialize per-input timing to 0.
40932         * benchtests/Makefile (timing-type): New binary.
40933         (bench-clean): Also remove bench-timing-type.
40934         (bench): New target for timing-type.
40935         (bench-func): Print output in JSON format.
40936         * benchtests/bench-skeleton.c (main): Print output in JSON
40937         format.
40938         * benchtests/bench-timing-type.c: New file.
40939         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40940         (TIMING_PRINT_STATS): Remove.
40941         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40942         name separately.
40944         * benchtests/bench-modf.c: Remove.
40945         * benchtests/modf-inputs: New inputs file.
40947 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40949         [BZ #16362]
40950         * math/s_clog10.c (M_PI_LOG10E): New macro.
40951         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40952         imaginary parts are 0.
40953         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40954         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40955         imaginary parts are 0.
40956         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40957         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40958         imaginary parts are 0.
40959         * math/libm-test.inc (clog10_test_data): Update expected results
40960         for when real and imaginary parts are 0.
40962 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40964         * elf/dl-load.c: Finish conversion of __builtin_expect into
40965         __glibc_{un}likely.
40967 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40969         [BZ #16348]
40970         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40971         1+x for argument with exponent below -67.
40972         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40973         Likewise.
40974         * math/auto-libm-test-in: Add more tests of exp.
40975         * math/auto-libm-test-out: Regenerated.
40977 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40979         [BZ #16759]
40980         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40981         (nscd_getnetgrent): Use it.
40983         [BZ #16760]
40984         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40985         of stpcpy.
40987 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40989         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40990         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40991         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40992         (lll_robust_unlock): Remove out of line section. Use cfi
40993         intrinsics.
40994         (LLL_STUB_UNWIND_INFO*): Remove.
40995         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40996         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40997         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40998         (lll_robust_unlock): Remove out of line section. Use cfi
40999         intrinsics.
41000         (LLL_STUB_UNWIND_INFO*): Remove.
41002 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41004         [BZ #16758]
41005         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41006         blank values.
41008 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41010         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41012 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41014         [BZ #16198]
41015         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41016         fnstenv.
41017         * math/test-fenv-preserve.c: New file.
41018         * math/Makefile (tests): Add test-fenv-preserve.
41020 2014-03-26  Will Newton <will.newton@linaro.org>
41022         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41024 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41026         * scripts/versionlist.awk: Partition the version sets and emit all
41027         GLIBC_* (sorted) before all others (sorted).
41029 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41031         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41032         GLIBC_2.2.5 version.
41034 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41036         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41037         calls.
41039         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41040         previous change.
41042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41044 2014-03-25  Andreas Schwab  <schwab@suse.de>
41046         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41047         label to be used after in6ailist is initialized.
41049 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41051         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41052         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41054 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41056         [BZ #16357]
41057         [BZ #16599]
41058         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41059         min_plus_half.
41060         (fp_formats): Update initializers.
41061         (init_fp_formats): Initialize new field.
41062         (output_for_one_input_case): Allow underflow for results up to
41063         min_plus_half.
41064         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41065         * math/auto-libm-test-in: Don't mark some underflows from asin and
41066         atanh as spurious.
41067         * math/auto-libm-test-out: Regenerated.
41068         * sysdeps/i386/fpu/libm-test-ulps: Update.
41069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41071 2014-03-25  Andreas Schwab  <schwab@suse.de>
41073         * libio/Makefile (tst-ftell-partial-wide-ENV)
41074         (tst-ftell-active-handler-ENV): Define.
41076 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41078         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41080 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41082         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41084 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41086         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41087         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41088         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41090 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41092         [BZ #16634]
41093         * elf/dl-load.c (open_verify): Add mode parameter.
41094         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41095         (open_path): Change from boolean 'secure' to complete flag 'mode'
41096         (_dl_map_object): Adjust.
41097         * elf/Makefile (tests): Add tst-dlopen-aout.
41098         * elf/tst-dlopen-aout.c: New test.
41100 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41102         [BZ #16714]
41103         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41104         (struct stat): Rename member pad0 to __glibc_reserved0.
41106         [BZ #16712]
41107         * sysdeps/s390/s390-32/bits/wordsize.h
41108         (__WORDSIZE32_SIZE_ULONG): New define.
41109         * sysdeps/s390/s390-64/bits/wordsize.h
41110         (__WORDSIZE32_SIZE_ULONG): Likewise.
41111         * sysdeps/generic/stdint.h (SIZE_MAX):
41112         Define as UL if __WORDSIZE32_SIZE_ULONG.
41114         [BZ #16713]
41115         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41116         (__glibc_reserved0): New variable.
41117         (sa_flags): Change type to int.
41119         * posix/Makefile (before-compile): Use += before-compile instead
41120         of a :=.
41122         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41123         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41125 2014-03-20  Andreas Schwab  <schwab@suse.de>
41127         [BZ #16743]
41128         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41129         non-matching result from nscd.
41131 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41133         * scripts/bench.py: Moved to ...
41134         * benchtests/scripts/bench.py: ... here.
41135         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41137 2014-03-24  Andreas Schwab  <schwab@suse.de>
41139         [BZ #16002]
41140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41141         alloca_account and account alloca use for struct in6ailist.
41143 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41145         [BZ #16284]
41146         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41147         rounding mode to recompute results that overflow to infinity or
41148         underflow to zero.
41149         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41150         bug 16284.
41151         * math/auto-libm-test-out: Regenerated.
41152         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41153         (ccosh_test): Likewise.
41154         (csin_test_data): Use plus_oflow.
41155         (csin_test): Use ALL_RM_TEST.
41156         (csinh_test_data): Use plus_oflow.
41157         (csinh_test): Use ALL_RM_TEST.
41158         * sysdeps/i386/fpu/libm-test-ulps: Update.
41159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41161 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41163         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41164         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41165         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41167         [BZ #16731]
41168         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41169         when x - 1 is zero.
41170         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41171         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41172         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41173         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41174         argument is 1.
41175         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41176         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41177         zero.
41178         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41179         * sysdeps/i386/fpu/libm-test-ulps: Update.
41180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41182 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41184         * scripts/bench.pl: Remove file.
41185         * scripts/bench.py: New benchmark script.
41186         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41187         * benchtests/README: Mention python dependency.
41188         * scripts/pylintrc: New file.
41189         * scripts/pylint: New file.
41191         * bits/mathdef.h: Use #ifdef instead of #if.
41192         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41193         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41194         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41195         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41196         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41197         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41199 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41200             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41202         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41204         and strpbrk-ppc64 objects.
41205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41206         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41207         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41208         multiarch strpbrk for POWER7.
41209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41210         multiarch strpbrk for PPC64.
41211         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41212         ifunc selector.
41213         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41214         strpbrk for POWER7.
41216 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41218         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41219         (atan_test): Likewise.
41220         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41221         (atanh_test): Use ALL_RM_TEST.
41222         (atan2_test_data): Likewise.
41223         (cabs_test): Likewise.
41224         (cacosh_test): Likewise.
41225         (carg_test): Likewise.
41226         (casin_test): Likewise.
41227         (casinh_test): Likewise.
41228         (cbrt_test): Likewise.
41229         (csqrt_test): Likewise.
41230         (erf_test): Likewise.
41231         (erfc_test): Likewise.
41232         (pow10_test): Likewise.
41233         (exp2_test): Likewise.
41234         (hypot_test): Likewise.
41235         (j0_test): Likewise.
41236         (j1_test): Likewise.
41237         (lgamma_test): Likewise.
41238         (gamma_test): Likewise.
41239         (sincos_test): Likewise.
41240         (tanh_test): Likewise.
41241         (y0_test): Likewise.
41242         (y1_test): Likewise.
41243         * sysdeps/i386/fpu/libm-test-ulps: Update.
41244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41246 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41248         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41250         and strcspn-ppc64 objects.
41251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41252         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41253         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41254         multiarch strcspn for POWER7.
41255         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41256         multiarch strcspn for PPC64.
41257         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41258         ifunc selector.
41259         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41260         strcspn for POWER7.
41262 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41264         * math/gen-libm-test.pl (generate_testfile): Expect only function
41265         name as argument to AUTO_TESTS_* and pass results for all rounding
41266         modes to parse_args.
41267         (parse_auto_input): Separate inputs of automatic tests from
41268         outputs before storing in %auto_tests.
41269         * math/libm-test.inc (acos_test_data): Update call to
41270         AUTO_TESTS_f_f.
41271         (acos_test): Use ALL_RM_TEST.
41272         (acos_tonearest_test_data): Remove.
41273         (acos_test_tonearest): Likewise.
41274         (acos_towardzero_test_data): Likewise.
41275         (acos_test_towardzero): Likewise.
41276         (acos_downward_test_data): Likewise.
41277         (acos_test_downward): Likewise.
41278         (acos_upward_test_data): Likewise.
41279         (acos_test_upward): Likewise.
41280         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41281         (asin_test_data): Likewise.
41282         (asin_test): Use ALL_RM_TEST.
41283         (asin_tonearest_test_data): Remove.
41284         (asin_test_tonearest): Likewise.
41285         (asin_towardzero_test_data): Likewise.
41286         (asin_test_towardzero): Likewise.
41287         (asin_downward_test_data): Likewise.
41288         (asin_test_downward): Likewise.
41289         (asin_upward_test_data): Likewise.
41290         (asin_test_upward): Likewise.
41291         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41292         (atan_test_data): Likewise.
41293         (atanh_test_data): Likewise.
41294         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41295         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41296         (carg_test_data): Likewise.
41297         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41298         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41299         (ccosh_test_data): Likewise.
41300         (cexp_test_data): Likewise.
41301         (clog_test_data): Likewise.
41302         (clog10_test_data): Likewise.
41303         (cos_test_data): Update call to AUTO_TESTS_f_f.
41304         (cos_test): Use ALL_RM_TEST.
41305         (cos_tonearest_test_data): Remove.
41306         (cos_test_tonearest): Likewise.
41307         (cos_towardzero_test_data): Likewise.
41308         (cos_test_towardzero): Likewise.
41309         (cos_downward_test_data): Likewise.
41310         (cos_test_downward): Likewise.
41311         (cos_upward_test_data): Likewise.
41312         (cos_test_upward): Likewise.
41313         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41314         (cosh_test): Use ALL_RM_TEST.
41315         (cosh_tonearest_test_data): Remove.
41316         (cosh_test_tonearest): Likewise.
41317         (cosh_towardzero_test_data): Likewise.
41318         (cosh_test_towardzero): Likewise.
41319         (cosh_downward_test_data): Likewise.
41320         (cosh_test_downward): Likewise.
41321         (cosh_upward_test_data): Likewise.
41322         (cosh_test_upward): Likewise.
41323         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41324         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41325         (ctan_test_data): Likewise.
41326         (ctan_test): Use ALL_RM_TEST.
41327         (ctan_tonearest_test_data): Remove.
41328         (ctan_test_tonearest): Likewise.
41329         (ctan_towardzero_test_data): Likewise.
41330         (ctan_test_towardzero): Likewise.
41331         (ctan_downward_test_data): Likewise.
41332         (ctan_test_downward): Likewise.
41333         (ctan_upward_test_data): Likewise.
41334         (ctan_test_upward): Likewise.
41335         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41336         (ctanh_test): Use ALL_RM_TEST.
41337         (ctanh_tonearest_test_data): Remove.
41338         (ctanh_test_tonearest): Likewise.
41339         (ctanh_towardzero_test_data): Likewise.
41340         (ctanh_test_towardzero): Likewise.
41341         (ctanh_downward_test_data): Likewise.
41342         (ctanh_test_downward): Likewise.
41343         (ctanh_upward_test_data): Likewise.
41344         (ctanh_test_upward): Likewise.
41345         (erf_test_data): Update call to AUTO_TESTS_f_f.
41346         (erfc_test_data): Likewise.
41347         (exp_test_data): Likewise.
41348         (exp_test): Use ALL_RM_TEST.
41349         (exp_tonearest_test_data): Remove.
41350         (exp_test_tonearest): Likewise.
41351         (exp_towardzero_test_data): Likewise.
41352         (exp_test_towardzero): Likewise.
41353         (exp_downward_test_data): Likewise.
41354         (exp_test_downward): Likewise.
41355         (exp_upward_test_data): Likewise.
41356         (exp_test_upward): Likewise.
41357         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41358         (exp10_test): Use ALL_RM_TEST.
41359         (exp10_tonearest_test_data): Remove.
41360         (exp10_test_tonearest): Likewise.
41361         (exp10_towardzero_test_data): Likewise.
41362         (exp10_test_towardzero): Likewise.
41363         (exp10_downward_test_data): Likewise.
41364         (exp10_test_downward): Likewise.
41365         (exp10_upward_test_data): Likewise.
41366         (exp10_test_upward): Likewise.
41367         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41368         (expm1_test_data): Likewise.
41369         (expm1_test): Use ALL_RM_TEST.
41370         (expm1_tonearest_test_data): Remove.
41371         (expm1_test_tonearest): Likewise.
41372         (expm1_towardzero_test_data): Likewise.
41373         (expm1_test_towardzero): Likewise.
41374         (expm1_downward_test_data): Likewise.
41375         (expm1_test_downward): Likewise.
41376         (expm1_upward_test_data): Likewise.
41377         (expm1_test_upward): Likewise.
41378         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41379         (fma_test): Use ALL_RM_TEST.
41380         (fma_towardzero_test_data): Remove.
41381         (fma_test_towardzero): Likewise.
41382         (fma_downward_test_data): Likewise.
41383         (fma_test_downward): Likewise.
41384         (fma_upward_test_data): Likewise.
41385         (fma_test_upward): Likewise.
41386         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41387         (j0_test_data): Update call to AUTO_TESTS_f_f.
41388         (j1_test_data): Likewise.
41389         (jn_test_data): Update call to AUTO_TESTS_if_f.
41390         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41391         (log_test_data): Update call to AUTO_TESTS_f_f.
41392         (log10_test_data): Likewise.
41393         (log1p_test_data): Likewise.
41394         (log2_test_data): Likewise.
41395         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41396         (pow_tonearest_test_data): Likewise.
41397         (sin_test_data): Update call to AUTO_TESTS_f_f.
41398         (sin_test): Use ALL_RM_TEST.
41399         (sin_tonearest_test_data): Remove.
41400         (sin_test_tonearest): Likewise.
41401         (sin_towardzero_test_data): Likewise.
41402         (sin_test_towardzero): Likewise.
41403         (sin_downward_test_data): Likewise.
41404         (sin_test_downward): Likewise.
41405         (sin_upward_test_data): Likewise.
41406         (sin_test_upward): Likewise.
41407         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41408         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41409         (sinh_test): Use ALL_RM_TEST.
41410         (sinh_tonearest_test_data): Remove.
41411         (sinh_test_tonearest): Likewise.
41412         (sinh_towardzero_test_data): Likewise.
41413         (sinh_test_towardzero): Likewise.
41414         (sinh_downward_test_data): Likewise.
41415         (sinh_test_downward): Likewise.
41416         (sinh_upward_test_data): Likewise.
41417         (sinh_test_upward): Likewise.
41418         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41419         (sqrt_test): Use ALL_RM_TEST.
41420         (sqrt_tonearest_test_data): Remove.
41421         (sqrt_test_tonearest): Likewise.
41422         (sqrt_towardzero_test_data): Likewise.
41423         (sqrt_test_towardzero): Likewise.
41424         (sqrt_downward_test_data): Likewise.
41425         (sqrt_test_downward): Likewise.
41426         (sqrt_upward_test_data): Likewise.
41427         (sqrt_test_upward): Likewise.
41428         (tan_test_data): Update call to AUTO_TESTS_f_f.
41429         (tan_test): Use ALL_RM_TEST.
41430         (tan_tonearest_test_data): Remove.
41431         (tan_test_tonearest): Likewise.
41432         (tan_towardzero_test_data): Likewise.
41433         (tan_test_towardzero): Likewise.
41434         (tan_downward_test_data): Likewise.
41435         (tan_test_downward): Likewise.
41436         (tan_upward_test_data): Likewise.
41437         (tan_test_upward): Likewise.
41438         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41439         (tgamma_test_data): Likewise.
41440         (y0_test_data): Likewise.
41441         (y1_test_data): Likewise.
41442         (yn_test_data): Update call to AUTO_TESTS_if_f.
41443         (main): Do not call removed functions.
41445 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41447         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41448         (ldexp_test_data): Remove.
41449         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41450         scalbn_test_data.
41451         (scalb_test): Use ALL_RM_TEST.
41453 2014-03-19  Andreas Schwab  <schwab@suse.de>
41455         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41457 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41459         [BZ #16649]
41460         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41461         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41462         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41464         (__ASSUME_PREADV): Undefine.
41465         (__ASSUME_PWRITEV): Likewise.
41467 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41469         * bits/mman-linux.h: Add comment about non-Linux use.
41470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41471         bits/mman-linux.h resting place.
41473         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41474         * bits/mman-linux.h: ... here.
41476 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41478         * conform/conformtest.pl: Add standard definition when calling C
41479         preprocessor on data files.
41480         (checknamespace): Remove unused variable.
41482 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41484         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41485         minus_oflow, plus_uflow and minus_uflow in expected results.
41486         * math/libm-test.inc (scalbn_test_data): Add more tests of
41487         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41488         minus_uflow.
41489         (scalbn_test): Use ALL_RM_TEST.
41490         (scalbln_test_data): Add more tests of negative arguments.  Use
41491         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41492         (scalbln_test): Use ALL_RM_TEST.
41494 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41496         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41498 2014-03-18  Will Newton  <will.newton@linaro.org>
41500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41501         inaccurate comment.
41503 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41505         * Makerules [!subdir] (check-abi): Exit with error status if a
41506         test failed.
41508 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41510         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41511         for rint.  Include results for all rounding modes.
41512         (nearbyint_test): Use ALL_RM_TEST.
41513         (rint_test_data): Include all tests used for nearbyint.
41515 2014-03-17  Will Newton  <will.newton@linaro.org>
41517         * nptl/sysdeps/pthread/pthread.h: Revert previous
41518         change.
41520         * sysdeps/generic/ldsodefs.h: Revert previous
41521         change.
41523         * libio/genops.c: Revert previous change.
41524         * libio/libioP.h: Likewise.
41525         * stdio-common/vfprintf.c: Likewise.
41527         * sysdeps/generic/math_private.h: Revert previous
41528         change.
41530         * sysdeps/generic/math_private.h: Check whether
41531         HAVE_RM_CTX is defined with #ifdef rather
41532         than #if.
41534         * argp/argp-fmtstream.h: Check whether
41535         __STRICT_ANSI__ is defined with #ifdef rather
41536         than #if.
41537         * argp/argp.h: Likewise.
41539         * libio/genops.c: Check whether
41540         _IO_JUMPS_OFFSET is defined with #ifdef rather
41541         than #if.
41542         * libio/libioP.h: Likewise.
41543         * stdio-common/vfprintf.c: Likewise.
41545         * sysdeps/generic/ldsodefs.h: Check whether
41546         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41547         than #if.
41549         * nptl/sysdeps/pthread/pthread.h: Check
41550         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41551         its value.
41553 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41555         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41556         setting O_APPEND.
41557         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41558         test case.
41560         [BZ #16680]
41561         * libio/fileops.c (_IO_file_open): Seek to end of file but
41562         don't cache the offset.
41563         (get_file_offset): Remove function.
41564         (do_ftell): Use cached offset when available.
41565         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41566         don't cache the offset.
41567         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41568         case.
41569         (do_one_test): Call it.
41570         (do_ftell_test): Fix up expected old offset for a+ mode.
41571         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41572         available.
41574         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41575         up test status with function return status.
41576         (do_write_test): Likewise.
41577         (do_append_test): Likewise.
41579         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41580         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41581         Remove.
41583 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41585         * math/gen-libm-test.pl (parse_args): Handle results specified for
41586         each rounding mode separately.
41587         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41588         tests and results from lrint_tonearest_test_data,
41589         lrint_towardzero_test_data, lrint_downward_test_data and
41590         lrint_upward_test_data.
41591         (lrint_test): Use ALL_RM_TEST.
41592         (lrint_tonearest_test_data): Remove.
41593         (lrint_test_tonearest): Likewise.
41594         (lrint_towardzero_test_data): Likewise.
41595         (lrint_test_towardzero): Likewise.
41596         (lrint_downward_test_data): Likewise.
41597         (lrint_test_downward): Likewise.
41598         (lrint_upward_test_data): Likewise.
41599         (lrint_test_upward): Likewise.
41600         (llrint_test_data): Merge in per-rounding-mode tests and results
41601         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41602         llrint_downward_test_data and llrint_upward_test_data.
41603         (llrint_test): Use ALL_RM_TEST.
41604         (llrint_tonearest_test_data): Remove.
41605         (llrint_test_tonearest): Likewise.
41606         (llrint_towardzero_test_data): Likewise.
41607         (llrint_test_towardzero): Likewise.
41608         (llrint_downward_test_data): Likewise.
41609         (llrint_test_downward): Likewise.
41610         (llrint_upward_test_data): Likewise.
41611         (llrint_test_upward): Likewise.
41612         (rint_test_data): Merge in per-rounding-mode tests and results
41613         from rint_tonearest_test_data, rint_towardzero_test_data,
41614         rint_downward_test_data and rint_upward_test_data.  Add
41615         per-rounding-mode results for tests not in those arrays.
41616         (rint_test): Use ALL_RM_TEST.
41617         (rint_tonearest_test_data): Remove.
41618         (rint_test_tonearest): Likewise.
41619         (rint_towardzero_test_data): Likewise.
41620         (rint_test_towardzero): Likewise.
41621         (rint_downward_test_data): Likewise.
41622         (rint_test_downward): Likewise.
41623         (rint_upward_test_data): Likewise.
41624         (rint_test_upward): Likewise.
41625         (main): Don't call removed functions.
41627 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41629         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41630         "Compiled on ..." crapola.  It is anti-useful.
41632 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41634         * scripts/evaluate-test.sh: Handle fourth argument to determine
41635         whether test run should stop on failure.
41636         * Makeconfig (stop-on-test-failure): New variable.
41637         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41638         $(stop-on-test-failure).
41639         * Makefile (tests): Give a summary of results from testing and
41640         exit with failure status if they include an ERROR or FAIL.
41641         (xtests): Likewise.
41642         * manual/install.texi (Configuring and compiling): Mention
41643         stop-on-test-failure=y.
41644         * INSTALL: Regenerated.
41646 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41648         * scripts/versionlist.awk: New file.
41649         * Makerules [$(build-shared) = yes]
41650         (postclean-generated): Add Versions.def, not Versions.def.v and
41651         Versions.def.v.i.
41652         ($(common-objpfx)Versions.def.v.i): Target removed.
41653         ($(common-objpfx)Versions.def): New target.
41654         ($(common-objpfx)Versions.all): Depend on that rather that
41655         $(common-objpfx)Versions.def.v.
41656         * Versions.def: File removed.
41658         * Makeconfig (+gccwarn): Add -Wundef.
41659         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41660         a dl-sysdep.h breaking its contract.
41661         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41662         * include/stackinfo.h: New file.
41663         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41664         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41665         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41666         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41667         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41668         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41669         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41670         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41671         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41672         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41673         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41674         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41675         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41676         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41677         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41679 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41681         [BZ #16707]
41682         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41683         implementation.
41684         * math/libm-test.inc (round_test_data): Add more tests.
41686         [BZ #16706]
41687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41688         implementation.
41689         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41691         [BZ #16701]
41692         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41693         implementation.
41694         * math/libm-test.inc (ceil_test_data): Add more tests.
41696         * math/libm-test.inc (trunc_test_data): Add more tests related to
41697         BZ#16414.
41699 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41701         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41702         with #if rather than #ifdef.
41703         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41705 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41707         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41708         first.  Disable AVX-512 GCC support if assembler doesn't support
41709         it.
41710         * sysdeps/x86_64/configure: Regenerated.
41712 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41714         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41715         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41716         (__old_pthread_attr_setstack): Likewise.
41717         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41718         [!_STACK_GROWS_DOWN]: Likewise.
41720 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41722         * config.make.in (have-bash2): Delete.
41723         * configure.ac (libc_cv_have_bash2): Delete.
41724         * configure: Regenerate.
41725         * elf/Makefile (common-ldd-rewrite): Rename to ...
41726         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41727         (sh-ldd-rewrite): Delete.
41728         (bash-ldd-rewrite): Delete.
41729         (have-bash2): Delete checks.
41730         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41731         ldd-rewrite.
41733         * config.make.in (have-ksh): Delete.
41734         (KSH): Delete.
41735         * configure.ac (libc_cv_have_ksh): Delete.
41736         * configure: Regenerate.
41738         * elf/Makefile: Delete $(have-ksh) check.
41739         ($(objpfx)sotruss): Change KSH to BASH.
41740         * elf/sotruss.ksh: Rename to ...
41741         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41742         function style to match POSIX.  Drop ksh vim mode setting.
41744         * manual/time.texi (Specifying the Time Zone with TZ): Change
41745         Tuesday to Thursday.
41747         * debug/tst-longjmp_chk2.c: Update header comment.
41748         (stackoverflow_handler): Add comment.  Call assert on pass value.
41750 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41752         [BZ #16194]
41753         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41754         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41755         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41756         (La_x86_64_vector): Add zmm.
41757         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41758         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41759         ($(objpfx)tst-audit10): New target.
41760         ($(objpfx)tst-audit10.out): Likewise.
41761         (tst-audit10-ENV): New.
41762         (AVX512-CFLAGS): Likewise.
41763         (CFLAGS-tst-audit10.c): Likewise.
41764         (CFLAGS-tst-auditmod10a.c): Likewise.
41765         (CFLAGS-tst-auditmod10b.c): Likewise.
41766         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41767         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41768         * sysdeps/x86_64/configure: Regenerated.
41769         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41770         AVX-512 zmm register support.
41771         (_dl_x86_64_save_sse): Likewise.
41772         (_dl_x86_64_restore_sse): Likewise.
41773         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41774         size vector registers.
41775         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41776         (ZMM_SIZE): Likewise.
41777         * sysdeps/x86_64/tst-audit10.c: New file.
41778         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41779         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41781 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41783         * configure.ac (HAVE_EHDR_START): New check.
41784         * configure: Regenerated.
41785         * config.h.in (HAVE_EHDR_START): New #undef.
41786         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41787         assuming the lowest-addressed segment maps the start of the file.
41789 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41791         * INSTALL: Regenerated.
41793 2014-03-13  Will Newton  <will.newton@linaro.org>
41795         * manual/setjmp.texi (System V contexts): Improve
41796         clarity and grammar of documentation.
41798 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41800         [BZ #16381]
41801         * elf/Makefile (tests): Add tst-pie2.
41802         (tests-pie): Add tst-pie2.
41803         * elf/tst-pie2.c: New file.
41804         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41805         for ET_EXEC.
41806         * elf/rtld.c (map_doit): Load executable as lt_executable.
41807         (dl_main): Likewise.
41809 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41811         [BZ #16642]
41812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41813         (__ASSUME_PSELECT): Undefine.
41815 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41817         [BZ #16689]
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41819         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41820         static build.
41821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41822         selector for static builds.
41824 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41826         [BZ #16695]
41827         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41828         key in the buffer.
41830 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41832         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41833         IFUNC selector for static builds.
41835 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41837         * sysdeps/mips/math_private.h [__mips_hard_float]
41838         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41839         libc_feresetround_mips_ctx.
41840         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41841         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41842         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41844         [BZ #16677]
41845         * math/s_nextafter.c (__nextafter): Do not return value from
41846         overflowing computation.
41847         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41848         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41849         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41850         Likewise.
41851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41852         Likewise.
41853         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41854         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41856 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41858         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41859         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41860         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41861         the new mov targetting sp.
41863 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41865         [BZ #16683]
41866         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41867         Define it for static builds as well.
41868         (NO_BZERO_IMPL): Likewise.
41870 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41872         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41873         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41874         multiarch strspn for PPC64.
41875         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41876         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41878         (__libc_ifunc_impl_list): Likewise.
41879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41880         multiarch optimizations
41881         * string/strspn.c (strspn): Using macro to redefine symbol name.
41883 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41884             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41886         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41887         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41888         multiarch strncat for PPC64.
41889         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41890         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41892         (__libc_ifunc_impl_list): Likewise.
41893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41894         multiarch optimizations
41896 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41898         [BZ #16639]
41899         * nscd/nscd.service: Make service type forking.
41901 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41903         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41904         sign in non default rounding modes.
41905         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41907 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41909         * math/libm-test.inc (ALL_RM_TEST): New macro.
41910         (ceil_test): Use ALL_RM_TEST.
41911         (cimag_test): Likewise.
41912         (conj_test): Likewise.
41913         (copysign_test): Likewise.
41914         (cproj_test): Likewise.
41915         (creal_test): Likewise.
41916         (fabs_test): Likewise.
41917         (floor_test): Likewise.
41918         (fmax_test): Likewise.
41919         (fmin_test): Likewise.
41920         (fmod_test): Likewise.
41921         (fpclassify_test): Likewise.
41922         (frexp_test): Likewise.
41923         (ilogb_test): Likewise.
41924         (isfinite_test): Likewise.
41925         (finite_test): Likewise.
41926         (isgreater_test): Likewise.
41927         (isgreaterequal_test): Likewise.
41928         (isinf_test): Likewise.
41929         (isless_test): Likewise.
41930         (islessequal_test): Likewise.
41931         (islessgreater_test): Likewise.
41932         (isnan_test): Likewise.
41933         (isnormal_test): Likewise.
41934         (issignaling_test): Likewise.
41935         (isunordered_test): Likewise.
41936         (logb_test): Likewise.
41937         (logb_downward_test_data): Remove.
41938         (logb_test_downward): Likewise.
41939         (lround_test): Use ALL_RM_TEST.
41940         (llround_test): Likewise.
41941         (modf_test): Likewise.
41942         (nexttoward_test): Likewise.
41943         (remainder_test): Likewise.
41944         (drem_test): Likewise.
41945         (remainder_tonearest_test_data): Likewise.
41946         (remainder_test_tonearest): Likewise.
41947         (drem_test_tonearest): Likewise.
41948         (remainder_towardzero_test_data): Likewise.
41949         (remainder_test_towardzero): Likewise.
41950         (drem_test_towardzero): Likewise.
41951         (remainder_downward_test_data): Likewise.
41952         (remainder_test_downward): Likewise.
41953         (drem_test_downward): Likewise.
41954         (remainder_upward_test_data): Likewise.
41955         (remainder_test_upward): Likewise.
41956         (drem_test_upward): Likewise.
41957         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41958         (round_test): Use ALL_RM_TEST.
41959         (signbit_test): Likewise.
41960         (trunc_test): Likewise.
41961         (significand_test): Likewise.
41962         (main): Don't call removed functions.
41964 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41966         [BZ #16674]
41967         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41968         || __USE_XOPEN2K8].
41969         (ILL_ILLOPN): Likewise.
41970         (ILL_ILLADR): Likewise.
41971         (ILL_ILLTRP): Likewise.
41972         (ILL_PRVOPC): Likewise.
41973         (ILL_PRVREG): Likewise.
41974         (ILL_COPROC): Likewise.
41975         (ILL_BADSTK): Likewise.
41976         (FPE_INTDIV): Likewise.
41977         (FPE_INTOVF): Likewise.
41978         (FPE_FLTDIV): Likewise.
41979         (FPE_FLTOVF): Likewise.
41980         (FPE_FLTUND): Likewise.
41981         (FPE_FLTRES): Likewise.
41982         (FPE_FLTINV): Likewise.
41983         (FPE_FLTSUB): Likewise.
41984         (SEGV_MAPERR): Likewise.
41985         (SEGV_ACCERR): Likewise.
41986         (BUS_ADRALN): Likewise.
41987         (BUS_ADRERR): Likewise.
41988         (BUS_OBJERR): Likewise.
41989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41990         (TRAP_TRACE): Likewise.
41991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41992         __USE_XOPEN2K8].
41993         (CLD_KILLED): Likewise.
41994         (CLD_DUMPED): Likewise.
41995         (CLD_TRAPPED): Likewise.
41996         (CLD_STOPPED): Likewise.
41997         (CLD_CONTINUED): Likewise.
41998         (POLL_IN): Likewise.
41999         (POLL_OUT): Likewise.
42000         (POLL_MSG): Likewise.
42001         (POLL_ERR): Likewise.
42002         (POLL_PRI): Likewise.
42003         (POLL_HUP): Likewise.
42004         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42005         Likewise.
42006         (ILL_ILLOPN): Likewise.
42007         (ILL_ILLADR): Likewise.
42008         (ILL_ILLTRP): Likewise.
42009         (ILL_PRVOPC): Likewise.
42010         (ILL_PRVREG): Likewise.
42011         (ILL_COPROC): Likewise.
42012         (ILL_BADSTK): Likewise.
42013         (FPE_INTDIV): Likewise.
42014         (FPE_INTOVF): Likewise.
42015         (FPE_FLTDIV): Likewise.
42016         (FPE_FLTOVF): Likewise.
42017         (FPE_FLTUND): Likewise.
42018         (FPE_FLTRES): Likewise.
42019         (FPE_FLTINV): Likewise.
42020         (FPE_FLTSUB): Likewise.
42021         (SEGV_MAPERR): Likewise.
42022         (SEGV_ACCERR): Likewise.
42023         (BUS_ADRALN): Likewise.
42024         (BUS_ADRERR): Likewise.
42025         (BUS_OBJERR): Likewise.
42026         (BUS_MCEERR_AR): Likewise.
42027         (BUS_MCEERR_AO): Likewise.
42028         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42029         (TRAP_TRACE): Likewise.
42030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42031         __USE_XOPEN2K8].
42032         (CLD_KILLED): Likewise.
42033         (CLD_DUMPED): Likewise.
42034         (CLD_TRAPPED): Likewise.
42035         (CLD_STOPPED): Likewise.
42036         (CLD_CONTINUED): Likewise.
42037         (POLL_IN): Likewise.
42038         (POLL_OUT): Likewise.
42039         (POLL_MSG): Likewise.
42040         (POLL_ERR): Likewise.
42041         (POLL_PRI): Likewise.
42042         (POLL_HUP): Likewise.
42043         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42044         (ILL_ILLOPN): Likewise.
42045         (ILL_ILLADR): Likewise.
42046         (ILL_ILLTRP): Likewise.
42047         (ILL_PRVOPC): Likewise.
42048         (ILL_PRVREG): Likewise.
42049         (ILL_COPROC): Likewise.
42050         (ILL_BADSTK): Likewise.
42051         (FPE_INTDIV): Likewise.
42052         (FPE_INTOVF): Likewise.
42053         (FPE_FLTDIV): Likewise.
42054         (FPE_FLTOVF): Likewise.
42055         (FPE_FLTUND): Likewise.
42056         (FPE_FLTRES): Likewise.
42057         (FPE_FLTINV): Likewise.
42058         (FPE_FLTSUB): Likewise.
42059         (SEGV_MAPERR): Likewise.
42060         (SEGV_ACCERR): Likewise.
42061         (BUS_ADRALN): Likewise.
42062         (BUS_ADRERR): Likewise.
42063         (BUS_OBJERR): Likewise.
42064         (BUS_MCEERR_AR): Likewise.
42065         (BUS_MCEERR_AO): Likewise.
42066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42067         (TRAP_TRACE): Likewise.
42068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42069         __USE_XOPEN2K8].
42070         (CLD_KILLED): Likewise.
42071         (CLD_DUMPED): Likewise.
42072         (CLD_TRAPPED): Likewise.
42073         (CLD_STOPPED): Likewise.
42074         (CLD_CONTINUED): Likewise.
42075         (POLL_IN): Likewise.
42076         (POLL_OUT): Likewise.
42077         (POLL_MSG): Likewise.
42078         (POLL_ERR): Likewise.
42079         (POLL_PRI): Likewise.
42080         (POLL_HUP): Likewise.
42081         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42082         Likewise.
42083         (ILL_ILLOPN): Likewise.
42084         (ILL_ILLADR): Likewise.
42085         (ILL_ILLTRP): Likewise.
42086         (ILL_PRVOPC): Likewise.
42087         (ILL_PRVREG): Likewise.
42088         (ILL_COPROC): Likewise.
42089         (ILL_BADSTK): Likewise.
42090         (ILL_BADIADDR): Likewise.
42091         (ILL_BREAK): Likewise.
42092         (FPE_INTDIV): Likewise.
42093         (FPE_INTOVF): Likewise.
42094         (FPE_FLTDIV): Likewise.
42095         (FPE_FLTOVF): Likewise.
42096         (FPE_FLTUND): Likewise.
42097         (FPE_FLTRES): Likewise.
42098         (FPE_FLTINV): Likewise.
42099         (FPE_FLTSUB): Likewise.
42100         (FPE_DECOVF): Likewise.
42101         (FPE_DECDIV): Likewise.
42102         (FPE_DECERR): Likewise.
42103         (FPE_INVASC): Likewise.
42104         (FPE_INVDEC): Likewise.
42105         (SEGV_MAPERR): Likewise.
42106         (SEGV_ACCERR): Likewise.
42107         (SEGV_PSTKOVF): Likewise.
42108         (BUS_ADRALN): Likewise.
42109         (BUS_ADRERR): Likewise.
42110         (BUS_OBJERR): Likewise.
42111         (BUS_MCEERR_AR): Likewise.
42112         (BUS_MCEERR_AO): Likewise.
42113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42114         (TRAP_TRACE): Likewise.
42115         (TRAP_BRANCH): Likewise.
42116         (TRAP_HWBKPT): Likewise.
42117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42118         __USE_XOPEN2K8].
42119         (CLD_KILLED): Likewise.
42120         (CLD_DUMPED): Likewise.
42121         (CLD_TRAPPED): Likewise.
42122         (CLD_STOPPED): Likewise.
42123         (CLD_CONTINUED): Likewise.
42124         (POLL_IN): Likewise.
42125         (POLL_OUT): Likewise.
42126         (POLL_MSG): Likewise.
42127         (POLL_ERR): Likewise.
42128         (POLL_PRI): Likewise.
42129         (POLL_HUP): Likewise.
42130         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42131         (ILL_ILLOPN): Likewise.
42132         (ILL_ILLADR): Likewise.
42133         (ILL_ILLTRP): Likewise.
42134         (ILL_PRVOPC): Likewise.
42135         (ILL_PRVREG): Likewise.
42136         (ILL_COPROC): Likewise.
42137         (ILL_BADSTK): Likewise.
42138         (FPE_INTDIV): Likewise.
42139         (FPE_INTOVF): Likewise.
42140         (FPE_FLTDIV): Likewise.
42141         (FPE_FLTOVF): Likewise.
42142         (FPE_FLTUND): Likewise.
42143         (FPE_FLTRES): Likewise.
42144         (FPE_FLTINV): Likewise.
42145         (FPE_FLTSUB): Likewise.
42146         (SEGV_MAPERR): Likewise.
42147         (SEGV_ACCERR): Likewise.
42148         (BUS_ADRALN): Likewise.
42149         (BUS_ADRERR): Likewise.
42150         (BUS_OBJERR): Likewise.
42151         (BUS_MCEERR_AR): Likewise.
42152         (BUS_MCEERR_AO): Likewise.
42153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42154         (TRAP_TRACE): Likewise.
42155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42156         __USE_XOPEN2K8].
42157         (CLD_KILLED): Likewise.
42158         (CLD_DUMPED): Likewise.
42159         (CLD_TRAPPED): Likewise.
42160         (CLD_STOPPED): Likewise.
42161         (CLD_CONTINUED): Likewise.
42162         (POLL_IN): Likewise.
42163         (POLL_OUT): Likewise.
42164         (POLL_MSG): Likewise.
42165         (POLL_ERR): Likewise.
42166         (POLL_PRI): Likewise.
42167         (POLL_HUP): Likewise.
42168         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42169         (ILL_ILLOPN): Likewise.
42170         (ILL_ILLADR): Likewise.
42171         (ILL_ILLTRP): Likewise.
42172         (ILL_PRVOPC): Likewise.
42173         (ILL_PRVREG): Likewise.
42174         (ILL_COPROC): Likewise.
42175         (ILL_BADSTK): Likewise.
42176         (FPE_INTDIV): Likewise.
42177         (FPE_INTOVF): Likewise.
42178         (FPE_FLTDIV): Likewise.
42179         (FPE_FLTOVF): Likewise.
42180         (FPE_FLTUND): Likewise.
42181         (FPE_FLTRES): Likewise.
42182         (FPE_FLTINV): Likewise.
42183         (FPE_FLTSUB): Likewise.
42184         (SEGV_MAPERR): Likewise.
42185         (SEGV_ACCERR): Likewise.
42186         (BUS_ADRALN): Likewise.
42187         (BUS_ADRERR): Likewise.
42188         (BUS_OBJERR): Likewise.
42189         (BUS_MCEERR_AR): Likewise.
42190         (BUS_MCEERR_AO): Likewise.
42191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42192         (TRAP_TRACE): Likewise.
42193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42194         __USE_XOPEN2K8].
42195         (CLD_KILLED): Likewise.
42196         (CLD_DUMPED): Likewise.
42197         (CLD_TRAPPED): Likewise.
42198         (CLD_STOPPED): Likewise.
42199         (CLD_CONTINUED): Likewise.
42200         (POLL_IN): Likewise.
42201         (POLL_OUT): Likewise.
42202         (POLL_MSG): Likewise.
42203         (POLL_ERR): Likewise.
42204         (POLL_PRI): Likewise.
42205         (POLL_HUP): Likewise.
42206         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42207         (ILL_ILLOPN): Likewise.
42208         (ILL_ILLADR): Likewise.
42209         (ILL_ILLTRP): Likewise.
42210         (ILL_PRVOPC): Likewise.
42211         (ILL_PRVREG): Likewise.
42212         (ILL_COPROC): Likewise.
42213         (ILL_BADSTK): Likewise.
42214         (FPE_INTDIV): Likewise.
42215         (FPE_INTOVF): Likewise.
42216         (FPE_FLTDIV): Likewise.
42217         (FPE_FLTOVF): Likewise.
42218         (FPE_FLTUND): Likewise.
42219         (FPE_FLTRES): Likewise.
42220         (FPE_FLTINV): Likewise.
42221         (FPE_FLTSUB): Likewise.
42222         (SEGV_MAPERR): Likewise.
42223         (SEGV_ACCERR): Likewise.
42224         (BUS_ADRALN): Likewise.
42225         (BUS_ADRERR): Likewise.
42226         (BUS_OBJERR): Likewise.
42227         (BUS_MCEERR_AR): Likewise.
42228         (BUS_MCEERR_AO): Likewise.
42229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42230         (TRAP_TRACE): Likewise.
42231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42232         __USE_XOPEN2K8].
42233         (CLD_KILLED): Likewise.
42234         (CLD_DUMPED): Likewise.
42235         (CLD_TRAPPED): Likewise.
42236         (CLD_STOPPED): Likewise.
42237         (CLD_CONTINUED): Likewise.
42238         (POLL_IN): Likewise.
42239         (POLL_OUT): Likewise.
42240         (POLL_MSG): Likewise.
42241         (POLL_ERR): Likewise.
42242         (POLL_PRI): Likewise.
42243         (POLL_HUP): Likewise.
42244         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42245         (ILL_ILLOPN): Likewise.
42246         (ILL_ILLADR): Likewise.
42247         (ILL_ILLTRP): Likewise.
42248         (ILL_PRVOPC): Likewise.
42249         (ILL_PRVREG): Likewise.
42250         (ILL_COPROC): Likewise.
42251         (ILL_BADSTK): Likewise.
42252         (ILL_DBLFLT): Likewise.
42253         (ILL_HARDWALL): Likewise.
42254         (FPE_INTDIV): Likewise.
42255         (FPE_INTOVF): Likewise.
42256         (FPE_FLTDIV): Likewise.
42257         (FPE_FLTOVF): Likewise.
42258         (FPE_FLTUND): Likewise.
42259         (FPE_FLTRES): Likewise.
42260         (FPE_FLTINV): Likewise.
42261         (FPE_FLTSUB): Likewise.
42262         (SEGV_MAPERR): Likewise.
42263         (SEGV_ACCERR): Likewise.
42264         (BUS_ADRALN): Likewise.
42265         (BUS_ADRERR): Likewise.
42266         (BUS_OBJERR): Likewise.
42267         (BUS_MCEERR_AR): Likewise.
42268         (BUS_MCEERR_AO): Likewise.
42269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42270         (TRAP_TRACE): Likewise.
42271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42272         __USE_XOPEN2K8].
42273         (CLD_KILLED): Likewise.
42274         (CLD_DUMPED): Likewise.
42275         (CLD_TRAPPED): Likewise.
42276         (CLD_STOPPED): Likewise.
42277         (CLD_CONTINUED): Likewise.
42278         (POLL_IN): Likewise.
42279         (POLL_OUT): Likewise.
42280         (POLL_MSG): Likewise.
42281         (POLL_ERR): Likewise.
42282         (POLL_PRI): Likewise.
42283         (POLL_HUP): Likewise.
42284         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42285         (ILL_ILLOPN): Likewise.
42286         (ILL_ILLADR): Likewise.
42287         (ILL_ILLTRP): Likewise.
42288         (ILL_PRVOPC): Likewise.
42289         (ILL_PRVREG): Likewise.
42290         (ILL_COPROC): Likewise.
42291         (ILL_BADSTK): Likewise.
42292         (FPE_INTDIV): Likewise.
42293         (FPE_INTOVF): Likewise.
42294         (FPE_FLTDIV): Likewise.
42295         (FPE_FLTOVF): Likewise.
42296         (FPE_FLTUND): Likewise.
42297         (FPE_FLTRES): Likewise.
42298         (FPE_FLTINV): Likewise.
42299         (FPE_FLTSUB): Likewise.
42300         (SEGV_MAPERR): Likewise.
42301         (SEGV_ACCERR): Likewise.
42302         (BUS_ADRALN): Likewise.
42303         (BUS_ADRERR): Likewise.
42304         (BUS_OBJERR): Likewise.
42305         (BUS_MCEERR_AR): Likewise.
42306         (BUS_MCEERR_AO): Likewise.
42307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42308         (TRAP_TRACE): Likewise.
42309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42310         __USE_XOPEN2K8].
42311         (CLD_KILLED): Likewise.
42312         (CLD_DUMPED): Likewise.
42313         (CLD_TRAPPED): Likewise.
42314         (CLD_STOPPED): Likewise.
42315         (CLD_CONTINUED): Likewise.
42316         (POLL_IN): Likewise.
42317         (POLL_OUT): Likewise.
42318         (POLL_MSG): Likewise.
42319         (POLL_ERR): Likewise.
42320         (POLL_PRI): Likewise.
42321         (POLL_HUP): Likewise.
42322         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42323         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42325         [BZ #16670]
42326         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42327         before #include of <time.h>.
42328         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42329         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42330         (test-xfail-UNIX98/sched.h/conform): Likewise.
42332 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42334         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42335         error absence of trapping exception support.
42336         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42338 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42340         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42341         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42342         * timezone/Makefile (testdata): Move definition above include of
42343         Rules.
42344         (test-zones): New variable.
42345         (tests-special): Add zone files.
42346         (build-testdata): Use $(evaluate-test).
42348         * elf/Makefile (tests-special): Rename tests to end with .out.
42349         ($(objpfx)noload-mem): Likewise.
42350         ($(objpfx)tst-leaks1-mem): Likewise.
42351         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42352         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42353         $(objpfx)test-iconvconfig.out.
42354         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42355         set -e inside subshell and redirect output to file.
42356         * iconvdata/Makefile (generated): Rename tests to end with .out.
42357         Correct type.
42358         (tests-special): Rename tests to end with .out.
42359         ($(objpfx)mtrace-tst-loading): Likewise.
42360         * intl/Makefile (generated): Likewise.
42361         (tests-special): Likewise.
42362         ($(objpfx)mtrace-tst-gettext): Likewise.
42363         * misc/Makefile (generated): Likewise.
42364         (tests-special): Likewise.
42365         ($(objpfx)tst-error1-mem): Likewise.
42366         * nptl/Makefile (tests-special): Likewise.
42367         ($(objpfx)tst-stack3-mem): Likewise.
42368         (generated): Likewise.
42369         * posix/Makefile (generated): Likewise.
42370         (tests-special): Likewise.
42371         (xtests-special): Likewise.
42372         ($(objpfx)tst-fnmatch-mem): Likewise.
42373         ($(objpfx)bug-regex2-mem): Likewise.
42374         ($(objpfx)bug-regex14-mem): Likewise.
42375         ($(objpfx)bug-regex21-mem): Likewise.
42376         ($(objpfx)bug-regex31-mem): Likewise.
42377         ($(objpfx)tst-vfork3-mem): Likewise.
42378         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42379         ($(objpfx)tst-pcre-mem): Likewise.
42380         ($(objpfx)tst-boost-mem): Likewise.
42381         ($(objpfx)bug-ga2-mem): Likewise.
42382         ($(objpfx)bug-glob2-mem): Likewise.
42383         * resolv/Makefile (generate): Likewise.
42384         (tests-special): Likewise.
42385         (xtests-special): Likewise.
42386         (generated): Likewise.
42387         ($(objpfx)mtrace-tst-leaks): Likewise.
42388         ($(objpfx)mtrace-tst-leaks2): Likewise.
42390         * scripts/merge-test-results.sh: New file.
42391         * Makefile (tests-special-notdir): New variable.
42392         (tests): Run merge-test-results.sh.
42393         (xtests): Likewise.
42394         * Rules (tests-special-notdir): New variable.
42395         (xtests-special-notdir): Likewise.
42396         (tests): Run merge-test-results.sh
42397         (xtests): Likewise.
42399         * Makeconfig (test-xfail-name): New variable.
42400         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42401         compute variable name for expected failures.
42402         * conform/Makefile (conformtest-headers-data): New variable.
42403         (conformtest-standards): Likewise.
42404         (conformtest-headers-ISO): Likewise.
42405         (conformtest-headers-ISO99): Likewise.
42406         (conformtest-headers-ISO11): Likewise.
42407         (conformtest-headers-POSIX): Likewise.
42408         (conformtest-headers-XPG3): Likewise.
42409         (conformtest-headers-XPG4): Likewise.
42410         (conformtest-headers-UNIX98): Likewise.
42411         (conformtest-headers-XOPEN2K): Likewise.
42412         (conformtest-headers-POSIX2008): Likewise.
42413         (conformtest-headers-XOPEN2K8): Likewise.
42414         (conformtest-header-list-base): Likewise.
42415         (conformtest-header-list-tests): Likewise.
42416         (conformtest-header-base): Likewise.
42417         (conformtest-header-tests): Likewise.
42418         (tests-special): Add $(conformtest-header-list-tests).  If
42419         [$(fast-check) && !$(cross-compiling)], add
42420         $(conformtest-header-tests) instead of
42421         $(objpfx)run-conformtest.out.
42422         (generated): Add $(conformtest-header-list-base).  If
42423         [$(fast-check) && !$(cross-compiling)], add
42424         $(conformtest-header-base).  Remove previous setting.
42425         ($(conformtest-header-list-tests)): New target.
42426         (test-xfail-run-conformtest): Remove variable.
42427         ($(objpfx)run-conformtest.out): Remove target.
42428         (test-xfail-ISO11/complex.h/conform): New variable.
42429         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42430         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42431         (test-xfail-XPG3/varargs.h/conform): Likewise.
42432         (test-xfail-XPG4/varargs.h/conform): Likewise.
42433         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42434         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42435         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42436         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42437         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42438         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42439         (test-xfail-XPG3/ftw.h/conform): Likewise.
42440         (test-xfail-XPG3/grp.h/conform): Likewise.
42441         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42442         (test-xfail-XPG3/limits.h/conform): Likewise.
42443         (test-xfail-XPG3/pwd.h/conform): Likewise.
42444         (test-xfail-XPG3/search.h/conform): Likewise.
42445         (test-xfail-XPG3/signal.h/conform): Likewise.
42446         (test-xfail-XPG3/stdio.h/conform): Likewise.
42447         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42448         (test-xfail-XPG3/string.h/conform): Likewise.
42449         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42450         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42451         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42452         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42453         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42454         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42455         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42456         (test-xfail-XPG3/termios.h/conform): Likewise.
42457         (test-xfail-XPG3/time.h/conform): Likewise.
42458         (test-xfail-XPG3/unistd.h/conform): Likewise.
42459         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42460         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42461         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42462         (test-xfail-XPG4/netdb.h/conform): Likewise.
42463         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42464         (test-xfail-XPG4/signal.h/conform): Likewise.
42465         (test-xfail-XPG4/stdio.h/conform): Likewise.
42466         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42467         (test-xfail-XPG4/stropts.h/conform): Likewise.
42468         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42469         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42470         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42471         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42472         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42473         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42474         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42475         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42476         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42477         (test-xfail-XPG4/termios.h/conform): Likewise.
42478         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42479         (test-xfail-XPG4/unistd.h/conform): Likewise.
42480         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42481         (test-xfail-POSIX/sched.h/conform): Likewise.
42482         (test-xfail-POSIX/signal.h/conform): Likewise.
42483         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42484         (test-xfail-POSIX/tar.h/conform): Likewise.
42485         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42486         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42487         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42488         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42489         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42490         (test-xfail-UNIX98/sched.h/conform): Likewise.
42491         (test-xfail-UNIX98/signal.h/conform): Likewise.
42492         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42493         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42494         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42495         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42496         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42497         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42498         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42499         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42500         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42501         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42502         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42503         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42504         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42505         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42506         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42507         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42508         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42509         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42510         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42511         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42512         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42513         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42514         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42515         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42516         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42517         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42518         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42519         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42520         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42521         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42522         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42523         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42524         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42525         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42526         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42527         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42528         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42529         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42530         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42531         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42532         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42533         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42534         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42535         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42536         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42537         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42538         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42539         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42540         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42541         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42542         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42543         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42544         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42545         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42546         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42547         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42548         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42549         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42550         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42551         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42552         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42553         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42554         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42555         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42556         (conformtest-cc-flags): Likewise.
42557         ($(conformtest-header-tests): New target.
42558         * conform/check-header-lists.sh: New file.
42559         * conform/run-conformtest.sh: Remove.
42561         * conform/conformtest.pl: Allow ' and \ in values given for
42562         constants.
42563         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42564         inclusion.
42565         [POSIX] (sys/types.h): Likewise.
42566         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42567         inclusion.
42568         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42569         inclusion.
42570         * conform/data/signal.h-data (SIGIO): Remove expectation.
42571         [XPG3] (SIGBUS): Do not expect.
42572         [POSIX || XPG3] (SIGPOLL): Likewise.
42573         [POSIX || XPG3] (SIGPROF): Likewise.
42574         [POSIX || XPG3] (SIGSYS): Likewise.
42575         [XPG3] (SIGTRAP): Likewise.
42576         [POSIX || XPG3] (SIGURG): Likewise.
42577         [POSIX || XPG3] (SIGVTALRM): Likewise.
42578         [POSIX || XPG3] (SIGXCPU): Likewise.
42579         [POSIX || XPG3] (SIGXFSZ): Likewise.
42580         [POSIX] (SA_SIGINFO): Expect.
42581         [XPG3] (siginfo_t): Do not expect type or contents.
42582         [POSIX] (si_pid): Do not expect element.
42583         [POSIX] (si_uid): Likewise.
42584         [POSIX] (si_addr): Likewise.
42585         [POSIX] (si_status): Likewise.
42586         [POSIX] (si_band): Likewise.
42587         [XPG4] (si_value): Likewise.
42588         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42589         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42590         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42591         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42592         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42593         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42594         [POSIX || XPG3] (ILL_COPROC): Likewise.
42595         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42596         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42597         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42598         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42599         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42600         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42601         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42602         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42603         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42604         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42605         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42606         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42607         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42608         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42609         [POSIX || XPG3] (CLD_EXITED): Likewise.
42610         [POSIX || XPG3] (CLD_KILLED): Likewise.
42611         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42612         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42613         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42614         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42615         [POSIX || XPG3] (POLL_IN): Likewise.
42616         [POSIX || XPG3] (POLL_OUT): Likewise.
42617         [POSIX || XPG3] (POLL_MSG): Likewise.
42618         [POSIX || XPG3] (POLL_ERR): Likewise.
42619         [POSIX || XPG3] (POLL_PRI): Likewise.
42620         [POSIX || XPG3] (POLL_HUP): Likewise.
42621         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42622         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42623         (SIG*): Do not allow.
42624         [XPG3] (si_*): Likewise.
42625         [XPG3] (SI_*): Likewise.
42626         [XPG3 || XPG4] (sigev_*): Likewise.
42627         [XPG3 || XPG4] (SIGEV_*): Likewise.
42628         [XPG3 || XPG4] (sival_*): Likewise.
42629         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42630         [POSIX || XPG3] (BUS_*): Likewise.
42631         [POSIX || XPG3] (CLD_*): Likewise.
42632         [POSIX || XPG3] (FPE_*): Likewise.
42633         [POSIX || XPG3] (ILL_*): Likewise.
42634         [POSIX || XPG3] (POLL_*): Likewise.
42635         [POSIX || XPG3] (SEGV_*): Likewise.
42636         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42637         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42638         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42639         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42640         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42641         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42642         Specify type and value.
42643         (TVERSLEN): Likewise.
42644         (REGTYPE): Likewise.
42645         (AREGTYPE): Likewise.
42646         (LNKTYPE): Likewise.
42647         (SYMTYPE): Likewise.
42648         (CHRTYPE): Likewise.
42649         (BLKTYPE): Likewise.
42650         (DIRTYPE): Likewise.
42651         (FIFOTYPE): Likewise.
42652         (CONTTYPE): Likewise.
42653         (TSUID): Likewise.
42654         (TSGID): Likewise.
42655         (TSVTX): Likewise.
42656         (TUREAD): Likewise.
42657         (TUWRITE): Likewise.
42658         (TUEXEC): Likewise.
42659         (TGREAD): Likewise.
42660         (TGWRITE): Likewise.
42661         (TGEXEC): Likewise.
42662         (TOREAD): Likewise.
42663         (TOWRITE): Likewise.
42664         (TOEXEC): Likewise.
42665         [POSIX] (TSVTX): Expect constant.
42667 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42669         * Makefile (tests): Change dependencies to ....
42670         (tests-special): ... additions to this variable.
42671         (tests): Depend on $(tests-special).
42672         * Makerules (check-abi-list): New variable.
42673         (check-abi): Depend on $(check-abi-list).
42674         [$(subdir) = elf] (tests-special): Add
42675         $(objpfx)check-abi-libc.out.
42676         [$(build-shared) = yes && subdir] (tests-special): Add
42677         $(check-abi-list).
42678         [$(build-shared) = yes && subdir] (tests): Do not depend on
42679         check-abi.
42680         * Rules (tests): Depend on $(tests-special).
42681         (xtests): Depend on $(xtests-special).
42682         * catgets/Makefile (tests): Change dependencies to ....
42683         (tests-special): ... additions to this variable.
42684         * conform/Makefile (tests): Change dependencies to ....
42685         (tests-special): ... additions to this variable.
42686         * elf/Makefile (tests): Change dependencies to ....
42687         (tests-special): ... additions to this variable.
42688         * grp/Makefile (tests): Change dependencies to ....
42689         (tests-special): ... additions to this variable.
42690         * iconv/Makefile (xtests): Change dependencies to ....
42691         (xtests-special): ... additions to this variable.
42692         * iconvdata/Makefile (tests): Change dependencies to ....
42693         (tests-special): ... additions to this variable.
42694         * intl/Makefile (tests): Change dependencies to ....
42695         (tests-special): ... additions to this variable.  Also add
42696         $(objpfx)tst-gettext.out.
42697         * io/Makefile (tests): Change dependencies to ....
42698         (tests-special): ... additions to this variable.
42699         * libio/Makefile (tests): Change dependencies to ....
42700         (tests-special): ... additions to this variable.
42701         * malloc/Makefile (tests): Change dependencies to ....
42702         (tests-special): ... additions to this variable.
42703         * misc/Makefile (tests): Change dependencies to ....
42704         (tests-special): ... additions to this variable.
42705         * nptl/Makefile (tests): Change dependencies to ....
42706         (tests-special): ... additions to this variable.
42707         * nptl_db/Makefile (tests): Change dependencies to ....
42708         (tests-special): ... additions to this variable.
42709         * posix/Makefile (tests): Change dependencies to ....
42710         (tests-special): ... additions to this variable.
42711         (xtests): Change dependencies to ....
42712         (xtests-special): ... additions to this variable.
42713         * resolv/Makefile (tests): Change dependencies to ....
42714         (tests-special): ... additions to this variable.
42715         (xtests): Change dependencies to ....
42716         (xtests-special): ... additions to this variable.
42717         * stdio-common/Makefile (tests): Change dependencies to ....
42718         (tests-special): ... additions to this variable.
42719         (do-tst-unbputc): Remove target.
42720         (do-tst-printf): Likewise.
42721         * stdlib/Makefile (tests): Change dependencies to ....
42722         (tests-special): ... additions to this variable.
42723         * string/Makefile (tests): Change dependencies to ....
42724         (tests-special): ... additions to this variable.
42725         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42726         (tests-special): ... additions to this variable.
42728         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42729         whole file.
42730         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42731         whole file.
42732         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42733         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42735         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42736         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42737         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42738         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42739         * conform/data/libgen.h-data [XPG3]: Likewise.
42740         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42741         * conform/data/ndbm.h-data [XPG3]: Likewise.
42742         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42743         * conform/data/netdb.h-data [XPG3]: Likewise.
42744         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42745         * conform/data/poll.h-data [XPG3]: Likewise.
42746         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42747         * conform/data/strings.h-data [XPG3]: Likewise.
42748         * conform/data/stropts.h-data [XPG3]: Likewise.
42749         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42750         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42751         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42752         Likewise.
42753         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42754         * conform/data/sys/time.h-data [XPG3]: Likewise.
42755         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42756         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42757         * conform/data/sys/un.h-data [XPG3]: Likewise.
42758         * conform/data/syslog.h-data [XPG3]: Likewise.
42759         * conform/data/ucontext.h-data [XPG3]: Likewise.
42760         * conform/data/utmpx.h-data [XPG3]: Likewise.
42761         * conform/data/varargs.h-data [UNIX98]: Enable file.
42763         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42765         * math/libm-test.inc (struct test_f_f_data): Move expected results
42766         into structure for each rounding mode.
42767         (struct test_ff_f_data): Likewise.
42768         (struct test_ff_f_data_nexttoward): Likewise.
42769         (struct test_fi_f_data): Likewise.
42770         (struct test_fl_f_data): Likewise.
42771         (struct test_if_f_data): Likewise.
42772         (struct test_fff_f_data): Likewise.
42773         (struct test_c_f_data): Likewise.
42774         (struct test_f_f1_data): Likewise.
42775         (struct test_fF_f1_data): Likewise.
42776         (struct test_ffI_f1_data): Likewise.
42777         (struct test_c_c_data): Likewise.
42778         (struct test_cc_c_data): Likewise.
42779         (struct test_f_i_data): Likewise.
42780         (struct test_ff_i_data): Likewise.
42781         (struct test_f_l_data): Likewise.
42782         (struct test_f_L_data): Likewise.
42783         (struct test_fFF_11_data): Likewise.
42784         (RM_): New macro.
42785         (RM_FE_DOWNWARD): Likewise.
42786         (RM_FE_TONEAREST): Likewise.
42787         (RM_FE_TOWARDZERO): Likewise.
42788         (RM_FE_UPWARD): Likewise.
42789         (RUN_TEST_LOOP_f_f): Update references to expected results.
42790         (RUN_TEST_LOOP_2_f): Likewise.
42791         (RUN_TEST_LOOP_fff_f): Likewise.
42792         (RUN_TEST_LOOP_c_f): Likewise.
42793         (RUN_TEST_LOOP_f_f1): Likewise.
42794         (RUN_TEST_LOOP_fF_f1): Likewise.
42795         (RUN_TEST_LOOP_fI_f1): Likewise.
42796         (RUN_TEST_LOOP_ffI_f1): Likewise.
42797         (RUN_TEST_LOOP_c_c): Likewise.
42798         (RUN_TEST_LOOP_cc_c): Likewise.
42799         (RUN_TEST_LOOP_f_i): Likewise.
42800         (RUN_TEST_LOOP_f_i_tg): Likewise.
42801         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42802         (RUN_TEST_LOOP_f_b): Likewise.
42803         (RUN_TEST_LOOP_f_b_tg): Likewise.
42804         (RUN_TEST_LOOP_f_l): Likewise.
42805         (RUN_TEST_LOOP_f_L): Likewise.
42806         (RUN_TEST_LOOP_fFF_11): Likewise.
42807         * math/gen-libm-test.pl (parse_args): Output four copies of
42808         expected results for each test.
42810         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42811         (__ASSUME_UTIMES): Remove.
42812         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42813         (__ASSUME_UTIMES): Likewise.
42815         * math/gen-auto-libm-tests.c: Update comment on output format.
42816         (output_for_one_input_case): Generate before-rounding and
42817         after-rounding information as conditions on output flags not
42818         floating-point format.
42819         * math/auto-libm-test-out: Regenerated.
42820         * math/gen-libm-test.pl (cond_value): New function.
42821         (or_cond_value): Use cond_value.
42822         (generate_testfile): Handle conditional exceptions.
42824 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42826         * math/libm-test.inc (max_valid_error): New variable.
42827         (init_max_error): Take new argument specifying whether function
42828         results are exactly determined.  Set max_valid_error and bound
42829         other variables for errors based on this argument.
42830         (set_max_error): Do not record results above max_valid_error.
42831         (check_float_internal): Only accept errors of up to 0.5ulps if
42832         also at most max_valid_error.
42833         (START): Take new argument EXACT and pass it to init_max_error.
42834         (acos_test): Update call to START.
42835         (acos_test_tonearest): Likewise.
42836         (acos_test_towardzero): Likewise.
42837         (acos_test_downward): Likewise.
42838         (acos_test_upward): Likewise.
42839         (acosh_test): Likewise.
42840         (asin_test): Likewise.
42841         (asin_test_tonearest): Likewise.
42842         (asin_test_towardzero): Likewise.
42843         (asin_test_downward): Likewise.
42844         (asin_test_upward): Likewise.
42845         (asinh_test): Likewise.
42846         (atan_test): Likewise.
42847         (atanh_test): Likewise.
42848         (atan2_test): Likewise.
42849         (cabs_test): Likewise.
42850         (cacos_test): Likewise.
42851         (cacosh_test): Likewise.
42852         (carg_test): Likewise.
42853         (casin_test): Likewise.
42854         (casinh_test): Likewise.
42855         (catan_test): Likewise.
42856         (catanh_test): Likewise.
42857         (cbrt_test): Likewise.
42858         (ccos_test): Likewise.
42859         (ccosh_test): Likewise.
42860         (ceil_test): Likewise.
42861         (cexp_test): Likewise.
42862         (cimag_test): Likewise.
42863         (clog_test): Likewise.
42864         (clog10_test): Likewise.
42865         (conj_test): Likewise.
42866         (copysign_test): Likewise.
42867         (cos_test): Likewise.
42868         (cos_test_tonearest): Likewise.
42869         (cos_test_towardzero): Likewise.
42870         (cos_test_downward): Likewise.
42871         (cos_test_upward): Likewise.
42872         (cosh_test): Likewise.
42873         (cosh_test_tonearest): Likewise.
42874         (cosh_test_towardzero): Likewise.
42875         (cosh_test_downward): Likewise.
42876         (cosh_test_upward): Likewise.
42877         (cpow_test): Likewise.
42878         (cproj_test): Likewise.
42879         (creal_test): Likewise.
42880         (csin_test): Likewise.
42881         (csinh_test): Likewise.
42882         (csqrt_test): Likewise.
42883         (ctan_test): Likewise.
42884         (ctan_test_tonearest): Likewise.
42885         (ctan_test_towardzero): Likewise.
42886         (ctan_test_downward): Likewise.
42887         (ctan_test_upward): Likewise.
42888         (ctanh_test): Likewise.
42889         (ctanh_test_tonearest): Likewise.
42890         (ctanh_test_towardzero): Likewise.
42891         (ctanh_test_downward): Likewise.
42892         (ctanh_test_upward): Likewise.
42893         (erf_test): Likewise.
42894         (erfc_test): Likewise.
42895         (exp_test): Likewise.
42896         (exp_test_tonearest): Likewise.
42897         (exp_test_towardzero): Likewise.
42898         (exp_test_downward): Likewise.
42899         (exp_test_upward): Likewise.
42900         (exp10_test): Likewise.
42901         (exp10_test_tonearest): Likewise.
42902         (exp10_test_towardzero): Likewise.
42903         (exp10_test_downward): Likewise.
42904         (exp10_test_upward): Likewise.
42905         (pow10_test): Likewise.
42906         (exp2_test): Likewise.
42907         (expm1_test): Likewise.
42908         (expm1_test_tonearest): Likewise.
42909         (expm1_test_towardzero): Likewise.
42910         (expm1_test_downward): Likewise.
42911         (expm1_test_upward): Likewise.
42912         (fabs_test): Likewise.
42913         (fdim_test): Likewise.
42914         (floor_test): Likewise.
42915         (fma_test): Likewise.
42916         (fma_test_towardzero): Likewise.
42917         (fma_test_downward): Likewise.
42918         (fma_test_upward): Likewise.
42919         (fmax_test): Likewise.
42920         (fmin_test): Likewise.
42921         (fmod_test): Likewise.
42922         (fpclassify_test): Likewise.
42923         (frexp_test): Likewise.
42924         (hypot_test): Likewise.
42925         (ilogb_test): Likewise.
42926         (isfinite_test): Likewise.
42927         (finite_test): Likewise.
42928         (isgreater_test): Likewise.
42929         (isgreaterequal_test): Likewise.
42930         (isinf_test): Likewise.
42931         (isless_test): Likewise.
42932         (islessequal_test): Likewise.
42933         (islessgreater_test): Likewise.
42934         (isnan_test): Likewise.
42935         (isnormal_test): Likewise.
42936         (issignaling_test): Likewise.
42937         (isunordered_test): Likewise.
42938         (j0_test): Likewise.
42939         (j1_test): Likewise.
42940         (jn_test): Likewise.
42941         (ldexp_test): Likewise.
42942         (lgamma_test): Likewise.
42943         (gamma_test): Likewise.
42944         (lrint_test): Likewise.
42945         (lrint_test_tonearest): Likewise.
42946         (lrint_test_towardzero): Likewise.
42947         (lrint_test_downward): Likewise.
42948         (lrint_test_upward): Likewise.
42949         (llrint_test): Likewise.
42950         (llrint_test_tonearest): Likewise.
42951         (llrint_test_towardzero): Likewise.
42952         (llrint_test_downward): Likewise.
42953         (llrint_test_upward): Likewise.
42954         (log_test): Likewise.
42955         (log10_test): Likewise.
42956         (log1p_test): Likewise.
42957         (log2_test): Likewise.
42958         (logb_test): Likewise.
42959         (logb_test_downward): Likewise.
42960         (lround_test): Likewise.
42961         (llround_test): Likewise.
42962         (modf_test): Likewise.
42963         (nearbyint_test): Likewise.
42964         (nextafter_test): Likewise.
42965         (nexttoward_test): Likewise.
42966         (pow_test): Likewise.
42967         (pow_test_tonearest): Likewise.
42968         (pow_test_towardzero): Likewise.
42969         (pow_test_downward): Likewise.
42970         (pow_test_upward): Likewise.
42971         (remainder_test): Likewise.
42972         (drem_test): Likewise.
42973         (remainder_test_tonearest): Likewise.
42974         (drem_test_tonearest): Likewise.
42975         (remainder_test_towardzero): Likewise.
42976         (drem_test_towardzero): Likewise.
42977         (remainder_test_downward): Likewise.
42978         (drem_test_downward): Likewise.
42979         (remainder_test_upward): Likewise.
42980         (drem_test_upward): Likewise.
42981         (remquo_test): Likewise.
42982         (rint_test): Likewise.
42983         (rint_test_tonearest): Likewise.
42984         (rint_test_towardzero): Likewise.
42985         (rint_test_downward): Likewise.
42986         (rint_test_upward): Likewise.
42987         (round_test): Likewise.
42988         (scalb_test): Likewise.
42989         (scalbn_test): Likewise.
42990         (scalbln_test): Likewise.
42991         (signbit_test): Likewise.
42992         (sin_test): Likewise.
42993         (sin_test_tonearest): Likewise.
42994         (sin_test_towardzero): Likewise.
42995         (sin_test_downward): Likewise.
42996         (sin_test_upward): Likewise.
42997         (sincos_test): Likewise.
42998         (sinh_test): Likewise.
42999         (sinh_test_tonearest): Likewise.
43000         (sinh_test_towardzero): Likewise.
43001         (sinh_test_downward): Likewise.
43002         (sinh_test_upward): Likewise.
43003         (sqrt_test): Likewise.
43004         (sqrt_test_tonearest): Likewise.
43005         (sqrt_test_towardzero): Likewise.
43006         (sqrt_test_downward): Likewise.
43007         (sqrt_test_upward): Likewise.
43008         (tan_test): Likewise.
43009         (tan_test_tonearest): Likewise.
43010         (tan_test_towardzero): Likewise.
43011         (tan_test_downward): Likewise.
43012         (tan_test_upward): Likewise.
43013         (tanh_test): Likewise.
43014         (tgamma_test): Likewise.
43015         (trunc_test): Likewise.
43016         (y0_test): Likewise.
43017         (y1_test): Likewise.
43018         (yn_test): Likewise.
43019         (significand_test): Likewise.
43021         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43022         individual tests in comment.
43023         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43024         (prev_max_error): New variable.
43025         (prev_real_max_error): Likewise.
43026         (prev_imag_max_error): Likewise.
43027         (compare_ulp_data): Don't refer to test names in comment.
43028         (find_test_ulps): Remove function.
43029         (find_function_ulps): Likewise.
43030         (find_complex_function_ulps): Likewise.
43031         (init_max_error): Take function name as argument.  Look up ulps
43032         for that function.
43033         (print_ulps): Remove function.
43034         (print_max_error): Use prev_max_error instead of calling
43035         find_function_ulps.
43036         (print_complex_max_error): Use prev_real_max_error and
43037         prev_imag_max_error instead of calling find_complex_function_ulps.
43038         (check_float_internal): Take max_ulp parameter instead of calling
43039         find_test_ulps.  Don't call print_ulps.
43040         (check_float): Update call to check_float_internal.
43041         (check_complex): Update calls to check_float_internal.
43042         (START): Pass argument to init_max_error.
43043         * math/gen-libm-test.pl (%results): Don't include "kind"
43044         information.
43045         (parse_ulps): Don't handle ulps of individual tests.
43046         (print_ulps_file): Likewise.
43047         (output_ulps): Likewise.
43048         * math/README.libm-test: Update.
43049         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43050         individual tests.
43051         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43052         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43053         * sysdeps/arm/libm-test-ulps: Likewise.
43054         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43055         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43056         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43057         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43058         * sysdeps/microblaze/libm-test-ulps: Likewise.
43059         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43060         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43061         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43062         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43063         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43064         * sysdeps/sh/libm-test-ulps: Likewise.
43065         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43066         * sysdeps/tile/libm-test-ulps: Likewise.
43067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43069 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43071         * math/libm-test.inc (print_complex_max_error): Check separately
43072         whether real and imaginary errors are within allowed range and
43073         pass 0 to print_complex_function_ulps instead of value within
43074         allowed range.
43076 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43078         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43079         formatting.
43080         (get_handles_fopen): Likewise.
43081         (do_write_test): Likewise.
43083         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43085         * libio/fileops.c (do_ftell): Use cached offset when
43086         available.
43087         * libio/iofwide.c (do_ftell_wide): Likewise.
43088         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43089         _IO_file_attach.
43090         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43092         [BZ #16532]
43093         * libio/libioP.h (get_file_offset): New function.
43094         * libio/fileops.c (get_file_offset): Likewise.
43095         (do_ftell): Likewise.
43096         (_IO_new_file_seekoff): Split out ftell logic.
43097         * libio/wfileops.c (do_ftell_wide): Likewise.
43098         (_IO_wfile_seekoff): Split out ftell logic.
43099         * libio/tst-ftell-active-handler.c: New test case.
43100         * libio/Makefile (tests): Add it.
43102 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43104         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43105         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43107 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43109         [BZ #16639]
43110         * nscd/connections.c (nscd_init): Call do_exit.
43111         (start_threads): Call do_exit and notify_parent.
43112         (begin_drop_privileges): Call do_exit.
43113         (finish_drop_privileges): Likewise.
43114         * nscd/selinux.c (preserve_capabilities): Likewise.
43115         (install_real_capabilities): Likewise.
43116         (nscd_selinux_enabled): Likewise.
43117         (avc_create_thread): Likewise.
43118         (avc_alloc_lock): Likewise.
43119         (nscd_avc_init): Likewise.
43120         * nscd/nscd.c (parent_fd): New static variable.
43121         (main): Create a pipe between parent and child processes.
43122         Skip closing parent_fd.
43123         (monitor_child): New function.
43124         (do_exit): Likewise.
43125         (notify_parent): Likewise.
43126         * nscd/nscd.h (notify_parent): Likewise.
43127         (do_exit): Likewise.
43129 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43131         * malloc/malloc.c (__libc_calloc): Revert last change.
43133 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43137 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43139         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43141         implementation.
43142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43143         (__libc_ifunc_impl_list): Likewise.
43144         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43145         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43146         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43147         * string/strrchr.c: Define STRRCHR.
43149 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43151         * benchtest/bench-strtok.c (simple_strtok): Delete.
43152         (strtok_string): Use as benchmark.
43153         * string/strtok (STRTOK): New macro.
43155 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43157         * manual/threads.texi: Add header and standard comments to all
43158         functions.
43160         * elf/dl-lookup.c (check_match): New function.
43161         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43162         (do_lookup_x): Remove nested function check_match. Use non-nested
43163         function check_match.
43165 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43167         * csu/Makefile (generated, before-compile): Use += rather than =.
43168         * catgets/Makefile (generated, generated-dirs): Likewise.
43169         * debug/Makefile (generated): Likewise.
43170         * dlfcn/Makefile (generated): Likewise.
43171         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43172         * iconvdata/Makefile (before-compile, generated): Likewise.
43173         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43174         * libio/Makefile (generated): Likewise.
43175         * malloc/Makefile (generated): Likewise.
43176         * manual/Makefile (generated, generated-dirs): Likewise.
43177         * misc/Makefile (generated): Likewise.
43178         * posix/Makefile (generated): Likewise.
43179         * resolv/Makefile (generated): Likewise.
43180         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43181         * timezone/Makefile (generated, generated-dirs): Likewise.
43183         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43185 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43188         power8 implementation.
43189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43190         file: POWER8 llround ifunc implementation.
43191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43192         (__lllround): Add POWER8 implementation.
43193         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43194         POWER8 llround implementation.
43196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43197         power8 implementation.
43198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43199         file: POWER8 llrint ifunc implementation.
43200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43201         Add POWER8 implementation.
43202         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43203         POWER8 llrint implementation.
43205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43206         power8 implementation.
43207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43208         file: POWER8 finite ifunc implementation.
43209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43210         Add POWER8 implementation.
43211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43212         Likewise.
43213         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43214         POWER8 finite implementation.
43215         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43218         power8 implementation.
43219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43220         file: POWER8 isinf ifunc implementation.
43221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43222         POWER8 implementation.
43223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43224         Likewise.
43225         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43226         isinf implementation.
43227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43229         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43230         (INIT_ARCH): Add hwcap2 initialization.
43231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43232         power8 implementation.
43233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43234         file: POWER8 isnan ifunc implementation.
43235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43236         POWER8 implementation.
43237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43238         Likewise.
43239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43240         isnan implementation.
43241         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43243 2014-02-27  Joey Ye  <joey.ye@arm.com>
43245         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43246         (_FP_NANFRAC_Q): Set to zero.
43248 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43250         [BZ #16623]
43251         * math/auto-libm-test-in: New test inputs.
43252         * math/auto-libm-test-out: Regenerate.
43253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43254         and DA.
43255         (__cos): Likewise.
43256         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43258 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43260         * scripts/evaluate-test.sh: Take new argument indicating whether
43261         failure is expected.
43262         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43263         indicating whether failure is expected.
43264         * conform/Makefile (test-xfail-run-conformtest): New variable.
43265         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43266         level.
43267         * posix/Makefile (test-xfail-annexc): New variable.
43268         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43270 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43272         * argp/Makefile: Include Makeconfig immediately after defining
43273         subdir.
43274         * assert/Makefile: Likewise.
43275         * benchtests/Makefile: Likewise.
43276         * catgets/Makefile: Likewise.
43277         * conform/Makefile: Likewise.
43278         * crypt/Makefile: Likewise.
43279         * csu/Makefile: Likewise.
43280         (all): Remove target.
43281         * ctype/Makefile: Include Makeconfig immediately after defining
43282         subdir.
43283         * debug/Makefile: Likewise.
43284         * dirent/Makefile: Likewise.
43285         * dlfcn/Makefile: Likewise.
43286         * gmon/Makefile: Likewise.
43287         * gnulib/Makefile: Likewise.
43288         * grp/Makefile: Likewise.
43289         * gshadow/Makefile: Likewise.
43290         * hesiod/Makefile: Likewise.
43291         * hurd/Makefile: Likewise.
43292         (all): Remove target.
43293         * iconvdata/Makefile: Include Makeconfig immediately after
43294         defining subdir.
43295         * inet/Makefile: Likewise.
43296         * intl/Makefile: Likewise.
43297         * io/Makefile: Likewise.
43298         * libio/Makefile: Likewise.
43299         (all): Remove target.
43300         * locale/Makefile: Include Makeconfig immediately after defining
43301         subdir.
43302         * login/Makefile: Likewise.
43303         * mach/Makefile: Likewise.
43304         (all): Remove target.
43305         * malloc/Makefile: Include Makeconfig immediately after defining
43306         subdir.
43307         (all): Remove target.
43308         * manual/Makefile: Include Makeconfig immediately after defining
43309         subdir.
43310         * math/Makefile: Likewise.
43311         * misc/Makefile: Likewise.
43312         * nis/Makefile: Likewise.
43313         * nss/Makefile: Likewise.
43314         * po/Makefile: Likewise.
43315         (all): Remove target.
43316         * posix/Makefile: Include Makeconfig immediately after defining
43317         subdir.
43318         * pwd/Makefile: Likewise.
43319         * resolv/Makefile: Likewise.
43320         * resource/Makefile: Likewise.
43321         * rt/Makefile: Likewise.
43322         * setjmp/Makefile: Likewise.
43323         * shadow/Makefile: Likewise.
43324         * signal/Makefile: Likewise.
43325         * socket/Makefile: Likewise.
43326         * soft-fp/Makefile: Likewise.
43327         * stdio-common/Makefile: Likewise.
43328         * stdlib/Makefile: Likewise.
43329         * streams/Makefile: Likewise.
43330         * string/Makefile: Likewise.
43331         * sunrpc/Makefile: Likewise.
43332         (all): Remove target.
43333         * sysvipc/Makefile: Include Makeconfig immediately after defining
43334         subdir.
43335         * termios/Makefile: Likewise.
43336         * time/Makefile: Likewise.
43337         * timezone/Makefile: Likewise.
43338         (all): Remove target.
43339         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43340         subdir.
43341         * wctype/Makefile: Likewise.
43343 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43345         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43346         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43347         (libc_feholdexcept_setround_mips): Ditto.
43348         (libc_feholdsetround): New.
43349         (libc_feholdsetroundf): New.
43350         (libc_feholdsetroundl): New.
43351         (libc_feupdateenv_test_mips): New.
43352         (libc_feupdateenv_test): New.
43353         (libc_feupdateenv_testf): New.
43354         (libc_feupdateenv_testl): New.
43355         (libc_feresetround): New.
43356         (libc_feresetroundf): New.
43357         (libc_feresetroundl): New.
43358         (libc_fetestexcept_mips): New.
43359         (libc_fetestexcept): New.
43360         (libc_fetestexceptf): New.
43361         (libc_fetestexceptl): New.
43362         (HAVE_RM_CTX): New.
43363         (libc_feholdexcept_setround_mips_ctx): New.
43364         (libc_feholdexcept_setround_ctx): New.
43365         (libc_feholdexcept_setroundf_ctx): New.
43366         (libc_feholdexcept_setroundl_ctx): New.
43367         (libc_fesetenv_mips_ctx): New.
43368         (libc_fesetenv_ctx): New.
43369         (libc_fesetenv_ctxf): New.
43370         (libc_fesetenv_ctxl): New.
43371         (libc_feupdateenv_mips_ctx): New.
43372         (libc_feupdateenv_ctx): New.
43373         (libc_feupdateenvf_ctx): New.
43374         (libc_feupdateenvl_ctx): New.
43375         (libc_feholdsetround_mips_ctx): New.
43376         (libc_feholdsetround_ctx): New.
43377         (libc_feholdsetroundf_ctx): New.
43378         (libc_feholdsetroundl_ctx): New.
43379         (libc_feresetround_mips_ctx): New.
43380         (libc_feresetround_ctx): New.
43381         (libc_feresetroundf_ctx): New.
43382         (libc_feresetroundl_ctx): New.
43384 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43386         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43388         * manual/ipc.texi: New file.
43389         * manual/Makefile (chapters): Add ipc.
43390         * manual/job.texi: Add "Inter-Process Communication" to next.
43391         * manual/process.texi: Add "Inter-Process Communication" to prev.
43393 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43397 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43399         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43401         * manual/arith.texi: Fix spaces after sentences.
43402         * manual/charset.texi: Likewise.
43403         * manual/errno.texi: Likewise.
43404         * manual/install.texi: Likewise.
43405         * manual/llio.texi: Likewise.
43406         * manual/locale.texi: Likewise.
43407         * manual/maint.texi: Likewise.
43408         * manual/math.texi: Likewise.
43409         * manual/memory.texi: Likewise.
43410         * manual/message.texi: Likewise.
43411         * manual/probes.texi: Likewise.
43412         * manual/resource.texi: Likewise.
43413         * manual/signal.texi: Likewise.
43414         * manual/socket.texi: Likewise.
43415         * manual/stdio.texi: Likewise.
43416         * manual/string.texi: Likewise.
43417         * manual/time.texi: Likewise.
43418         * manual/users.texi: Likewise.
43420 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43422         [BZ #16632]
43423         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43424         _DEFAULT_SOURCE is defined.
43426 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43427             Carlos O'Donell  <carlos@redhat.com>
43429         [BZ #16613]
43430         * elf/dl-tls.c (_dl_count_modids): New function.
43431         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43432         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43433         audit library and increment generation counter.
43434         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43435         * elf/tst-audit9.c: New file.
43436         * elf/tst-auditmod9a.c: New file.
43437         * elf/tst-auditmod9b.c: New file.
43438         * elf/Makefile: Add rules to build and run tst-audit9.
43440 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43442         [BZ #15347]
43443         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43445 2014-02-25  Will Newton  <will.newton@linaro.org>
43447         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43448         (__longjmp): Restore sp and lr before restoring callee
43449         saved registers.  Add longjmp and longjmp_target
43450         SystemTap probe point.
43451         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43452         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43453         Define to zero to match jmpbuf layout.
43454         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43455         (__sigsetjmp): Save sp and lr before saving callee
43456         saved registers.  Add setjmp SystemTap probe point.
43458 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43460         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43462 2014-02-24  Andreas Schwab  <schwab@suse.de>
43464         [BZ #15804]
43465         * elf/pldd.c (wait_for_ptrace_stop): New function.
43466         (main): Call it after attaching.
43468 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43470         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43471         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43472         Versions files is now verboten.
43473         * hurd/Versions (libc: GLIBC_2.0):
43474         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43475         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43476         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43477         * mach/Versions: Likewise.
43479         * csu/Versions: Remove unused %include.
43480         * resolv/Versions: Likewise.
43482 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43484         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43485         ($(objpfx)check-local-headers.out): Likewise.
43486         ($(objpfx)begin-end-check.out): Likewise.
43487         * Makerules (check-abi-%.out): Likewise.
43488         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43489         ($(objpfx)test2.cat): Likewise.
43490         ($(objpfx)de/libc.cat): Likewise.
43491         ($(objpfx)test-gencat.out): Likewise.
43492         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43493         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43494         ($(objpfx)noload-mem): Likewise.
43495         ($(objpfx)tst-pathopt.out): Likewise.
43496         ($(objpfx)tst-rtld-load-self.out): Likewise.
43497         ($(objpfx)tst-array1-cmp.out): Likewise.
43498         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43499         ($(objpfx)tst-array2-cmp.out): Likewise.
43500         ($(objpfx)tst-array3-cmp.out): Likewise.
43501         ($(objpfx)tst-array4-cmp.out): Likewise.
43502         ($(objpfx)tst-array5-cmp.out): Likewise.
43503         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43504         ($(objpfx)check-textrel.out): Likewise.
43505         ($(objpfx)check-execstack.out): Likewise.
43506         ($(objpfx)check-localplt.out): Likewise.
43507         ($(objpfx)order2-cmp.out): Likewise.
43508         ($(objpfx)tst-leaks1-mem): Likewise.
43509         ($(objpfx)tst-leaks1-static-mem): Likewise.
43510         ($(objpfx)tst-initorder-cmp.out): Likewise.
43511         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43512         ($(objpfx)tst-unused-dep.out): Likewise.
43513         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43514         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43515         * iconv/Makefile (test-iconvconfig): Likewise.
43516         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43517         ($(objpfx)iconv-test.out): Likewise.
43518         ($(objpfx)tst-tables.out): Likewise.
43519         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43520         ($(objpfx)tst-gettext.out): Likewise.
43521         ($(objpfx)tst-translit.out): Likewise.
43522         ($(objpfx)tst-gettext2.out): Likewise.
43523         ($(objpfx)tst-gettext4.out): Likewise.
43524         ($(objpfx)tst-gettext6.out): Likewise.
43525         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43526         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43527         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43528         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43529         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43530         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43531         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43532         ($(objpfx)wordexp-tst.out): Likewise.
43533         ($(objpfx)annexc.out): Likewise.
43534         ($(objpfx)tst-fnmatch-mem): Likewise.
43535         ($(objpfx)bug-regex2-mem): Likewise.
43536         ($(objpfx)bug-regex14-mem): Likewise.
43537         ($(objpfx)bug-regex21-mem): Likewise.
43538         ($(objpfx)bug-regex31-mem): Likewise.
43539         ($(objpfx)tst-vfork3-mem): Likewise.
43540         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43541         ($(objpfx)tst-pcre-mem): Likewise.
43542         ($(objpfx)tst-boost-mem): Likewise.
43543         ($(objpfx)tst-getconf.out): Likewise.
43544         ($(objpfx)bug-ga2-mem): Likewise.
43545         ($(objpfx)bug-glob2-mem): Likewise.
43546         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43547         ($(objpfx)mtrace-tst-leaks2): Likewise.
43548         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43549         ($(objpfx)tst-printf.out): Likewise.
43550         ($(objpfx)tst-setvbuf1.out): Likewise.
43551         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43552         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43553         ($(objpfx)tst-fmtmsg.out): Likewise.
43554         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43555         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43557         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43558         * bits/sigaction.h [__USE_MISC]: Likewise.
43559         * bits/waitstatus.h: Update #endif comments.
43560         * ctype/ctype.h: Likewise.
43561         * dirent/dirent.h: Likewise.
43562         [__USE_MISC]: Remove redundant conditionals.
43563         * grp/grp.h: Update #endif comments.
43564         [__USE_GNU]: Remove redundant conditionals.
43565         [__USE_MISC]: Likewise.
43566         * inet/netinet/in.h [__USE_GNU]: Likewise.
43567         * io/sys/stat.h [__USE_MISC]: Likewise.
43568         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43569         * libio/bits/stdio.h: Update #endif comments.
43570         [__USE_MISC]: Remove redundant conditionals.
43571         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43572         * libio/stdio.h: Update #endif comments.
43573         [__USE_MISC]: Remove redundant conditionals.
43574         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43575         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43576         * math/math.h: Update #else and #endif comments.
43577         [__USE_MISC]: Remove redundant conditionals.
43578         * misc/sys/uio.h: Update #endif comments.
43579         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43580         * posix/glob.h [__USE_MISC]: Likewise.
43581         * posix/sys/types.h: Update #endif comments.
43582         [__USE_MISC]: Remove redundant conditionals.
43583         * posix/sys/wait.h: Update #endif comments.
43584         [__USE_MISC]: Remove redundant conditionals.
43585         * posix/unistd.h: Update #endif comments.
43586         [__USE_MISC]: Remove redundant conditionals.
43587         * pwd/pwd.h [__USE_GNU]: Likewise.
43588         [__USE_MISC]: Likewise.
43589         * resolv/netdb.h [__USE_GNU]: Likewise.
43590         * signal/signal.h: Update #endif comments.
43591         [__USE_MISC]: Remove redundant conditionals.
43592         * stdlib/stdlib.h: Update #else and #endif comments.
43593         [__USE_MISC]: Remove redundant conditionals.
43594         [__USE_GNU]: Likewise.
43595         * string/bits/string2.h [__USE_MISC]: Likewise.
43596         * string/string.h: Update #endif comments.
43597         [__USE_MISC]: Remove redundant conditionals.
43598         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43599         Likewise.
43600         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43601         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43602         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43603         Likewise.
43604         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43605         Likewise.
43606         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43607         comments.
43608         [__USE_MISC]: Remove redundant conditionals.
43609         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43610         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43611         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43612         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43613         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43614         Likewise.
43615         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43616         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43617         Likewise.
43618         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43619         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43620         Likewise.
43621         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43622         Likewise.
43623         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43624         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43625         Likewise.
43626         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43627         Likewise.
43628         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43629         * sysdeps/x86/bits/string.h: Update #endif comments.
43630         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43631         conditionals.
43632         * time/sys/time.h: Update #endif comments.
43633         * time/time.h: Likewise.
43634         [__USE_MISC]: Remove redundant conditionals.
43636 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43638         [BZ #16600]
43639         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43641 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43643         * Versions.def (librt): Add GLIBC_2.17.
43645 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43647         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43648         synonym for _SYS_AUXV_H to allow direct inclusion.
43649         * sysdeps/sparc/bits/hwcap.h: Likewise.
43650         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43651         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43652         * sysdeps/sparc/sysdep.h: Likewise.
43654 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43656         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43658 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43660         * benchtests/bench-strrchr.c: Print length instead of position.
43662 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43664         [BZ #16611]
43665         * sysdeps/unix/sysv/linux/kernel-features.h
43666         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43667         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43668         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43669         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43670         Likewise.
43671         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43672         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43673         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43674         (__ASSUME_SENDMMSG): Define instead of using previous
43675         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43676         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43677         (__ASSUME_SENDMMSG_SYSCALL): Define.
43678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43679         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43680         Likewise.
43681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43683         Likewise.
43684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43685         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43686         Likewise.
43687         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43688         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43689         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43690         [__ASSUME_SENDMMSG]: Change conditionals to
43691         [__ASSUME_SENDMMSG_SOCKETCALL].
43692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43693         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43694         Define.
43695         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43696         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43697         Likewise.
43698         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43699         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43700         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43701         [!__ASSUME_SENDMMSG]: Change conditional to
43702         [!__ASSUME_SENDMMSG_SOCKETCALL].
43703         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43704         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43705         Define.
43707         [BZ #16610]
43708         * sysdeps/unix/sysv/linux/kernel-features.h
43709         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43710         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43711         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43712         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43713         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43714         [__i386__ || __sparc__]
43715         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43716         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43717         (__ASSUME_RECVMMSG): Define instead of using previous
43718         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43719         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43720         (__ASSUME_RECVMMSG_SYSCALL): Define.
43721         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43723         Likewise.
43724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43726         Likewise.
43727         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43729         Likewise.
43730         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43731         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43732         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43733         [__ASSUME_RECVMMSG]: Change condition to
43734         [__ASSUME_RECVMMSG_SOCKETCALL].
43735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43736         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43737         Define.
43738         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43740         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43741         Likewise.
43742         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43743         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43744         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43745         [!__ASSUME_RECVMMSG]: Change condition to
43746         [!__ASSUME_RECVMMSG_SOCKETCALL].
43747         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43748         (__ASSUME_RECVMMSG_SYSCALL): Define.
43750         [BZ #16609]
43751         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43752         __powerpc__ || __s390__ || __sh__ || __sparc__]
43753         (__ASSUME_SOCKETCALL): Define.
43754         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43755         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43756         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43757         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43758         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43759         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43760         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43761         (__ASSUME_ACCEPT4): Define instead of using previous
43762         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43763         __powerpc__ || __sparc__ || __s390__)] condition.
43764         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43765         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43766         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43767         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43768         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43769         [!__ASSUME_ACCEPT4]: Change condition to
43770         [!__ASSUME_ACCEPT4_SOCKETCALL].
43771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43772         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43773         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43775         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43776         __ASSUME_ACCEPT4_SYSCALL.
43777         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43778         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43779         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43780         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43781         __ASSUME_ACCEPT4_SYSCALL.
43782         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43783         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43784         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43785         [__ASSUME_ACCEPT4]: Change condition to
43786         [__ASSUME_ACCEPT4_SOCKETCALL].
43787         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43788         (__ASSUME_SOCKETCALL): Define.
43789         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43791         (__ASSUME_SOCKETCALL): Define.
43792         (__ASSUME_ACCEPT4): Remove.
43793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43794         Define.
43795         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43796         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43797         Likewise.
43798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43799         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43801         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43802         macro.
43803         (HWCAP_ARM_LPAE): Likewise.
43804         (HWCAP_ARM_EVTSTRM): Likewise.
43805         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43806         Add vpfd32, lpae and evtstrm.
43807         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43808         Increase to 22.
43810 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43812         * math/auto-libm-test-in: Add tests of clog10.
43813         * math/auto-libm-test-out: Regenerated.
43814         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43815         * sysdeps/i386/fpu/libm-test-ulps: Update.
43816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43818 2014-02-18  Andreas Schwab  <schwab@suse.de>
43820         [BZ #16574]
43821         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43822         Store non-zero if the second buffer was newly allocated.
43823         (send_dg): Likewise.
43824         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43825         to send_vc and send_dg.
43826         (res_nsend): Pass NULL for ansp2_malloced.
43827         * resolv/res_query.c (__libc_res_nquery): Add parameter
43828         answerp2_malloced and pass it down to __libc_res_nsend.
43829         (res_nquery): Pass additional NULL to __libc_res_nquery.
43830         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43831         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43832         second answer buffer if answerp2_malloced was set.
43833         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43834         (__libc_res_nquerydomain): Add parameter
43835         answerp2_malloced and pass it down to __libc_res_nquery.
43836         (res_nquerydomain): Pass additional NULL to
43837         __libc_res_nquerydomain.
43838         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43839         additional NULL to __libc_res_nsend and __libc_res_nquery.
43840         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43841         additional NULL to __libc_res_nsearch.
43842         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43843         parameter of __libc_res_nsearch to check for separately allocated
43844         second buffer.
43845         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43846         __libc_res_nquery.
43847         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43848         additional NULL to __libc_res_nquery.
43849         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43850         __libc_res_nsearch.
43851         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43852         * include/resolv.h: Update prototypes of __libc_res_nquery,
43853         __libc_res_nsearch, __libc_res_nsend.
43855 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43857         * math/auto-libm-test-in: Add tests of fma.
43858         * math/auto-libm-test-out: Regenerated.
43859         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43860         (fma_towardzero_test_data): Likewise.
43861         (fma_downward_test_data): Likewise.
43862         (fma_upward_test_data): Likewise.
43863         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43864         mpc_mode.
43865         (rounding_modes): Add values for new field.
43866         (func_calc_method): Add value mpfr_fff_f.
43867         (func_calc_desc): Add mpfr_fff_f union field.
43868         (test_function): Add field exact_args.
43869         (FUNC): Add macro argument EXACT_ARGS.
43870         (FUNC_mpfr_f_f): Update call to FUNC.
43871         (FUNC_mpfr_f_f): Likewise.
43872         (FUNC_mpfr_ff_f): Likewise.
43873         (FUNC_mpfr_if_f): Likewise.
43874         (FUNC_mpc_c_f): Likewise.
43875         (FUNC_mpc_c_c): Likewise.
43876         (test_functions): Add fma.  Update calls to FUNC.
43877         (handle_input_arg): Add argument exact_args.
43878         (add_test): Update call to handle_input_arg.
43879         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43880         (output_for_one_input_case): Update call to calc_generic_results.
43881         Recalculate exact zero results in each rounding mode.
43883         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43884         non-negative before setting low bit.
43885         * math/auto-libm-test-in: Mark one asin test possibly having
43886         spurious underflow.
43887         * math/auto-libm-test-out: Regenerated.
43888         * sysdeps/i386/fpu/libm-test-ulps: Update.
43889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43891 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43893         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43894         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43895         ports/sysdeps/unix/sysv/linux/microblaze.
43896         * README: Add missing listing for microblaze*-*-linux-gnu.
43898 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43900         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43901         duplicate code
43903 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43905         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43906         * sysdeps/unix/sysv/linux/ia64: Move directory from
43907         ports/sysdeps/unix/sysv/linux/ia64.
43908         * README: Update listing for ia64-*-linux-gnu.
43910 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43911             Joseph Myers  <joseph@codesourcery.com>
43913         * Makeconfig (test-name): New variable.
43914         (evaluate-test): Likewise.
43915         * Makerules (do-test-clean): Remove .test-result files.
43916         (common-mostlyclean): Likewise.
43917         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43918         * scripts/evaluate-test.sh: New file.
43920 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43922         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43923         separate $(objpfx)tst-fopenloc-cmp.out and
43924         $(objpfx)tst-fopenloc-mem.out targets.
43925         (tests): Update dependencies.
43926         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43927         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43928         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43929         (tst-rxspencer-no-utf8-ARGS): New variable.
43930         (tst-rxspencer-no-utf8-ENV): Likewise.
43931         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43932         instead of $(objpfx)tst-rxspencer-mem.
43933         ($(objpfx)tst-rxspencer-mem): Change target to
43934         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43935         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43936         * posix/tst-rxspencer-no-utf8.c: New file.
43938         * elf/Makefile ($(objpfx)order.out): Remove rule.
43939         [$(run-built-tests) = yes] (tests): Depend on
43940         $(objpfx)order-cmp.out.
43941         ($(objpfx)order-cmp.out): New rule.
43942         [$(run-built-tests) = yes] (tests): Depend on
43943         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43944         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43945         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43946         $(objpfx)tst-array5-static-cmp.out.
43947         ($(objpfx)tst-array1.out): Remove rule.
43948         ($(objpfx)tst-array1-cmp.out): New rule.
43949         ($(objpfx)tst-array1-static.out): Remove rule.
43950         ($(objpfx)tst-array1-static-cmp.out): New rule.
43951         ($(objpfx)tst-array2.out): Remove rule.
43952         ($(objpfx)tst-array2-cmp.out): New rule.
43953         ($(objpfx)tst-array3.out): Remove rule.
43954         ($(objpfx)tst-array3-cmp.out): New rule.
43955         ($(objpfx)tst-array4.out): Remove rule.
43956         ($(objpfx)tst-array4-cmp.out): New rule.
43957         ($(objpfx)tst-array5.out): Remove rule.
43958         ($(objpfx)tst-array5-cmp.out): New rule.
43959         ($(objpfx)tst-array5-static.out): Remove rule.
43960         ($(objpfx)tst-array5-static-cmp.out): New rule.
43961         [$(run-built-tests) = yes] (tests): Depend on
43962         $(objpfx)order2-cmp.out.
43963         ($(objpfx)order2.out): Remove rule.
43964         ($(objpfx)order2-cmp.out): New rule.
43965         ($(objpfx)tst-initorder.out): Remove rule.
43966         [$(run-built-tests) = yes] (tests): Depend on
43967         $(objpfx)tst-initorder-cmp.out.
43968         ($(objpfx)tst-initorder-cmp.out): New rule.
43969         ($(objpfx)tst-initorder2.out): Remove rule.
43970         [$(run-built-tests) = yes] (tests): Depend on
43971         $(objpfx)tst-initorder2-cmp.out.
43972         ($(objpfx)tst-initorder2-cmp.out): New rule.
43973         [$(run-built-tests) = yes] (tests): Depend on
43974         $(objpfx)tst-unused-dep-cmp.out.
43975         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43976         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43977         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43978         on $(objpfx)tst-setvbuf1-cmp.out.
43979         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43980         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43981         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43982         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43983         ($(objpfx)tst-svc.out): Remove rule.
43984         ($(objpfx)tst-svc-cmp.out): New rule.
43986 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43988         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43989         * ctype/ctype.h [__USE_MISC]: Likewise.
43990         * dirent/dirent.h [__USE_MISC]: Likewise.
43991         * grp/grp.h [__USE_MISC]: Likewise.
43992         * io/fcntl.h [__USE_MISC]: Likewise.
43993         * io/sys/stat.h [__USE_MISC]: Likewise.
43994         * libio/stdio.h [__USE_MISC]: Likewise.
43995         * posix/unistd.h [__USE_MISC]: Likewise.
43996         * pwd/pwd.h [__USE_MISC]: Likewise.
43997         * stdlib.h [__USE_MISC]: Likewise.
43998         * string/bits/string2.h [__USE_MISC]: Likewise.
43999         * string/string.h [__USE_MISC]: Likewise.
44000         * time/time.h [__USE_MISC]: Likewise.
44002 2014-02-13  Andreas Schwab  <schwab@suse.de>
44004         [BZ #16574]
44005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44006         second answer buffer if it was separately allocated.
44008 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44010         * sysdeps/mips/math-tests.h: Include <features.h>.
44011         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44012         (ROUNDING_TESTS_long_double): Do not define.
44013         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44014         (EXCEPTION_TESTS_long_double): Likewise.
44015         * sysdeps/mips/mips64/libm-test-ulps: Update.
44017         * include/features.h (__USE_BSD): Remove macro definitions.
44018         (__USE_SVID): Likewise.
44019         (_BSD_SOURCE): Likewise.
44020         (_SVID_SOURCE): Likewise.
44021         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44022         from definition of _DEFAULT_SOURCE.
44023         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44024         [_DEFAULT_SOURCE].
44025         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44026         * bits/mman.h [__USE_BSD]: Likewise.
44027         * bits/termios.h [__USE_BSD]: Likewise.
44028         * bits/waitstatus.h [__USE_BSD]: Likewise.
44029         * ctype/ctype.h [__USE_SVID]: Likewise.
44030         * dirent/dirent.h [__USE_BSD]: Likewise.
44031         * grp/grp.h [__USE_SVID]: Likewise.
44032         [__USE_BSD]: Likewise.
44033         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44034         * io/fcntl.h [__USE_BSD]: Likewise.
44035         * io/ftw.h [__USE_BSD]: Likewise.
44036         * io/sys/stat.h [__USE_BSD]: Likewise.
44037         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44038         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44039         * libio/stdio.h [__USE_SVID]: Likewise.
44040         [__USE_BSD]: Likewise.
44041         * math/math.h [__USE_SVID]: Likewise.
44042         [__USE_BSD]: Likewise.
44043         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44044         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44045         * misc/search.h [__USE_SVID]: Likewise.
44046         * misc/sys/mman.h [__USE_BSD]: Likewise.
44047         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44048         * misc/sys/uio.h [__USE_BSD]: Likewise.
44049         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44050         * posix/glob.h [__USE_BSD]: Likewise.
44051         * posix/regex.h [__USE_BSD]: Likewise.
44052         * posix/sys/types.h [__USE_BSD]: Likewise.
44053         [__USE_SVID]: Likewise.
44054         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44055         * posix/sys/wait.h [__USE_BSD]: Likewise.
44056         [__USE_SVID]: Likewise.
44057         * posix/unistd.h [__USE_BSD]: Likewise.
44058         [__USE_SVID]: Likewise.
44059         * pwd/pwd.h [__USE_SVID]: Likewise.
44060         * resolv/netdb.h [__USE_BSD]: Likewise.
44061         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44062         * signal/signal.h [__USE_BSD]: Likewise.
44063         [__USE_SVID]: Likewise.
44064         * socket/sys/socket.h [__USE_BSD]: Likewise.
44065         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44066         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44067         [__USE_SVID]: Likewise.
44068         * string/bits/string2.h [__USE_BSD]: Likewise.
44069         [__USE_SVID]: Likewise.
44070         * string/bits/string3.h [__USE_BSD]: Likewise.
44071         * string/endian.h [__USE_BSD]: Likewise.
44072         * string/string.h [__USE_SVID]: Likewise.
44073         [__USE_BSD]: Likewise.
44074         * string/strings.h [__USE_BSD]: Likewise.
44075         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44076         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44077         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44078         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44079         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44080         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44081         Likewise.
44082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44083         Likewise.
44084         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44085         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44086         Likewise.
44087         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44088         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44089         Likewise.
44090         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44091         Likewise.
44092         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44093         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44094         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44095         Likewise.
44096         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44097         Likewise.
44098         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44099         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44100         * termios/termios.h [__USE_BSD]: Likewise.
44101         * time/sys/time.h [__USE_BSD]: Likewise.
44102         * time/time.h [__USE_BSD]: Likewise.
44103         [__USE_SVID]: Likewise.
44105         * Makefile (subdir_targets): Remove subdir_lint.out.
44107         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44108         (do-tst-printf): Likewise.
44109         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44110         $(objpfx)tst-printf.out.
44112         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44114         * Makerules (check-abi-%): Change target to
44115         $(objpfx)check-abi-%.out.
44116         (check-abi target): Update dependencies.
44117         (check-abi-pattern variable): Redirect output of diff to $@.
44118         (check-abi variable): Likewise.
44119         * elf/Makefile (check-abi): Update dependencies.
44121         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44122         unused.
44123         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44124         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44125         subnormal range.
44126         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44127         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44128         value has largest subnormal exponent.
44129         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44130         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44131         * sysdeps/aarch64/soft-fp/sfp-machine.h
44132         (_FP_TININESS_AFTER_ROUNDING): New macro.
44133         * sysdeps/alpha/soft-fp/sfp-machine.h
44134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44135         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44136         Likewise.
44137         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44139         * sysdeps/mips/soft-fp/sfp-machine.h
44140         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44141         * sysdeps/powerpc/soft-fp/sfp-machine.h
44142         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44143         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44144         Likewise.
44145         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44146         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44147         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44148         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44149         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44150         Likewise.
44152 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44154         [BZ #16545]
44155         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44156         model 1.
44158 2014-02-12  Richard Henderson  <rth@redhat.com>
44160         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44161         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44162         * sysdeps/unix/sysv/linux/alpha: Move directory from
44163         ports/sysdeps/unix/sysv/linux/alpha.
44164         * README: Update listing for alpha-*-linux-gnu.
44166 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44168         * include/features.h: Update comment documenting feature test
44169         macros.
44170         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44171         _DEFAULT_SOURCE.
44172         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44173         (_SVID_SOURCE): Likewise.
44174         (_DEFAULT_SOURCE): Update description of default features.
44175         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44176         with _GNU_SOURCE.
44177         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44178         (S_ISVTX): Likewise.
44179         * manual/math.texi (Mathematical Constants): Likewise.
44180         * manual/signal.texi (Interrupted Primitives): Likewise.
44181         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44182         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44183         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44184         Don't refer to _SVID_SOURCE in warning text.
44186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44188         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44189         already defined.
44190         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44191         * sysdeps/mips/dl-lookup.c: Remove.
44192         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44194 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44196         [BZ #16447]
44197         * math/auto-libm-test-in: Add testcase for expl.
44198         * math/auto-libm-test-out: Regenerate.
44199         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44200         calculation of unsafe.
44201         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44203 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44205         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44206         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44207         ports/sysdeps/unix/sysv/linux/aarch64.
44208         * README: Update listing for aarch64*-*-linux-gnu.
44210 2014-02-11  Will Newton  <will.newton@linaro.org>
44212         * manual/probes.texi (Mathematical Function Probes): Use
44213         "triggered" instead of "hit".
44215         * manual/probes.texi (Internal Probes): Add documentation
44216         of setjmp, longjmp and longjmp_target probes.
44218         * include/stap-probe.h: Add comment about probe argument
44219         format.
44221         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44222         definition.  (tr_where, tr_freehook, tr_mallochook,
44223         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44225 2014-02-11  David S. Miller  <davem@davemloft.net>
44227         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44228         processing int_tests.
44230 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44232         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44233         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44234         * sysdeps/unix/sysv/linux/mips: Move directory from
44235         ports/sysdeps/unix/sysv/linux/mips.
44236         * README: Update listing for mips-*-linux-gnu and
44237         mips64-*-linux-gnu.
44239 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44241         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44242         * sysdeps/unix/sysv/linux/m68k: Move directory from
44243         ports/sysdeps/unix/sysv/linux/m68k.
44244         * README: Update listing for m68k-*-linux-gnu.
44246 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44248         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44249         * sysdeps/unix/sysv/linux/generic: Move directory from
44250         ports/sysdeps/unix/sysv/linux/generic.
44251         * sysdeps/unix/sysv/linux/tile: Move directory from
44252         ports/sysdeps/unix/sysv/linux/tile.
44253         * README: Update listing for tile*-*-linux-gnu.
44255 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44257         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44258         __builtin_expect.
44259         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44260         * catgets/open_catalog.c (__open_catalog): Likewise.
44261         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44262         * debug/confstr_chk.c: Likewise.
44263         * debug/fread_chk.c (__fread_chk): Likewise.
44264         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44265         * debug/getgroups_chk.c: Likewise.
44266         * debug/mbsnrtowcs_chk.c: Likewise.
44267         * debug/mbsrtowcs_chk.c: Likewise.
44268         * debug/mbstowcs_chk.c: Likewise.
44269         * debug/memcpy_chk.c: Likewise.
44270         * debug/memmove_chk.c: Likewise.
44271         * debug/mempcpy_chk.c: Likewise.
44272         * debug/memset_chk.c: Likewise.
44273         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44274         * debug/strcat_chk.c (__strcat_chk): Likewise.
44275         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44276         * debug/strncat_chk.c (__strncat_chk): Likewise.
44277         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44278         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44279         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44280         * debug/wcpncpy_chk.c: Likewise.
44281         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44282         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44283         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44284         * debug/wcsncpy_chk.c: Likewise.
44285         * debug/wcsnrtombs_chk.c: Likewise.
44286         * debug/wcsrtombs_chk.c: Likewise.
44287         * debug/wcstombs_chk.c: Likewise.
44288         * debug/wmemcpy_chk.c: Likewise.
44289         * debug/wmemmove_chk.c: Likewise.
44290         * debug/wmempcpy_chk.c: Likewise.
44291         * debug/wmemset_chk.c: Likewise.
44292         * dirent/scandirat.c (SCANDIRAT): Likewise.
44293         * dlfcn/dladdr1.c (dladdr1): Likewise.
44294         * dlfcn/dladdr.c (dladdr): Likewise.
44295         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44296         * dlfcn/dlerror.c (__dlerror): Likewise.
44297         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44298         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44299         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44300         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44301         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44302         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44303         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44304         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44305         Likewise.
44306         * elf/dl-conflict.c: Likewise.
44307         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44308         * elf/dl-dst.h: Likewise.
44309         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44310         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44311         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44312         * elf/dl-init.c (call_init, _dl_init): Likewise.
44313         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44314         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44315         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44316         Likewise.
44317         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44318         Likewise.
44319         * elf/dl-minimal.c (__libc_memalign): Likewise.
44320         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44321         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44322         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44323         * elf/dl-sym.c (do_sym): Likewise.
44324         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44325         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44326         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44327         * elf/dl-writev.h (_dl_writev): Likewise.
44328         * elf/ldconfig.c (search_dir): Likewise.
44329         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44330         (dl_main): Likewise.
44331         * elf/setup-vdso.h (setup_vdso): Likewise.
44332         * grp/compat-initgroups.c (compat_call): Likewise.
44333         * grp/fgetgrent.c (fgetgrent): Likewise.
44334         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44335         * grp/putgrent.c (putgrent): Likewise.
44336         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44337         Likewise.
44338         * hurd/hurdinit.c: Likewise.
44339         * iconvdata/8bit-gap.c (struct): Likewise.
44340         * iconvdata/ansi_x3.110.c : Likewise.
44341         * iconvdata/big5.c : Likewise.
44342         * iconvdata/big5hkscs.c : Likewise.
44343         * iconvdata/cp1255.c: Likewise.
44344         * iconvdata/cp1258.c : Likewise.
44345         * iconvdata/cp932.c : Likewise.
44346         * iconvdata/euc-cn.c: Likewise.
44347         * iconvdata/euc-jisx0213.c : Likewise.
44348         * iconvdata/euc-jp.c: Likewise.
44349         * iconvdata/euc-jp-ms.c : Likewise.
44350         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44351         * iconvdata/gb18030.c : Likewise.
44352         * iconvdata/gbbig5.c (const): Likewise.
44353         * iconvdata/gbgbk.c: Likewise.
44354         * iconvdata/gbk.c : Likewise.
44355         * iconvdata/ibm1364.c : Likewise.
44356         * iconvdata/ibm930.c : Likewise.
44357         * iconvdata/ibm932.c: Likewise.
44358         * iconvdata/ibm933.c : Likewise.
44359         * iconvdata/ibm935.c : Likewise.
44360         * iconvdata/ibm937.c : Likewise.
44361         * iconvdata/ibm939.c : Likewise.
44362         * iconvdata/ibm943.c: Likewise.
44363         * iconvdata/iso_11548-1.c: Likewise.
44364         * iconvdata/iso-2022-cn.c : Likewise.
44365         * iconvdata/iso-2022-cn-ext.c : Likewise.
44366         * iconvdata/iso-2022-jp-3.c: Likewise.
44367         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44368         * iconvdata/iso-2022-kr.c : Likewise.
44369         * iconvdata/iso646.c (gconv_end): Likewise.
44370         * iconvdata/iso_6937-2.c : Likewise.
44371         * iconvdata/iso_6937.c : Likewise.
44372         * iconvdata/iso8859-1.c: Likewise.
44373         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44374         * iconvdata/shift_jisx0213.c : Likewise.
44375         * iconvdata/sjis.c : Likewise.
44376         * iconvdata/t.61.c : Likewise.
44377         * iconvdata/tcvn5712-1.c : Likewise.
44378         * iconvdata/tscii.c: Likewise.
44379         * iconvdata/uhc.c : Likewise.
44380         * iconvdata/unicode.c (gconv_end): Likewise.
44381         * iconvdata/utf-16.c (gconv_end): Likewise.
44382         * iconvdata/utf-32.c (gconv_end): Likewise.
44383         * iconvdata/utf-7.c (base64): Likewise.
44384         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44385         * iconv/gconv_close.c (__gconv_close): Likewise.
44386         * iconv/gconv_open.c (__gconv_open): Likewise.
44387         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44388         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44389         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44390         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44391         (ucs4le_internal_loop_single): Likewise.
44392         * iconv/iconv.c (iconv): Likewise.
44393         * iconv/iconv_close.c: Likewise.
44394         * iconv/loop.c (SINGLE): Likewise.
44395         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44396         * include/atomic.h: Likewise.
44397         * inet/inet6_option.c (option_alloc): Likewise.
44398         * intl/bindtextdom.c (set_binding_values): Likewise.
44399         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44400         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44401         * intl/localealias.c (read_alias_file): Likewise.
44402         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44403         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44404         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44405         * libio/fmemopen.c (fmemopen): Likewise.
44406         * libio/iofgets.c (_IO_fgets): Likewise.
44407         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44408         * libio/iofgetws.c (fgetws): Likewise.
44409         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44410         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44411         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44412         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44413         * locale/findlocale.c (_nl_find_locale): Likewise.
44414         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44415         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44416         Likewise.
44417         * locale/setlocale.c (setlocale): Likewise.
44418         * login/programs/pt_chown.c (main): Likewise.
44419         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44420         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44421         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44422         (mmap, mmap64, mremap, munmap): Likewise.
44423         * math/e_exp2l.c: Likewise.
44424         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44425         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44426         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44427         * math/s_catan.c (__catan): Likewise.
44428         * math/s_catanf.c (__catanf): Likewise.
44429         * math/s_catanh.c (__catanh): Likewise.
44430         * math/s_catanhf.c (__catanhf): Likewise.
44431         * math/s_catanhl.c (__catanhl): Likewise.
44432         * math/s_catanl.c (__catanl): Likewise.
44433         * math/s_ccosh.c (__ccosh): Likewise.
44434         * math/s_ccoshf.c (__ccoshf): Likewise.
44435         * math/s_ccoshl.c (__ccoshl): Likewise.
44436         * math/s_cexp.c (__cexp): Likewise.
44437         * math/s_cexpf.c (__cexpf): Likewise.
44438         * math/s_cexpl.c (__cexpl): Likewise.
44439         * math/s_clog10.c (__clog10): Likewise.
44440         * math/s_clog10f.c (__clog10f): Likewise.
44441         * math/s_clog10l.c (__clog10l): Likewise.
44442         * math/s_clog.c (__clog): Likewise.
44443         * math/s_clogf.c (__clogf): Likewise.
44444         * math/s_clogl.c (__clogl): Likewise.
44445         * math/s_csin.c (__csin): Likewise.
44446         * math/s_csinf.c (__csinf): Likewise.
44447         * math/s_csinh.c (__csinh): Likewise.
44448         * math/s_csinhf.c (__csinhf): Likewise.
44449         * math/s_csinhl.c (__csinhl): Likewise.
44450         * math/s_csinl.c (__csinl): Likewise.
44451         * math/s_csqrt.c (__csqrt): Likewise.
44452         * math/s_csqrtf.c (__csqrtf): Likewise.
44453         * math/s_csqrtl.c (__csqrtl): Likewise.
44454         * math/s_ctan.c (__ctan): Likewise.
44455         * math/s_ctanf.c (__ctanf): Likewise.
44456         * math/s_ctanh.c (__ctanh): Likewise.
44457         * math/s_ctanhf.c (__ctanhf): Likewise.
44458         * math/s_ctanhl.c (__ctanhl): Likewise.
44459         * math/s_ctanl.c (__ctanl): Likewise.
44460         * math/w_pow.c: Likewise.
44461         * math/w_powf.c: Likewise.
44462         * math/w_powl.c: Likewise.
44463         * math/w_scalb.c (sysv_scalb): Likewise.
44464         * math/w_scalbf.c (sysv_scalbf): Likewise.
44465         * math/w_scalbl.c (sysv_scalbl): Likewise.
44466         * misc/error.c (error_tail): Likewise.
44467         * misc/pselect.c (__pselect): Likewise.
44468         * nis/nis_callback.c (__nis_create_callback): Likewise.
44469         * nis/nis_call.c (__nisfind_server): Likewise.
44470         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44471         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44472         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44473         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44474         * nis/nis_lookup.c (nis_lookup): Likewise.
44475         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44476         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44477         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44478         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44479         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44480         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44481         * nis/nss_compat/compat-initgroups.c (add_group)
44482         (internal_getgrent_r): Likewise.
44483         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44484         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44485         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44486         (internal_getspnam_r): Likewise.
44487         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44488         (_nss_nis_getaliasbyname_r): Likewise.
44489         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44490         (_nss_nis_getntohost_r): Likewise.
44491         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44492         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44493         (_nss_nis_getgrgid_r): Likewise.
44494         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44495         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44496         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44497         (_nss_nis_gethostbyname4_r): Likewise.
44498         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44499         (initgroups_netid): Likewise.
44500         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44501         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44502         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44503         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44504         (_nss_nis_getprotobynumber_r): Likewise.
44505         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44506         (_nss_nis_getsecretkey): Likewise.
44507         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44508         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44509         (_nss_nis_getpwuid_r): Likewise.
44510         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44511         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44512         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44513         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44514         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44515         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44516         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44517         Likewise.
44518         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44519         (_nss_nisplus_getntohost_r): Likewise.
44520         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44521         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44522         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44523         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44524         Likewise.
44525         * nis/nss_nisplus/nisplus-initgroups.c
44526         (_nss_nisplus_initgroups_dyn): Likewise.
44527         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44528         (_nss_nisplus_getnetbyaddr_r): Likewise.
44529         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44530         (_nss_nisplus_getprotobynumber_r): Likewise.
44531         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44532         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44533         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44534         Likewise.
44535         * nis/nss_nisplus/nisplus-service.c
44536         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44537         (_nss_nisplus_getservbyport_r): Likewise.
44538         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44539         (_nss_nisplus_getspnam_r): Likewise.
44540         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44541         Likewise.
44542         * nscd/aicache.c (addhstaiX): Likewise.
44543         * nscd/cache.c (cache_search, prune_cache): Likewise.
44544         * nscd/connections.c (register_traced_file, send_ro_fd)
44545         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44546         (main_loop_epoll): Likewise.
44547         * nscd/grpcache.c (addgrbyX): Likewise.
44548         * nscd/hstcache.c (addhstbyX): Likewise.
44549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44550         * nscd/mem.c (gc, mempool_alloc): Likewise.
44551         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44552         (addinnetgrX): Likewise.
44553         * nscd/nscd-client.h (__nscd_acquire_maplock)
44554         (__nscd_drop_map_ref): Likewise.
44555         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44556         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44557         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44558         Likewise.
44559         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44560         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44561         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44562         (__nscd_get_map_ref): Likewise.
44563         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44564         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44565         Likewise.
44566         * nscd/pwdcache.c (addpwbyX): Likewise.
44567         * nscd/selinux.c (preserve_capabilities): Likewise.
44568         * nscd/servicescache.c (addservbyX): Likewise.
44569         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44570         * posix/fnmatch.c (fnmatch): Likewise.
44571         * posix/getopt.c (_getopt_internal_r): Likewise.
44572         * posix/glob.c (glob, glob_in_dir): Likewise.
44573         * posix/wordexp.c (exec_comm_child): Likewise.
44574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44575         (getanswer_r, gaih_getanswer_slice): Likewise.
44576         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44577         * resolv/res_init.c: Likewise.
44578         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44579         * resolv/res_query.c (__libc_res_nquery): Likewise.
44580         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44581         Likewise.
44582         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44583         * stdio-common/perror.c (perror): Likewise.
44584         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44585         * stdio-common/tmpnam.c (tmpnam): Likewise.
44586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44587         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44588         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44589         Likewise.
44590         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44591         * stdlib/putenv.c (putenv): Likewise.
44592         * stdlib/setenv.c (__add_to_environ): Likewise.
44593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44594         * stdlib/strtol_l.c (INTERNAL): Likewise.
44595         * string/memmem.c (memmem): Likewise.
44596         * string/strerror.c (strerror): Likewise.
44597         * string/strnlen.c (__strnlen): Likewise.
44598         * string/test-memmem.c (simple_memmem): Likewise.
44599         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44600         * sunrpc/pm_getport.c (__get_socket): Likewise.
44601         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44602         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44603         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44604         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44605         Likewise.
44606         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44608         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44609         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44610         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44611         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44612         Likewise.
44613         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44614         Likewise.
44615         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44616         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44617         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44619         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44622         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44623         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44624         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44625         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44626         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44627         Likewise.
44628         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44629         Likewise.
44630         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44631         Likewise.
44632         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44634         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44635         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44636         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44637         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44638         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44641         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44648         Likewise.
44649         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44650         Likewise.
44651         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44652         Likewise.
44653         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44654         Likewise.
44655         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44657         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44658         Likewise.
44659         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44660         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44661         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44662         * sysdeps/posix/sleep.c: Likewise.
44663         * sysdeps/posix/tempname.c: Likewise.
44664         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44665         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44666         Likewise.
44667         * sysdeps/powerpc/powerpc32/dl-machine.h
44668         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44669         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44671         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44672         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44673         Likewise.
44674         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44676         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44678         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44679         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44680         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44681         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44683         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44685         (elf_machine_lazy_rel): Likewise.
44686         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44688         (elf_machine_lazy_rel): Likewise.
44689         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44690         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44691         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44692         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44693         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44694         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44695         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44697         Likewise.
44698         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44699         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44700         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44701         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44702         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44703         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44704         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44705         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44706         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44707         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44708         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44709         Likewise.
44710         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44711         (__posix_fallocate64_l64): Likewise.
44712         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44713         (posix_fallocate): Likewise.
44714         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44715         Likewise.
44716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44717         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44718         (getifaddrs_internal): Likewise.
44719         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44720         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44721         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44722         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44723         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44724         (__posix_fallocate64_l64): Likewise.
44725         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44726         Likewise.
44727         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44729         (__get_clockfreq): Likewise.
44730         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44731         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44732         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44735         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44736         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44737         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44738         Likewise.
44739         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44740         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44741         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44743         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44744         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44745         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44746         Likewise.
44747         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44748         (posix_fallocate): Likewise.
44749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44750         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44751         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44752         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44753         (elf_machine_rela, elf_machine_rela_relative)
44754         (elf_machine_lazy_rel): Likewise.
44755         * time/asctime.c (asctime_internal): Likewise.
44756         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44757         * time/tzset.c (__tzset_parse_tz): Likewise.
44758         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44759         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44760         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44761         * wcsmbs/wcsmbsload.h: Likewise.
44763         [BZ #15894]
44764         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44766         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44767         (arena_get2): Remove THREAD_STATS conditionals.
44768         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44769         (__malloc_stats, int): Likewise.
44771 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44773         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44774         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44776         * manual/setjmp.texi: Fix typos/grammar errors.
44778         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44779         Only return early when n is <= 0.  Delete unused return statement.
44781         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44782         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44783         * debug/tst-longjmp_chk3.c: New file.
44785         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44786         (test_main): Replace code with set_fortify_handler call.
44787         * debug/test-strcpy_chk.c: Likewise.
44788         * debug/tst-chk1.c: Likewise.
44789         * debug/tst-longjmp_chk.c: Likewise.
44790         * test-skeleton.c: Include fcntl.h & paths.h
44791         (set_fortify_handler): Define.
44793         * debug/tst-longjmp_chk.c: Add header comment and include
44794         ../test-skeleton.c.
44795         (do_test): Mark static.
44796         (TEST_FUNCTION): Define.
44798         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44799         (IP_PMTUDISC_INTERFACE): Likewise.
44800         (IP_MULTICAST_IF): Likewise.
44801         (IP_MULTICAST_TTL): Likewise.
44802         (IP_MULTICAST_LOOP): Likewise.
44803         (IP_ADD_MEMBERSHIP): Likewise.
44804         (IP_DROP_MEMBERSHIP): Likewise.
44805         (IP_UNBLOCK_SOURCE): Likewise.
44806         (IP_BLOCK_SOURCE): Likewise.
44807         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44808         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44809         (IP_MSFILTER): Likewise.
44810         (MCAST_JOIN_GROUP): Likewise.
44811         (MCAST_BLOCK_SOURCE): Likewise.
44812         (MCAST_UNBLOCK_SOURCE): Likewise.
44813         (MCAST_LEAVE_GROUP): Likewise.
44814         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44815         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44816         (MCAST_MSFILTER): Likewise.
44817         (IP_MULTICAST_ALL): Likewise.
44818         (IP_UNICAST_IF): Likewise.
44820         * timezone/Makefile: Delete $(have-ksh) check.
44821         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44822         * timezone/tzselect.ksh: Add +x mode bits.
44824         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44825         (ANON_INODE_FS_MAGIC): Likewise.
44826         (BDEVFS_MAGIC): Likewise.
44827         (BINFMTFS_MAGIC): Likewise.
44828         (BTRFS_TEST_MAGIC): Likewise.
44829         (CRAMFS_MAGIC_WEND): Likewise.
44830         (DEBUGFS_MAGIC): Likewise.
44831         (ECRYPTFS_SUPER_MAGIC): Likewise.
44832         (EXT3_SUPER_MAGIC): Likewise.
44833         (EXT4_SUPER_MAGIC): Likewise.
44834         (FUTEXFS_SUPER_MAGIC): Likewise.
44835         (HOSTFS_SUPER_MAGIC): Likewise.
44836         (HUGETLBFS_MAGIC): Likewise.
44837         (MINIX3_SUPER_MAGIC): Likewise.
44838         (MTD_INODE_FS_MAGIC): Likewise.
44839         (NILFS_SUPER_MAGIC): Likewise.
44840         (OPENPROM_SUPER_MAGIC): Likewise.
44841         (PIPEFS_MAGIC): Likewise.
44842         (PSTOREFS_MAGIC): Likewise.
44843         (QNX6_SUPER_MAGIC): Likewise.
44844         (RAMFS_MAGIC): Likewise.
44845         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44846         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44847         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44848         (SECURITYFS_MAGIC): Likewise.
44849         (SELINUX_MAGIC): Likewise.
44850         (SMACK_MAGIC): Likewise.
44851         (SOCKFS_MAGIC): Likewise.
44852         (SQUASHFS_MAGIC): Likewise.
44853         (STACK_END_MAGIC): Likewise.
44854         (TMPFS_MAGIC): Likewise.
44855         (USBDEVICE_SUPER_MAGIC): Likewise.
44856         (V9FS_MAGIC): Likewise.
44857         (XENFS_SUPER_MAGIC): Likewise.
44858         (CRAMFS_MAGIC): Fix typo in comment.
44859         (EXT2_SUPER_MAGIC): Update comment.
44860         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44862 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44864         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44865         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44866         * sysdeps/unix/sysv/linux/arm: Move directory from
44867         ports/sysdeps/unix/sysv/linux/arm.
44868         * README: Update listing for arm-*-linux-gnueabi.
44870         * README: Remove mention of am33.
44872 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44874         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44875         than the comma operator, to avoid "rhs of comma has no effect"
44876         compiler warnings.
44877         (__sigfillset, __sigandset, __sigorset): Likewise.
44878         * include/signal.h (__sigemptyset): Likewise.
44879         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44881 2014-02-07  Allan McRae  <allan@archlinux.org>
44883         * version.h (RELEASE): Set to "development".
44884         (VERSION): Set to "2.19.90"
44885         * NEWS: Add 2.20 section.
44887 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44889         [BZ #16529]
44890         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44892 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44894         * manual/contrib.texi: Update entry for Carlos O'Donell,
44895         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44897 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44899         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44901         * sysdeps/unix/sysv/linux/kernel-features.h
44902         [__LINUX_KERNEL_VERSION >= 0x020621]
44903         (__ASSUME_PROC_PID_TASK_COMM): Define.
44905 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44907         [BZ #16398]
44908         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44909         conversion when destination buffer does not have enough space.
44910         * libio/tst-ftell-partial-wide.c: New test case.
44911         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44913         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44914         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44915         Leonard and Allan McRae.
44917 2014-02-04  David S. Miller  <davem@davemloft.net>
44919         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44920         32-bit.
44922 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44925         New file
44926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44927         New file
44928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44929         New file.
44930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44931         New file.
44932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44933         New file.
44934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44935         New file.
44936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44937         New file.
44938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44939         New file.
44940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44941         New file.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44943         New file.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44945         New file.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44947         New file.
44948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44949         New file.
44951 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44953         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44954         * shlib-versions: Likewise.
44956 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44957             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44959         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44960         (abilist-pattern): New variable, set to %-le.abilist.
44962         * Makerules (abilist-pattern): New variable.
44963         (vpath): Use $(abilist-pattern) in place of %.abilist.
44964         (check-abi-% pattern rule): Likewise.
44965         (check-abi, update-abi): Likewise.
44967 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44971 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44973         * manual/startup.texi: Add next, previous, and top entries for
44974         the `Program Arguments' and `Environment Variables' nodes.
44976 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44978         * manual/macros.texi: Add comments before MTASC-safety macros.
44980         * manual/users.texi: Document MTASC-safety properties.
44982         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44983         (pthread_getspecific, pthread_setspecific): Format with
44984         @deftypefun, and add @safety note.
44985         * manual/signal.texi: Move comments that analyze the above
44986         functions to their home place.
44988 2014-02-03  Allan McRae  <allan@archlinux.org>
44990         * po/sl.po: Update Slovenian translation from translation project.
44992 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44994         * manual/time.texi (timegm): Add missing blank after @c.
44995         Reported by Joseph Myers <joseph@codesourcery.com>.
44997 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44999         * manual/check-safety.sh: New.
45000         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45002         * manual/terminal.texi: Document MTASC-safety properties.
45004         * manual/filesys.texi: Document MTASC-safety properties.
45006         * manual/errno.texi: Document MTASC-safety properties.
45008         * manual/intro.texi: Document safety identifiers and
45009         conditionals.
45011         * manual/string.texi (wcstok): Fix prototype.
45012         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45014         * manual/time.texi: Document MTASC-safety properties.
45016         * manual/string.texi: Document MTASC-safety properties.
45018         * manual/threads.texi: Document MTASC-safety properties.
45020         * manual/stdio.texi: Document MTASC-safety properties.
45022         * manual/syslog.texi: Document MTASC-safety properties.
45024         * manual/sysinfo.texi: Document MTASC-safety properties.
45026         * manual/startup.texi: Document MTASC-safety properties.
45028         * manual/socket.texi: Document MTASC-safety properties.
45030         * manual/signal.texi: Document MTASC-safety properties.
45032 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45034         * manual/setjmp.texi: Document MTASC-safety properties.
45036         * manual/search.texi: Document MTASC-safety properties.
45038         * manual/resource.texi: Document MTASC-safety properties.
45040         * manual/process.texi: Document MTASC-safety properties.
45042         * manual/platform.texi: Document MTASC-safety properties.
45044         * manual/pipe.texi: Document MTASC-safety properties.
45046         * manual/pattern.texi: Document MTASC-safety properties.
45048         * manual/message.texi: Document MTASC-safety properties.
45050         [BZ #12751]
45051         * manual/memory.texi: Document MTASC-safety properties.
45053         * manual/math.texi: Document MTASC-safety properties.
45055         * manual/locale.texi: Document MTASC-safety properties.
45057         * manual/llio.texi: Document MTASC-safety properties.
45059         * manual/libdl.texi: New.
45061         * manual/lang.texi: Document MTASC-safety properties.
45063         * manual/job.texi: Document MTASC-safety properties.
45065         * manual/getopt.texi: Document MTASC-safety properties.
45067         * manual/ctype.texi: Document MTASC-safety properties.
45069 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45071         [BZ #16046]
45072         * csu/libc-tls.c (static_map): Remove variable.
45073         (__libc_setup_tls): Use main executable's link map for TLS data.
45074         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45075         casing for LM_ID_BASE and GL(dl_nns).
45076         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45077         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45078         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45079         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45080         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45081         member.
45082         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45083         l_phnum members.
45085 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45087         * manual/debug.texi: Document MTASC-safety properties.
45089 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45091         [BZ #16510]
45092         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45093         of __x86_64__ when disabling x87 inline functions.
45095 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45097         * manual/charset.texi: Document MTASC-safety properties.
45099         * manual/crypt.texi: Document MTASC-safety properties.
45101         * manual/conf.texi: Document MTASC-safety properties.
45103         * manual/arith.texi: Document MTASC-safety properties.
45105         * manual/argp.texi: Document MTASC-safety properties.
45107         * manual/macros.texi: Introduce macros to document multi
45108         thread, asynchronous signal and asynchronous cancellation
45109         safety properties.
45110         * manual/intro.texi: Introduce the properties themselves.
45112 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45114         * sysdeps/sh/sh4/Makefile: New file.
45116 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45118         * math/gen-libm-test.pl ($srcdir): New variable.
45119         ($auto_input): Use it.
45121 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45123         [BZ #16506]
45124         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45125         access beyond array bounds when parsing netgroups file.
45127         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45128         the old buffer before realloc.
45130 2014-01-27  Allan McRae  <allan@archlinux.org>
45132         * po/fr.po: Update French translation from translation project.
45134 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45136         * sysdeps/sh/libm-test-ulps: Regenerate.
45138 2014-01-24  David S. Miller  <davem@davemloft.net>
45140         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45142 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45144         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45145         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45147 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45149         [BZ #16474]
45150         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45151         string pointers after reallocation.
45153 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45155         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45156         __SH4A__ instead of __SH_FPU_ANY__.
45158 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45160         * sysdeps/sh/fpu_control.h: New file.
45161         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45162         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45163         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45164         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45165         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45166         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45167         * sysdeps/sh/sys/ucontext.h: Remove.
45168         * sysdeps/sh/sys: Remove directory.
45170 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45172         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45173         s390/sys/ucontext.h.
45174         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45175         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45177 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45179         [BZ #15605]
45180         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45182 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45184         [BZ#16431]
45185         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45186         Adjust the vDSO correctly for internal calls.
45187         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45189 2014-01-20  Allan McRae  <allan@archlinux.org>
45191         * po/ca.po: Update Catalan translation from translation project.
45193 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45195         * sysdeps/s390/sotruss-lib.c: New file.
45197 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45199         [BZ#16430]
45200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45201         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45202         local calls issues by not having a PLT stub required for IFUNC calls.
45203         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45205 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45207         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45208         * math/test-fpucw-static.c: Likewise.
45210 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45212         [BZ #16453]
45213         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45215 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45217         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45218         implementation for powerpc.
45220 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45222         [BZ #14782]
45223         * sysdeps/posix/system.c (__libc_system): Do not enable
45224         asynchronous cancellation.
45226 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45228         [BZ #16427]
45229         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45230         handling only for numbers special also in the IEEE case.
45232 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45236 2014-01-11  Allan McRae  <allan@archlinux.org>
45238         * po/bg.po: Update Bulgarian translation from translation project.
45240         * po/de.po: Update German translation from translation project.
45242 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45244         * sysdeps/generic/gcc-compat.h: New file.
45246 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45248         * benchtests/asin-inputs: Correct slow inputs.
45249         * benchtests/acos-inputs: Likewise.
45251 2014-01-10  Allan McRae  <allan@archlinux.org>
45253         * po:sv.po: Update Swedish translation from translation project.
45255         * po/vi.po: Update Vietnamese translation from translation project.
45257         * po/eo.po: Update Esperanto translation from translation project.
45259         * po/cs.po: Update Czech translation from translation project.
45261         * po/nl.po: Update Dutch translation from translation project.
45263         * po/pl.po: Update Polish translation from translation project.
45265         * po/ru.po: Update Russian translation from translation project.
45267         * po/uk.po: Update Ukrainian translation from translation project.
45269 2014-01-08  Brooks Moses  <bmoses@google.com>
45271         * elf/dl-load.c: Fix comment typo.
45273 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45275         * po/header.pot: Rename to...
45276         * po/pot.header: ... this.
45277         * po/Makefile: Use pot.header.
45279 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45280             Maxim Kuvyrkov  <maxim@kugelworks.com>
45282         [BZ #16394]
45283         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45284         SRC and DEST against LEN.
45286 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45288         [BZ #16414]
45289         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45290         implementation.
45291         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45293 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45297 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45299         [BZ #16408]
45300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45301         for large positive arguments.
45303 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45305         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45307         * math/auto-libm-test-in: Mark various tests with
45308         xfail-rounding:ldbl-128ibm.
45309         * math/auto-libm-test-out: Regenerated.
45311         [BZ #16407]
45312         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45313         Increase overflow threshold.
45315 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45317         [BZ #14286]
45318         * stdio-common/vfprintf.c: Check for integer overflow.
45320 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45322         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45323         the first argument and return value of __tls_get_addr_internal.
45325 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45327         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45328         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45330 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45332         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45333         * sysdeps/s390/rtld-global-offsets.sym: New file.
45334         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45335         GLIBC_2.19 symbol.
45336         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45337         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45338         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45339         ... this.
45340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45341         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45342         ... this.
45343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45344         Regenerate.
45345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45346         Regenerate.
45347         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45348         halfs of GPRs for high_gprs contexts.
45349         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45350         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45351         field.
45352         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45353         uc_flags field.
45354         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45355         64 bit versions:
45356         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45357         for high GPRs (uc_high_gprs) and for future extensions
45358         (__reserved).
45359         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45360         for future extensions (__reserved).
45361         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45362         64 bit versions:
45363         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45364         SC_HIGHGPRS offset definition.
45365         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45366         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45368         * Versions.def: Add GLIBC_2.19 for libpthread.
45369         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45370         siglongjmp for libpthread with GLIBC_2.19 symver.
45371         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45372         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45373         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45374         * sysdeps/s390/__longjmp.c: New file.
45375         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45376         * sysdeps/s390/longjmp.c: New file.
45377         * sysdeps/s390/setjmp.S: New file.
45378         * sysdeps/s390/sigjmp.S: New file.
45379         * sysdeps/s390/v1-longjmp.c: New file.
45380         * sysdeps/s390/v1-setjmp.h: New file.
45381         * sysdeps/s390/v1-sigjmp.c: New file.
45382         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45383         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45384         GLIBC_2.19 version.
45385         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45386         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45387         versioned symbols for ____longjmp_chk.
45388         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45389         Likewise.
45390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45391         Regenerate.
45392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45393         Regenerate.
45394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45395         Regenerate.
45396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45397         Regenerate.
45398         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45399         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45400         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45401         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45402         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45403         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45404         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45405         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45406         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45407         * sysdeps/s390/rtld-__longjmp.c: New file.
45408         * sysdeps/s390/rtld-setjmp.S: New file.
45410 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45412         [BZ #16400]
45413         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45414         Return -__logl (x) for small positive arguments without evaluating
45415         a polynomial.
45417 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45419         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45420         Rename to ...
45421         (__ptrace_peeksiginfo_args): ... this.
45422         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45423         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45426 2014-01-06  Allan McRae  <allan@archlinux.org>
45428         * inet/netinet/in.h: Fix typo in comment.
45430 2014-01-05  Andreas Jaeger  <aj@suse.de>
45432         * sysdeps/i386/fpu/libm-test-ulps: Update.
45434 2014-01-05  Allan McRae  <allan@archlinux.org>
45436         * po/libc.pot: Regenerated.
45438         * malloc/memusagestat.c: Fix gettext call formatting.
45440 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45442         * nscd/nscd.c: Improve usage() output.
45444 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45446         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45447         * sysdeps/unix/sysv/linux/configure: Regenerated.
45448         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45449         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45451 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45453         [BZ #16390]
45454         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45455         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45457 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45460         extra tokens at end of #undef directive.
45461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45462         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45463         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45465 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45467         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45469         * math/auto-libm-test-in: Mark various tests with
45470         xfail-rounding:ldbl-128ibm.
45471         * math/auto-libm-test-out: Regenerated.
45473 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45475         [BZ #16386]
45476         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45477         numbers with subnormal high part when calculating exponent.
45479         [BZ #16385]
45480         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45481         fabs.
45483         [BZ #16384]
45484         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45485         M_LN2l.
45486         (__ieee754_acoshl): Use __log1pl not __log1p.
45488 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45490         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45491         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45492         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45493         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45494         (reused_arena, arena_get2): Convert to GNU style.
45495         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45496         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45497         (memalign_check, __malloc_set_state): Likewise.
45498         * malloc/mallocbug.c (main): Likewise.
45499         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45500         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45501         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45502         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45503         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45504         (__posix_memalign, malloc_info): Likewise.
45505         * malloc/malloc.h: Likewise.
45506         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45507         (mallochook, memalignhook, reallochook, mabort): Likewise.
45508         * malloc/mcheck.h: Likewise.
45509         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45510         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45511         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45512         * malloc/morecore.c (__default_morecore): Likewise.
45513         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45514         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45515         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45516         (print_and_abort): Likewise.
45517         * malloc/obstack.h: Likewise.
45518         * malloc/set-freeres.c (__libc_freeres): Likewise.
45519         * malloc/tst-mallocstate.c (main): Likewise.
45520         * malloc/tst-mtrace.c (main): Likewise.
45521         * malloc/tst-realloc.c (do_test): Likewise.
45523 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45525         [BZ #16366]
45526         * nscd/netgroupcache.c (do_notfound): New function.
45527         (addgetnetgrentX): Use it.
45529         [BZ # 16365]
45530         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45531         NSS_STATUS_NOTFOUND.
45533 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45535         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45538 2014-01-01  Allan McRae  <allan@archlinux.org>
45540         * scripts/update-copyrights: Update configure input file suffix.
45542         * NEWS: Update copyright year.
45543         * catgets/gencat.c: Likewise.
45544         * csu/version.c: Likewise.
45545         * debug/catchsegv.sh: Likewise.
45546         * debug/pcprofiledump.c: Likewise.
45547         * debug/xtrace.sh: Likewise.
45548         * elf/ldconfig.c: Likewise.
45549         * elf/ldd.bash.in: Likewise.
45550         * elf/pldd.c: Likewise.
45551         * elf/sotruss.ksh: Likewise.
45552         * elf/sprof.c: Likewise.
45553         * iconv/iconv_prog.c: Likewise.
45554         * iconv/iconvconfig.c: Likewise.
45555         * locale/programs/locale.c: Likewise.
45556         * locale/programs/localedef.c: Likewise.
45557         * login/programs/pt_chown.c: Likewise.
45558         * malloc/memusage.sh: Likewise.
45559         * malloc/memusagestat.c: Likewise.
45560         * malloc/mtrace.pl: Likewise.
45561         * manual/libc.texinfo: Likewise.
45562         * nscd/nscd.c: Likewise.
45563         * nss/getent.c: Likewise.
45564         * nss/makedb.c: Likewise.
45565         * posix/getconf.c: Likewise.
45566         * scripts/test-installation.pl: Likewise.
45568         * All files with FSF copyright notices: Update copyright dates
45569         using scripts/update-copyrights.
45570         * intl/plural.c: Regenerated.
45571         * locale/programs/charmap-kw.h: Likewise.
45572         * locale/programs/locfile-kw.h: Likewise.
45574 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45576         * sysdeps/unix/sysv/linux/configure: Regenerated.
45577         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45578         the linux/fanotify.h header.
45579         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45580         HAVE_LINUX_FANOTIFY_H is defined.
45582 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45584         * benchtests/cos-inputs: New inputs.
45585         * benchtests/sin-inputs: Likewise.
45587         * benchtests/atan-inputs: New inputs. Fix name of multiple
45588         precision fallback inputs.
45590         * benchtests/atanh-inputs: New inputs.
45591         * benchtests/tanh-inputs: Likewise.
45593         * benchtests/acosh-inputs: New inputs.
45594         * benchtests/asinh-inputs: Likewise.
45596         * benchtests/cosh-inputs: New inputs.
45597         * benchtests/sinh-inputs: Likewise.
45599         * benchtests/acos-inputs: Add more inputs.
45600         * benchtests/asin-inputs: Likewise.
45602 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45604         [BZ #16375]
45605         * manual/arith.texi: Fix spelling.
45606         * manual/charset.texi: Likewise.
45607         * manual/errno.texi: Likewise.
45608         * manual/filesys.texi: Likewise.
45609         * manual/lang.texi: Likewise.
45610         * manual/llio.texi: Likewise.
45611         * manual/locale.texi: Likewise.
45612         * manual/message.texi: Likewise.
45613         * manual/resource.texi: Likewise.
45614         * manual/search.texi: Likewise.
45615         * manual/setjmp.texi: Likewise.
45616         * manual/stdio.texi: Likewise.
45617         * manual/string.texi: Likewise.
45618         * manual/sysinfo.texi: Likewise.
45619         * manual/time.texi: Likewise.
45621 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45623         * po/sl.po: New file.
45625 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45627         * .gitignore: Add core/.gdbinit/.gdb_history.
45629 2013-12-27  Allan McRae  <allan@archlinux.org>
45631         [BZ #16369]
45632         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45633         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45635 2013-12-24  Brooks Moses  <bmoses@google.com>
45637         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45638         all compilers that claim C++98 compliance, not just GCC.
45639         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45640         Likewise.
45642 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45644         * NEWS: Restore accidentally deleted bug-fix entries.
45646 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45647             Ondřej Bílka  <neleai@seznam.cz>
45649         [BZ #15073]
45650         * malloc/malloc.c (_int_free): Perform sanity check only if we
45651         have_lock.
45653 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45655         [BZ #12986]
45656         * manual/stdio.texi (String Input Conversions): Clarify that character
45657         classes are not supported.
45659 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45663 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45665         [BZ #16337]
45666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45667         Calculate results for small negative arguments directly rather
45668         than using reflection formula with special underflow handling.
45670         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45671         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45672         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45673         (fchflags): Likewise.
45674         (revoke): Likewise.
45675         (setlogin): Likewise.
45676         (sigaltstack): Likewise.
45677         (wait4): Likewise.
45678         (sigblock): Remove.
45679         (sigsetmask): Likewise.
45680         (wait3): Likewise.
45681         (waitpid): Likewise.
45682         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45683         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45684         file.
45685         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45686         * sysdeps/unix/bsd/Makefile: ... here.
45687         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45688         * sysdeps/unix/bsd/Versions: ... here.
45689         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45690         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45691         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45692         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45693         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45694         * sysdeps/unix/bsd/sigblock.c: ... here.
45695         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45696         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45697         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45698         * sysdeps/unix/bsd/sigvec.c: ... here.
45699         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45700         * sysdeps/unix/bsd/tcdrain.c: ... here.
45701         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45702         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45703         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45704         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45705         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45706         * sysdeps/unix/bsd/wait.c: ... here.
45707         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45708         * sysdeps/unix/bsd/wait3.c: ... here.
45709         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45710         * sysdeps/unix/bsd/waitpid.c: ... here.
45712 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45714         [BZ #16356]
45715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45716         round-to-nearest for [!USE_AS_EXPM1L].
45717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45718         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45719         more tests of exp and exp10.  Expect some exp10 tests to miss
45720         exceptions or fail in directed rounding modes.
45721         * math/auto-libm-test-out: Regenerated.
45722         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45723         (exp10_test_tonearest): New function.
45724         (exp10_towardzero_test_data): New array.
45725         (exp10_test_towardzero): New function.
45726         (exp10_downward_test_data): New array.
45727         (exp10_test_downward): New function.
45728         (exp10_upward_test_data): New array.
45729         (exp10_test_upward): New function.
45730         (main): Call the new functions.
45731         * sysdeps/i386/fpu/libm-test-ulps: Update.
45732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45734 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45736         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45737         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45738         * math/auto-libm-test-out: Regenerated.
45739         * math/libm-test.inc (acosh_test_data): Add more tests.
45740         (atanh_test_data): Likewise.
45741         (ceil_test_data): Likewise.
45742         (copysign_test_data): Likewise.
45743         * sysdeps/i386/fpu/libm-test-ulps: Update.
45744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45746         * timezone/checktab.awk: Update from tzcode 2013i.
45747         * timezone/private.h: Likewise.
45748         * timezone/scheck.c: Likewise.
45749         * timezone/tzfile.h: Likewise.
45750         * timezone/tzselect.ksh: Likewise.
45751         * timezone/zdump.c: Likewise.
45752         * timezone/zic.c: Likewise.
45754         * math/auto-libm-test-in: Add tests of cpow.
45755         * math/auto-libm-test-out: Regenerated.
45756         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45757         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45758         mpc_cc_c.
45759         (func_calc_desc): Add mpc_cc_c union field.
45760         (test_functions): Add cpow.
45761         (special_fill_2pi): New function.
45762         (special_real_inputs): Add 2pi.
45763         (calc_generic_results): Handle mpc_cc_c.
45764         * sysdeps/i386/fpu/libm-test-ulps: Update.
45765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45767         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45768         csqrt, ctan and ctanh.
45769         * math/auto-libm-test-out: Regenerated.
45770         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45771         (TEST_COND_x86): Likewise.
45772         (ccos_test_data): Use AUTO_TESTS_c_c.
45773         (ccosh_test_data): Likewise.
45774         (cexp_test_data): Likewise.
45775         (clog_test_data): Likewise.
45776         (csqrt_test_data): Likewise.
45777         (ctan_test_data): Likewise.
45778         (ctan_tonearest_test_data): Likewise.
45779         (ctan_towardzero_test_data): Likewise.
45780         (ctan_downward_test_data): Likewise.
45781         (ctan_upward_test_data): Likewise.
45782         (ctanh_test_data): Likewise.
45783         (ctanh_tonearest_test_data): Likewise.
45784         (ctanh_towardzero_test_data): Likewise.
45785         (ctanh_downward_test_data): Likewise.
45786         (ctanh_upward_test_data): Likewise.
45787         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45788         mpc_c_c.
45789         (func_calc_desc): Add mpc_c_c union field.
45790         (FUNC_mpc_c_c): New macro.
45791         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45792         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45793         ctanh.
45794         (special_fill_min_subnorm_p120): New function.
45795         (special_real_inputs): Add min_subnorm_p120.
45796         (calc_generic_results): Handle mpc_c_c.
45797         * sysdeps/i386/fpu/libm-test-ulps: Update.
45798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45800 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45802         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45803         (do_sin_slow): New functions.
45804         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45805         (cslow2, csloww1, csloww2): Use the new functions.
45807         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45808         Use M to change sign of result instead of X.  Assume X is
45809         positive.
45810         (csloww1): Likewise.
45811         (__sin): Adjust.
45812         (__cos): Adjust.
45814         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45815         arguments A and DA.
45816         (__sin): Adjust.
45817         (__cos): Likewise.
45819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45820         (__cos): Likewise.
45821         (sloww1): Don't adjust sign of DX.
45822         (csloww1): Likewise.
45823         (sloww2): Use X directly and don't adjust sign of DX.
45824         (csloww2): Likewise.
45826 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45828         * math/auto-libm-test-in: Add tests of cabs and carg.
45829         * math/auto-libm-test-out: Regenerated.
45830         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45831         (carg_test_data): Likewise.
45832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45833         mpc_c_f.
45834         (func_calc_desc): Add mpc_c_f union field.
45835         (test_functions): Add cabs and carg.
45836         (calc_generic_results): Handle mpc_c_f.
45838         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45839         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45840         as a macro and a compat symbol.
45841         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45842         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45843         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45844         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45845         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45847         not use .hidden.
45848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45849         Likewise.
45850         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45851         Likewise.
45852         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45853         Likewise.
45854         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45855         Likewise.
45856         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45857         Likewise.
45858         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45859         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45860         from GLIBC_2.3.2.
45862 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45866 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45868         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45869         trailing whitespace removed.
45870         * scripts/config.guess: Update to version 2013-11-29.
45871         * scripts/config.sub: Update to version 2013-10-01.
45873         * math/auto-libm-test-in: Add tests of sincos.
45874         * math/auto-libm-test-out: Regenerated.
45875         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45876         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45877         mpfr_f_11.
45878         (func_calc_desc): Add mpfr_f_11 union field.
45879         (test_functions): Add sincos.
45880         (calc_generic_results): Handle mpfr_f_11.
45881         * sysdeps/i386/fpu/libm-test-ulps: Update.
45882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45884 2013-12-19  Andreas Schwab  <schwab@suse.de>
45886         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45887         CALL_MCOUNT.
45888         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45889         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45890         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45892 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45894         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45895         * sysdeps/i386/fpu/libm-test-ulps: Update.
45896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45898         [BZ #16293]
45899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45900         round-to-nearest mode when using frndint.
45901         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45902         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45904         Likewise.
45905         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45906         sinh test to fail.
45907         * math/auto-libm-test-out: Regenerated.
45908         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45909         (TEST_COND_x86): Likewise.
45910         (expm1_tonearest_test_data): New array.
45911         (expm1_test_tonearest): New function.
45912         (expm1_towardzero_test_data): New array.
45913         (expm1_test_towardzero): New function.
45914         (expm1_downward_test_data): New array.
45915         (expm1_test_downward): New function.
45916         (expm1_upward_test_data): New array.
45917         (expm1_test_upward): New function.
45918         (main): Run the new test functions.
45919         * sysdeps/i386/fpu/libm-test-ulps: Update.
45920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45922         * include/features.h: Update comment documenting feature test
45923         macros.  Mention _DEFAULT_SOURCE in comment.
45924         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45925         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45926         _BSD_SOURCE and _SVID_SOURCE.
45927         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45928         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45929         !_SVID_SOURCE]: Likewise.
45930         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45931         (__USE_POSIX_IMPLICITLY): Define.
45932         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45933         (_POSIX_SOURCE): Undefine and redefine.
45934         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45935         (_POSIX_C_SOURCE): Likewise.
45936         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45937         (Feature Test Macros): Update documentation of default features.
45939 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45941         * benchtests/Makefile: Add bench-strtok.
45942         * benchtests/bench-strtok.c: New file: strtok benchtest.
45944 2013-12-19  Allan McRae  <allan@archlinux.org>
45946         * manual/install.texi: Suppress menu for plain text output.
45947         * INSTALL: Regenerated.
45949 2013-12-18  Brooks Moses  <bmoses@google.com>
45951         [BZ #15846]
45952         * misc/getauxval.c: Include errno.h.
45953         (__getauxval): Set errno to ENOENT if the requested type is not
45954         found.
45955         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45956         don't declare with __attribute_const__.
45957         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45958         * manual/startup.texi: Document that getauxval sets errno.
45960 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45962         * math/auto-libm-test-in: Add tests of jn and yn.
45963         * math/auto-libm-test-out: Regenerated.
45964         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45965         (yn_test_data): Likewise.
45966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45967         mpfr_if_f.
45968         (func_calc_desc): Add mpfr_if_f union field.
45969         (FUNC_mpfr_if_f): New macro.
45970         (test_functions): Add jn and yn.
45971         (calc_generic_results): Assert type of second input for
45972         mpfr_ff_f.  Handle mpfr_if_f.
45973         (output_for_one_input_case): Disable all checking for arguments
45974         fitting floating-point types in case of an integer argument.
45975         * sysdeps/i386/fpu/libm-test-ulps: Update.
45976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45979         Don't expect fegetround reference in libm.so.
45981 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45983         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45984         $(config-cflags-nofma).
45986 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45988         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45989         * math/auto-libm-test-out: Regenerated.
45991         [BZ #16338]
45992         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45993         to determine exponent and adjust argument to have exponent of -1.
45994         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45995         log2.
45996         * math/auto-libm-test-out: Regenerated.
45997         * sysdeps/i386/fpu/libm-test-ulps: Update.
45998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46000 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46002         * manual/probes.texi: Remove cases when per-thread arenas are
46003         disabled.
46005 2013-12-18  Andreas Schwab  <schwab@suse.de>
46007         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46008         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46009         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46010         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46011         * sysdeps/i386/i686/multiarch/Makefile: Update.
46012         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46014 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46016         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46017         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46019 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46021         [BZ #15968]
46022         Support TZ transition times < 00:00:00.
46023         This is needed for version-3 tz-format files; it supports time
46024         stamps past 2037 for America/Godthab (the only entry in the tz
46025         database for which this change is relevant).
46026         * manual/time.texi (TZ Variable): Document transition times
46027         from -167:59:59 through -00:00:01.
46028         * time/tzset.c (tz_rule): Time of day is now signed.
46029         (__tzset_parse_tz): Parse negative time of day.
46031         Document TZ transition times >= 25:00:00.
46032         * manual/time.texi (TZ Variable): Document transition times from
46033         25:00:00 through 167:59:59.  These are already supported, and this
46034         support will help with version-3 tz-format files.
46036         * manual/time.texi (TZ Variable): Modernize North America example
46037         to reflect current (i.e., 2007-and-later) daylight saving rules.
46039         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46041 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46043         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46044         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46047         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46048         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46049         * sysdeps/unix/bsd/clock.c: Likewise.
46050         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46051         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46052         * sysdeps/unix/bsd/init-posix.c: Likewise.
46053         * sysdeps/unix/bsd/poll.c: Likewise.
46054         * sysdeps/unix/bsd/ptsname.c: Likewise.
46055         * sysdeps/unix/bsd/seekdir.c: Likewise.
46056         * sysdeps/unix/bsd/setegid.c: Likewise.
46057         * sysdeps/unix/bsd/seteuid.c: Likewise.
46058         * sysdeps/unix/bsd/setgid.c: Likewise.
46059         * sysdeps/unix/bsd/setrgid.c: Likewise.
46060         * sysdeps/unix/bsd/setruid.c: Likewise.
46061         * sysdeps/unix/bsd/setsid.c: Likewise.
46062         * sysdeps/unix/bsd/setuid.c: Likewise.
46063         * sysdeps/unix/bsd/sigaction.c: Likewise.
46064         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46065         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46066         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46067         * sysdeps/unix/bsd/telldir.c: Likewise.
46068         * sysdeps/unix/bsd/times.c: Likewise.
46069         * sysdeps/unix/bsd/usleep.c: Likewise.
46071         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46072         ($(objpfx)libbsd-compat.a): Remove rule.
46074         * include/features.h (__FAVOR_BSD): Do not define.
46075         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46076         features conflicting with POSIX.
46077         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46078         (_BSD_SOURCE): Remove description of not being a subset of other
46079         feature test macros.
46080         * manual/job.texi (getpgrp): Do not document BSD version.
46081         (getpgid): Do not document by reference to BSD getpgrp.
46082         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46083         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46084         * signal/signal.h [__FAVOR_BSD]: Likewise.
46085         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46086         instead of making contents conditional on [__FAVOR_BSD].
46087         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46089 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46093 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46095         [BZ #16314]
46096         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46097         values below 2**-450, not 2**-500.
46098         * math/auto-libm-test-in: Don't allow spurious underflow from
46099         hypot.
46100         * math/auto-libm-test-out: Regenerated.
46102         [BZ #16316]
46103         [BZ #16330]
46104         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46105         values of ha and hb and sort them after adjusting subnormal
46106         arguments.
46107         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46108         Likewise.
46109         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46110         values of ea and eb and sort them after adjusting subnormal
46111         arguments.
46112         * math/auto-libm-test-in: Do not expect some hypot tests of
46113         subnormals to fail.  Add more hypot tests.
46114         * math/auto-libm-test-out: Regenerated.
46116 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46118         [BZ #13304]
46119         * sysdeps/sh/s_fma.c: New file.
46120         * sysdeps/sh/s_fmaf.c: New file.
46121         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46122         version.
46123         * sysdeps/sh/Implies: Add sh/soft-fp.
46125 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46127         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46128         level of indirection to members `objname', `errstring', `malloced'.
46129         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46130         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46131         it as the __longjmp argument (just pass 1 instead).
46132         (_dl_catch_error): Initialize C with argument pointers and address of
46133         volatile local ERRCODE rather than copying values out of C at return.
46135 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46137         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46138         * math/auto-libm-test-out: Regenerated.
46139         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46140         (hypot_test_data): Likewise.
46141         (pow_test_data): Likewise.
46142         (pow_tonearest_test_data): Likewise.
46143         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46144         mpfr_ff_f.
46145         (func_calc_desc): Add mpfr_ff_f union field.
46146         (FUNC_mpfr_ff_f): New macro.
46147         (test_functions): Add atan2, hypot and pow.
46148         (special_fill_min): New function.
46149         (special_fill_minus_min): Likewise.
46150         (special_fill_min_subnorm): Likewise.
46151         (special_fill_minus_min_subnorm): Likewise.
46152         (special_real_inputs): Add min, -min, min_subnorm and
46153         -min_subnorm.
46154         (calc_generic_results): Handle mpfr_ff_f.
46155         * sysdeps/i386/fpu/libm-test-ulps: Update.
46156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46158 2013-12-16  Will Newton  <will.newton@linaro.org>
46160         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46161         (Aligned Memory Blocks): Add documentation for aligned_alloc
46162         and suggest it as an alternative to posix_memalign.
46163         (Hooks for Malloc): Document __memalign_hook is also called
46164         for aligned_alloc.  (Summary of Malloc): Add summary for
46165         aligned alloc.  Document __memalign_hook is also called
46166         for aligned_alloc.
46168 2013-12-16  Will Newton  <will.newton@linaro.org>
46170         * manual/memory.texi (Malloc Examples): Clarify default
46171         alignment documentation.  Suggest posix_memalign rather
46172         than memalign or valloc.
46173         (Aligned Memory Blocks): Remove suggestion to use memalign
46174         or valloc.  Remove obsolete comment about BSD.
46175         Document memalign errno values and mark the function obsolete.
46176         Document posix_memalign returned error codes.  Mark valloc
46177         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46178         called for posix_memalign and valloc.
46179         (Summary of Malloc): Add posix_memalign to function summary.
46180         __memalign_hook is also called for posix_memalign and valloc.
46182 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46184         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46185         TAYLOR_SIN.
46186         (__sin): Adjust.
46187         (__cos): Likewise.
46188         (sloww): Use mynumber union.  Expand ternary operator into
46189         if-else statements.
46190         (cslow): use mynumber union.
46192 2013-12-16  Allan McRae  <allan@archlinux.org>
46194         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46195         * configure: Regenerated.
46197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46199         [BZ #14120]
46200         * configure.ac: Added --enable-maintainer-mode. Check for
46201         autoconf when enabled.
46202         * configure: Regenerated.
46204         * nscd/nscd.service: New file.
46205         * nscd/nscd.tmpfiles: New file.
46207 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46209         [BZ #12100]
46210         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46211         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46212         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46213         (strstr): Add __strstr_sse2_unaligned ifunc.
46214         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46215         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46216         (strcasestr): Remove __strcasestr_sse42 ifunc.
46217         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46221 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46223         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46224         * sysdeps/sh/bits/fenv.h: ... here.
46225         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46227 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46229         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46232         hypotf multiarch implementations.
46233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46236         multiarch hypot for PPC64.
46237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46240         multiarch hypotf for PPC64.
46242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46243         modff multiarch implementations.
46244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46247         multiarch modf for PPC64.
46248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46251         multiarch modff for PPC64.
46253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46254         and logl multiarch implementations.
46255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46258         multiarch logb for PPC64.
46259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46262         multiarch logb for PPC64.
46263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46266         multiarch logb for PPC64.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46269         isinff multiarch implementation.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46271         file.
46272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46274         multiarch isinf for PPC64.
46275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46276         file.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46278         multiarch isinff for PPC64.
46280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46281         finitef multiarch implementation.
46282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46283         file.
46284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46286         multiarch finite for PPC64.
46287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46288         file.
46289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46290         multiarch finitef for PPC64.
46292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46293         lrint multiarch implementation.
46294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46295         file.
46296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46298         multiarch llrint for PPC64.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46300         multiarch lrint for PPC64.
46302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46303         copysignf multiarch implementation.
46304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46305         file.
46306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46307         file.
46308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46309         multiarch copysign for PPC64.
46310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46311         multiarch copysignf for PPC64.
46313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46314         multiarch implementation.
46315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46316         file.
46317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46318         file.
46319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46320         file.
46321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46322         file.
46323         multiarch llround for PPC64.
46324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46325         multiarch trunc for PPC64.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46327         multiarch truncf for PPC64.
46329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46330         multiarch implementation.
46331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46332         file.
46333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46334         file.
46335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46336         file.
46337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46338         file.
46339         multiarch llround for PPC64.
46340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46341         multiarch round for PPC64.
46342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46343         multiarch roundf for PPC64.
46345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46346         multiarch implementation.
46347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46348         file.
46349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46350         file.
46351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46352         file.
46353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46354         file.
46355         multiarch llround for PPC64.
46356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46357         multiarch floor for PPC64.
46358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46359         multiarch floorf for PPC64.
46361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46362         multiarch implementation.
46363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46364         file.
46365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46366         file.
46367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46368         file.
46369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46370         file.
46371         multiarch llround for PPC64.
46372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46373         multiarch ceil for PPC64.
46374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46375         multiarch ceilf for PPC64.
46377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46378         multiarch implementation.
46379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46380         file.
46381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46382         file.
46383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46384         file.
46385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46386         multiarch llround for PPC64.
46387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46388         multiarch lround for PPC64.
46390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46391         multiarch implementation.
46392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46395         file.
46396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46399         multiarch isnan for PPC64.
46400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46401         multiarch isnanf for PPC64.
46403         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46404         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46405         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46406         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46407         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46410         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46411         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46416         multiarch implementations.
46417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46418         (__libc_ifunc_impl_list): Likewise.
46419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46422         multiarch stpcpy for PPC64.
46424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46425         multiarch implementations.
46426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46427         (__libc_ifunc_impl_list): Likewise.
46428         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46430         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46431         multiarch strcpy for PPC64.
46433         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46434         redefine function name.
46435         (_wordcopy_fwd_dest_aligned): Likewise.
46436         (_wordcopy_bwd_aligned): Likewise.
46437         (_wordcopy_bwd_dest_aligned): Likewise.
46438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46439         multiarch implementations.
46440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46441         (__libc_ifunc_impl_list): Likewise.
46442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46443         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46446         multiarch wcscpy for PPC64.
46448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46449         multiarch implementations.
46450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46451         (__libc_ifunc_impl_list): Likewise.
46452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46454         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46456         multiarch wcscpy for PPC64.
46458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46459         multiarch implementations.
46460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46461         (__libc_ifunc_impl_list): Likewise.
46462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46463         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46464         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46465         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46466         multiarch wcsrchr for PPC64.
46468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46469         multiarch implementations.
46470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46471         (__libc_ifunc_impl_list): Likewise.
46472         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46473         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46474         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46475         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46476         multiarch wcschr for PPC64.
46478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46479         multiarch implementations.
46480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46481         (__libc_ifunc_impl_list): Likewise.
46482         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46483         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46484         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46485         multiarch strchrnul for PPC64.
46487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46488         implementations.
46489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46490         (__libc_ifunc_impl_list): Likewise.
46491         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46492         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46493         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46494         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46495         strchr for PPC64.
46497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46498         implementations.
46499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46500         (__libc_ifunc_impl_list): Likewise.
46501         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46503         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46504         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46505         strncmp for PPC64.
46507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46508         multiarch implementations.
46509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46510         (__libc_ifunc_impl_list): Likewise.
46511         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46512         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46513         strncasecmp for PPC64.
46514         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46515         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46516         multiarch strncasecmp_l for PPC64.
46518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46519         multiarch implementations.
46520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46521         (__libc_ifunc_impl_list): Likewise.
46522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46523         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46524         multiarch strcasecmp for PPC64.
46525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46526         file.
46527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46528         multiarch strcasecmp_l for PPC64.
46530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46531         implementations.
46532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46533         (__libc_ifunc_impl_list): Likewise.
46534         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46535         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46536         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46537         strnlen for PPC64.
46539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46540         implementations.
46541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46542         (__libc_ifunc_impl_list): Likewise.
46543         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46544         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46545         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46546         strlen for PPC64.
46548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46549         implementations.
46550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46551         (__libc_ifunc_impl_list): Likewise.
46552         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46553         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46554         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46555         rawmemrchr for PPC64.
46557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46558         implementation.
46559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46560         (__libc_ifunc_impl_list): Likewise.
46561         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46562         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46563         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46564         memrchr for PPC64.
46566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46567         implementation.
46568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46569         (__libc_ifunc_impl_list): Likewise.
46570         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46571         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46572         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46573         memchr for PPC64.
46575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46576         implementation.
46577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46578         (__libc_ifunc_impl_list): Likewise.
46579         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46580         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46581         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46582         mempcpy for PPC64.
46584         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46585         avoid cretion of __bzero symbol.
46586         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46587         Likewise.
46588         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46589         Likewise.
46590         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46591         Likewise.
46592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46593         multiarch implementations.
46594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46595         (__libc_ifunc_impl_list): Likewise.
46596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46597         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46598         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46599         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46600         bzero for PPC32.
46601         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46602         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46603         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46604         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46605         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46606         memset for PPC64.
46607         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46609         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46611         implementations.
46612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46613         (__libc_ifunc_impl_list): Likewise.
46614         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46615         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46616         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46617         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46618         memcmp for PPC64.
46620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46621         multiarch for POWER/PPC64.
46622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46623         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46630         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46631         memcpy for PPC64.
46633         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46634         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46635         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46637         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46638         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46639         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46640         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46641         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46642         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46643         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46644         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46645         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46646         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46647         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46656 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46660 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46662         * benchtests/Makefile (bench): Add exp2 and log2.
46663         (LDLIBS-bench-exp2): Add -lm.
46664         (LDLIBS-bench-log2): Likewise.
46665         * benchtests/exp2-inputs: New inputs file.
46666         * benchtests/log2-inputs: New inputs file.
46667         * benchtests/log-inputs: Add new inputs.
46668         * benchtests/tan-inputs: Likewise.
46670 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46672         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46673         definition...
46674         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46675         (csloww2): ... from here.
46677         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46678         instead of structures.
46679         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46680         (POLYNOMIAL): Likewise.
46681         (TAYLOR_SLOW): Likewise.
46682         (__sin): Likewise.
46683         (__cos): Likewise.
46684         (slow1): Likewise.
46685         (slow2): Likewise.
46686         (sloww): Likewise.
46687         (sloww1); Likewise.
46688         (sloww2): Likewise.
46689         (bsloww1): Likewise.
46690         (bsloww2): Likewise.
46691         (cslow2): Likewise.
46692         (csloww): Likewise.
46693         (csloww1): Likewise.
46694         (csloww2): Likewise.
46696 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46698         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46699         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46700         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46701         * malloc/hooks.c (realloc_check): Likewise.
46703         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46704         * malloc/arena.c: Remove PER_THREAD conditional.
46705         [!PER_THREAD]: Remove code.
46706         (ptmalloc_unlock_all2): Likewise.
46707         (ptmalloc_init): Likewise.
46708         (_int_new_arena): Likewise.
46709         (arena_get2): Likewise.
46710         * malloc/hooks.c (__malloc_get_state): Likewise.
46711         (__malloc_set_state): Likewise.
46712         * malloc/malloc.c: Likewise.
46713         (struct malloc_state): Likewise.
46714         (struct malloc_par): Likewise.
46715         (__libc_realloc): Likewise.
46716         (__libc_mallopt): Likewise.
46718 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46720         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46722 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46724         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46725         macro to a function.  Check for zero perturb_byte.
46726         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46728         * malloc/malloc.c: (force_reg): Remove.
46729         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46730         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46731         force_reg by atomic_forced_read.
46732         * malloc/arena.c (ptmalloc_init): Likewise.
46733         * malloc/hooks.c (top_check): Likewise.
46735 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46739 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46743 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46745         * math/auto-libm-test-in: Add tests of lgamma.
46746         * math/auto-libm-test-out: Regenerated.
46747         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46748         (M_LOG_2_SQRT_PIl): Likewise.
46749         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46750         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46751         mpfr_f_f1.
46752         (func_calc_desc): Add mpfr_f_f1 union field.
46753         (ARGS1): New macro.
46754         (ARGS2): Likewise.
46755         (ARGS3): Likewise.
46756         (ARGS4): Likewise.
46757         (RET1): Likewise.
46758         (RET2): Likewise.
46759         (CALC): Likewise.
46760         (FUNC): Likewise.
46761         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46762         (test_functions): Add lgamma.
46763         (calc_generic_results): Handle mpfr_f_f1.
46764         * sysdeps/i386/fpu/libm-test-ulps: Update.
46765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46767 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46769         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46770         __mpn_add_n for PowerPC64/POWER7.
46771         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46772         __mpn_sub_n for PowerPC64/POWER7.
46774         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46775         __mpn_addmul_1 for PowerPC64.
46776         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46777         __mpn_submul_1 for PowerPC64.
46778         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46779         for PowerPC64.
46780         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46781         for PowerPC64.
46783 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46785         [BZ #15089]
46786         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46790         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46792         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46793         add multiarch folders.
46794         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46795         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46796         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46797         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46798         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46799         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46800         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46801         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46802         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46803         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46804         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46813         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46815         New file.
46816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46817         New file.
46818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46819         multiarch __ieee754_hypot for PowerPC32.
46820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46821         New file.
46822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46823         New file.
46824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46825         multiarch __ieee754_hypotf for PowerPC32.
46827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46828         long_double_symbol only if __logbl is defined.
46829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46830         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46832         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46834         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46836         path for implementation.
46837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46838         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46840         logb, and logbl multiarch implementations for PowerPC32.
46841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46842         file.
46843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46844         file.
46845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46846         multiarch logb for PowerPC32.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46848         file.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46850         file.
46851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46852         multiarch logbf for PowerPC32.
46853         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46855         file.
46856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46857         multiarch logbl implementation for PowerPC32.
46859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46860         and modff multiarch implementations.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46862         New file.
46863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46864         New file.
46865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46866         multiarch modf for PowerPC32.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46868         New file.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46870         New file.
46871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46872         multiarch modff for PowerPC32.
46874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46875         and lrintf multiarch implementations.
46876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46877         New file.
46878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46879         New file.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46881         multiarch lrint for PowerPC32.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46883         file: multiarch lrintf for PowerPC32.
46885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46886         and lroundf multiarch implementations.
46887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46888         New file.
46889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46890         New file.
46891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46892         New file.
46893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46894         multiarch lround for PowerPC32.
46895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46896         file: multiarch lroundf for PowerPC32.
46898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46899         copysign and copysignf multiarch implementations.
46900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46901         New file.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46903         New file.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46905         file: multiarch copysign for PowerPC32.
46906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46907         file: multiarch copysignf for PowerPC32.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46910         and truncf multiarch implementations.
46911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46912         New file.
46913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46914         file.
46915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46916         multiarch trunc for PowerPC32.
46917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46918         New file.
46919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46920         New file.
46921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46922         multiarch truncf for PowerPC32.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46925         and roundf multiarch implementations.
46926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46927         New file.
46928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46929         file.
46930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46931         multiarch round for PowerPC32.
46932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46933         New file.
46934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46935         New file.
46936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46937         multiarch roundf for PowerPC32.
46939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46940         and floorf multiarch implementations.
46941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46942         New file.
46943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46944         file.
46945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46946         multiarch floor for PowerPC32.
46947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46948         New file.
46949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46950         New file.
46951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46952         multiarch floorf for PowerPC32.
46954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46955         and ceilf multiarch implementations.
46956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46957         New file.
46958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46959         file.
46960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46961         multiarch ceil for PowerPC32.
46962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46963         New file.
46964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46965         file.
46966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46967         multiarch ceilf for PowerPC32.
46969         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46970         is defined.
46971         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46972         FINITEF is defined.
46973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46974         and finitef multiarch implementations.
46975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46976         New file.
46977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46978         file.
46979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46980         multiarch finite for PowerPC32.
46981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46982         New file.
46983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46984         file: multiarch finitef for PowerPC32.
46986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46987         and isinff multiarch implementations.
46988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46989         file.
46990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46991         file.
46992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46993         multiarch isinf for PowerPC32.
46994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46995         New file.
46996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46997         multiarch isinff for PowerPC32.
46999         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47000         alias when __isnan is defined.
47001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47002         and isnanf multiarch implementations.
47003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47004         file.
47005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47006         file.
47007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47008         file.
47009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47010         file.
47011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47012         multiarch isnan for PowerPC32.
47013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47014         New file.
47015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47016         New file.
47017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47018         multiarch isnanf for PowerPC32.
47020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47021         and sqrtf multiarch implementations.
47022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47023         file.
47024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47025         file.
47026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47027         multiarch sqrt for PowerPC32.
47028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47029         file.
47030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47031         file.
47032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47033         multiarch sqrtf for PowerPC32.
47035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47036         and llroundf multiarch implementations.
47037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47038         New file.
47039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47040         New file.
47041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47042         New file.
47043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47044         file: multiarch llround for PowerPC32.
47045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47046         file: multiarch llroundf for PowerPC32.
47048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47049         multiarch PowerPC32 fpu implementations.
47050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47051         New file.
47052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47053         New file.
47054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47055         multiarch llrint for PowerPC32.
47056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47057         New file.
47058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47059         New file.
47060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47061         file.
47063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47065         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47066         file.
47067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47068         file.
47069         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47070         file.
47071         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47072         multiarch wordcopy for PPC32.
47073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47074         wordcopy objects.
47075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47076         (__libc_ifunc_impl_list): Likewise.
47077         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47078         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47079         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47080         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47081         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47082         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47084         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47086         file.
47087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47088         file.
47089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47090         file.
47091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47092         multiarch wcscpy for PPC32.
47093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47094         multiarch objects.
47095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47096         (__libc_ifunc_impl_list): Likewise.
47097         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47098         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47099         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47100         sysdeps/powerpc/power6/wcscpy.c.
47102         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47104         file.
47105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47106         file.
47107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47108         file.
47109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47110         multiarch wcsrchr for PPC32.
47111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47112         multiarch objects.
47113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47114         (__libc_ifunc_impl_list): Likewise.
47115         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47116         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47117         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47118         sysdeps/powerpc/power6/wcsrchr.c.
47120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47121         file.
47122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47123         file.
47124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47126         multiarch wcschr for PPc32.
47127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47128         multiarch objects.
47129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47130         (__libc_ifunc_impl_list): Likewise.
47131         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47132         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47133         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47134         sysdeps/powerpc/power6/wcschr.c.
47136         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47138         file.
47139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47140         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47141         file: multiarch strchr for PPC32.
47142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47143         multiarch objects.
47144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47145         (__libc_ifunc_impl_list): Likewise.
47147         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47148         name.
47149         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47150         file.
47151         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47152         file.
47153         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47154         multiarch strchrnul for PPC32.
47155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47156         multiarch objects.
47157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47158         (__libc_ifunc_impl_list): Likewise.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47161         file.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47163         multiarch strncasecmp for PPC32.
47164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47165         file.
47166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47167         multiarch strncasecmp_l for PPC32.
47168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47169         strncasecmp multiarch objects.
47170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47171         (__libc_ifunc_impl_list): Likewise.
47173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47174         file.
47175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47176         multiarch strncasecmp for PPC32.
47177         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47178         New file.
47179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47180         multiarch strcasecmp_l for PPC32.
47181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47182         multiarch objects.
47183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47184         (__libc_ifunc_impl_list): Likewise.
47186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47187         file.
47188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47189         file.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47191         multiarch strncmp for PPC32.
47192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47193         multiarch objects.
47194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47195         (__libc_ifunc_impl_list): Likewise.
47197         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47198         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47199         file.
47200         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47201         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47203         multiarch objects.
47204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47205         (__libc_ifunc_impl_list): Likewise.
47207         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47208         file.
47209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47210         file.
47211         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47213         multiarch objects.
47214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47215         (__libc_ifunc_impl_list): Likewise.
47217         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47218         file.
47219         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47220         file.
47221         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47222         multiarch rawmemchr for PPC32.
47223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47224         multiarch objects.
47225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47226         (__libc_ifunc_impl_list): Likewise.
47228         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47229         file.
47230         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47231         file.
47232         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47233         file: memrchr multiarch for PPC32.
47234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47235         multiarch objects.
47236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47237         (__libc_ifunc_impl_list): Likewise.
47239         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47241         file.
47242         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47244         multiarch memchr for PPC32.
47245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47246         multiarch objects.
47247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47248         (__libc_ifunc_impl_list): Likewise.
47250         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47252         file.
47253         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47254         file.
47255         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47256         file: multiarch mempcpy for PPC32.
47257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47258         multiarch objects.
47259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47260         (__libc_ifunc_impl_list): Likewise.
47262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47266         multiarch bzero for PPC32.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47268         file.
47269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47270         file.
47271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47272         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47273         file: multiarch memset for PPC32.
47274         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47276         memset multiarch objects.
47277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47278         (__libc_ifunc_impl_list): Likewise.
47280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47281         file.
47282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47284         memcmp for PPC32.
47285         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47287         multiarch objects.
47288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47289         (__libc_ifunc_impl_list): Likewise.
47291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47294         file.
47295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47296         file.
47297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47298         file.
47299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47300         multiarch memcpy for PPC32.
47301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47302         multiarch objects.
47303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47304         (__libc_ifunc_impl_list): Likewise.
47306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47307         support multiarch for POWER/PPC32.
47308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47309         Likewise.
47310         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47312         Implies file to make multiarch folder appers before the fpu and
47313         default folder for power4 configuration.
47315 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47317         * scripts/bench.pl: Append volatile keyword to type.
47319 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47321         * sysdeps/sh/sotruss-lib.c: New file.
47322         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47324 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47328 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47330         [BZ #6810]
47331         * math/w_tgamma.c: Include <errno.h>.
47332         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47333         * math/w_tgammaf.c: Include <errno.h>.
47334         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47335         * math/w_tgammal.c: Include <errno.h>.
47336         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47337         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47338         underflow.  Add more tgamma tests.
47339         * math/auto-libm-test-out: Regenerated.
47340         * sysdeps/i386/fpu/libm-test-ulps: Update.
47341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47343         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47344         sin, sinh, tan, tanh, tgamma, y0 and y1.
47345         * math/auto-libm-test-out: Regenerated.
47346         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47347         (TEST_COND_x86): Likewise.
47348         (M_E2l): Remove macro.
47349         (M_E3l): Likewise.
47350         (M_2_SQRT_PIl): Likewise.
47351         (M_SQRT_PIl): Likewise.
47352         (M_1_DIV_El): Likewise.
47353         (log_test_data): Use AUTO_TESTS_f_f.
47354         (log10_test_data): Likewise.
47355         (log1p_test_data): Likewise.
47356         (log2_test_data): Likewise.
47357         (sin_test_data): Likewise.
47358         (sin_tonearest_test_data): Likewise.
47359         (sin_towardzero_test_data): Likewise.
47360         (sin_downward_test_data): Likewise.
47361         (sin_upward_test_data): Likewise.
47362         (sinh_test_data): Likewise.
47363         (sinh_tonearest_test_data): Likewise.
47364         (sinh_towardzero_test_data): Likewise.
47365         (sinh_downward_test_data): Likewise.
47366         (sinh_upward_test_data): Likewise.
47367         (tan_test_data): Likewise.
47368         (tan_tonearest_test_data): Likewise.
47369         (tan_towardzero_test_data): Likewise.
47370         (tan_downward_test_data): Likewise.
47371         (tan_upward_test_data): Likewise.
47372         (tanh_test_data): Likewise.
47373         (tgamma_test_data): Likewise.
47374         (y0_test_data): Likewise.
47375         (y1_test_data): Likewise.
47376         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47377         (special_real_inputs): Add pi/4.
47378         * sysdeps/i386/fpu/libm-test-ulps: Update.
47379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47381 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47383         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47384         "longjmp_target" static probes.
47385         (__longjmp): Rename to __longjmp_symbol.
47386         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47387         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47388         on which longjmp to generate.
47389         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47391         probe.
47392         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47393         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47394         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47396         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47397         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47399         __longjmp_symbol based on which __longjmp to generate.
47400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47401         probe.
47402         (setjmp): Rename to setjmp_symbol.
47403         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47404         (_setjmp): Rename to _setjmp_symbol.
47405         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47406         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47407         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47408         which setjmp to generate.
47409         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47410         "longjmp_target" static probes.
47412 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47414         * benchtests/README: Add note about output arguments.
47415         * benchtests/bench-sincos.c: Remove file.
47416         * benchtests/sincos-inputs: New file.
47417         * scripts/bench.pl: Identify output arguments and define
47418         static variables for them.
47420         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47422         [BZ #15941]
47423         * Makefile (INSTALL): Add install-plain.texi as the primary
47424         dependency.
47425         * manual/install-plain.texi: New file.
47426         * manual/install.texi: Include node directive only for
47427         non-plaintext output.
47429 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47431         * stdlib/longlong.h: Update from GCC.
47433         [BZ #6807]
47434         [BZ #15901]
47435         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47436         * math/w_j0f.c (y0f): Likewise.
47437         * math/w_j0l.c (__y0l): Likewise.
47438         * math/w_j1.c (y1): Likewise.
47439         * math/w_j1f.c (y1f): Likewise.
47440         * math/w_j1l.c (__y1l): Likewise.
47441         * math/w_jn.c (yn): Likewise.
47442         * math/w_jnf.c (ynf): Likewise.
47443         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47444         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47445         value for Bessel function domain errors outside _SVID_ mode.
47446         Adjust sign of return value for yn (negative integer, 0).
47447         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47448         by zero in return for negative x and set sign appropriately for
47449         negative n.
47450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47451         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47452         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47453         expectations in error cases.
47454         (y1_test_data): Likewise.
47455         (yn_test_data): Likewise.
47456         * sysdeps/i386/fpu/libm-test-ulps: Update.
47457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47459 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47461         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47462         "64" to "64-v1".  Add "64-v2".
47463         (abi-64-options): Rename to ...
47464         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47465         (abi-64-condition): Rename to ...
47466         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47467         (abi-64-ld-soname): Rename to ...
47468         (abi-64-v1-ld-soname): ... this.
47469         (abi-64-v2-options): Define.
47470         (abi-64-v2-condition): Likewise.
47471         (abi-64-v2-ld-soname): Likewise.
47472         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47473         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47478 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47479             Alan Modra  <amodra@gmail.com>
47481         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47482         New versions for use with the ELFv2 ABI.
47483         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47484         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47485         declaration.
47486         (struct La_ppc64v2_retval): Likewise.
47487         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47488         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47489         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47490         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47491         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47492         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47493         Do not save or restore CR.
47494         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47495         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47496         return values for ELFv2 ABI.  Fix location of FPR return registers.
47497         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47498         updated values for _CALL_ELF == 2.
47499         (La_regs, La_retval, int_retval): Likewise.
47501 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47503         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47504         (FRAME_MIN_SIZE_PARM): Likewise.
47505         (FRAME_BACKCHAIN): Likewise.
47506         (FRAME_CR_SAVE): Likewise.
47507         (FRAME_LR_SAVE): Likewise.
47508         (FRAME_TOC_SAVE): Likewise.
47509         (FRAME_PARM_SAVE): Likewise.
47510         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47511         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47512         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47513         (call_mcount_parm_offset): New macro.
47514         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47515         (PROF): Use symbolic stack frame offsets.
47516         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47517         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47518         Redefine in terms of FRAME_MIN_SIZE.
47519         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47520         (_dl_profile_resolve): Likewise.  Update comment.
47521         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47522         symbols stack frame offsets.
47523         (__sigsetjmp): Likewise.
47524         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47525         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47526         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47527         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47530         (FRAME_BACKCHAIN): Remove.
47531         (FRAME_CR_SAVE): Likewise.
47532         (FRAME_LR_SAVE): Likewise.
47533         (FRAME_COMPILER_DW): Likewise.
47534         (FRAME_LINKER_DW): Likewise.
47535         (FRAME_TOC_SAVE): Likewise.
47536         (FRAME_PARM_SAVE): Likewise.
47537         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47538         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47539         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47541         (CHECK_SP): Use symbolic stack frame offsets.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47543         zone" instead of caller's parameter save area for temp storage.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47545         Likewise.  Also, use symbolic stack frame offsets.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47547         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47548         our own stack frame instead of the caller's.
47549         (__socket): Use symbolic stack frame offsets.
47551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47552             Alan Modra  <amodra@gmail.com>
47554         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47555         Define.
47556         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47557         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47558         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47559         New function.
47560         (elf_machine_fixup_plt): Call it.
47561         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47562         reloc arguments.
47563         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47564         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47565         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47566         r2 before calling target.
47568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47569             Alan Modra  <amodra@gmail.com>
47571         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47572         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47573         versions of macros to support ELFv2 ABI.
47574         (LOCALENTRY): New macro.
47575         (ENTRY, EALIGN): Use it.
47576         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47577         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47578         fall through into ENTRY entry point.
47579         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47580         Only define if _CALL_ELF != 2.
47582         (elf_machine_matches_host): Verify ABI version matches.
47583         (RTLD_START): Use LOCALENTRY.
47584         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47585         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47586         (PLT_ENTRY_WORDS): New macro.
47587         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47588         (elf_machine_runtime_setup): Support ELFv2 ABI.
47589         (elf_machine_fixup_plt): Likewise.
47590         (elf_machine_plt_conflict): Likewise.
47591         (resolve_ifunc): Likewise.
47592         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47593         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47594         Likewise.
47595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47596         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47598         (makecontext): Support ELFv2 ABI.
47599         * elf/elf.h (EF_PPC64_ABI): Define.
47601 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47603         * sysdeps/powerpc/powerpc64/sysdep.h
47604         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47605         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47606         (ENTRY) [ASSEMBLER]: ... but instead here ...
47607         (EALIGN) [ASSEMBLER]: ... and here.
47608         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47609         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47610         (ENTRY_2) [!ASSEMBLER]: Use it.
47611         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47612         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47614         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47615         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47617         Use PPC64_LOAD_FUNCPTR.
47619         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47621 2013-12-04  Alan Modra  <amodra@gmail.com>
47623         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47624         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47625         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47626         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47629         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47630         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47631         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47632         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47633         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47635 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47638         (__makecontext): Fix incorrect CFI when backtracing out of
47639         context created via makecontext.
47640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47641         (__setcontext): Fix incorrect CFI during switch to new context.
47642         (__novec_setcontext): Likewise.
47644 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47646         [BZ #4772]
47647         * time/strptime_l.c (__strptime_internal): Allow modifiers
47648         in strptime.
47649         * time/tst-strptime.c (day_tests): Add testcase.
47651 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47653         * scripts/bench.pl: Skip over blank lines.
47655 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47657         [BZ #926]
47658         * manual/time.texi (Calendar Time): Clarify what timezone functions
47659         use.
47661 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47665 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47667         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47668         implementation.
47669         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47670         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47671         * debug/memset_chk.c (__memset_chk): Likewise.
47672         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47673         * debug/strncpy_chk.c: Likewise.
47675 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47677         [BZ #15268]
47678         [BZ #15425]
47679         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47680         (__ieee754_exp): For possibly underflowing results, check size of
47681         result and force underflow exception if required.
47682         * math/auto-libm-test-in: Add more tests of exp.
47683         * math/auto-libm-test-out: Regenerated.
47684         * sysdeps/i386/fpu/libm-test-ulps: Update.
47685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47687         [BZ #16283]
47688         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47689         * math/w_exp2f.c (__exp2f): Likewise.
47690         * math/w_exp2l.c (__exp2l): Likewise.
47691         * math/auto-libm-test-in: Do not allow missing errno on exp2
47692         underflow.
47693         * math/auto-libm-test-out: Regenerated.
47695 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47697         [BZ #16274]
47698         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47699         handle filename validation.
47700         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47701         (do_open): Delete.
47703 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47705         [BZ #6786]
47706         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47707         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47708         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47709         <float.h>.
47710         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47712         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47714         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47716         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47717         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47718         Add more erfc tests.
47719         * math/auto-libm-test-out: Regenerated.
47720         * sysdeps/i386/fpu/libm-test-ulps: Update.
47721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47723         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47724         exp2, expm1, j0 and j1.
47725         * math/auto-libm-test-out: Regenerated.
47726         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47727         (erfc_test_data): Likewise.
47728         (exp_test_data): Likewise.
47729         (exp_tonearest_test_data): Likewise.
47730         (exp_towardzero_test_data): Likewise.
47731         (exp_downward_test_data): Likewise.
47732         (exp_upward_test_data): Likewise.
47733         (exp10_test_data): Likewise.
47734         (exp2_test_data): Likewise.
47735         (expm1_test_data): Likewise.
47736         (j0_test_data): Likewise.
47737         (j1_test_data): Likewise.
47738         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47739         (input_flag_type): Add flag_xfail_rounding.
47740         (input_flags): Add xfail-rounding.
47741         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47742         (output_for_one_input_case): Handle flag_xfail_rounding.
47743         * sysdeps/i386/fpu/libm-test-ulps: Update.
47744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47746 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47748         [BZ #16289]
47749         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47750         division by 0.
47752 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47754         [BZ #16195]
47755         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47756         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47757         (STAP_PROBE0): New macro.
47758         (STAP_PROBE1): Likewise.
47759         (STAP_PROBE2): Likewise.
47760         (STAP_PROBE3): Likewise.
47761         (STAP_PROBE4): Likewise.
47763 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47765         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47767 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47769         * benchtests/Makefile (bench): Add sqrt.
47770         (LDLIBS-bench-sqrt): New.
47771         * benchtests/sqrt-input: New.
47773 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47775         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47776         (GAIH_EAI): Likewise.
47777         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47778         (gaih_inet): Likewise.
47779         (getaddrinfo): Don't use GAIH_EAI.
47781         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47782         (struct gaih): Remove definition.
47784 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47786         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47787         Use HERRNOP directly.
47789 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47793 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47795         * math/gen-auto-libm-tests.c (test_functions): Add more
47796         single-argument functions.
47797         (special_fill_pi_2): New function.
47798         (special_fill_minus_pi_2): Likewise.
47799         (special_fill_pi_6): Likewise.
47800         (special_fill_minus_pi_6): Likewise.
47801         (special_fill_pi_3): Likewise.
47802         (special_fill_2pi_3): Likewise.
47803         (special_fill_e): Likewise.
47804         (special_fill_1_e): Likewise.
47805         (special_fill_e_minus_1): Likewise.
47806         (special_real_inputs): Add more special inputs.
47807         (output_for_one_input_case): Do not require ERANGE on underflow to
47808         zero if round-to-nearest result does not underflow to zero, unless
47809         exact results required.
47810         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47811         atan, atanh, cbrt, cos and cosh.
47812         * math/auto-libm-test-out: Regenerated.
47813         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47814         (acos_tonearest_test_data): Likewise.
47815         (acos_towardzero_test_data): Likewise.
47816         (acos_downward_test_data): Likewise.
47817         (acos_upward_test_data): Likewise.
47818         (acosh_test_data): Likewise.
47819         (asin_test_data): Likewise.
47820         (asin_tonearest_test_data): Likewise.
47821         (asin_towardzero_test_data): Likewise.
47822         (asin_upward_test_data): Likewise.
47823         (asinh_test_data): Likewise.
47824         (atan_test_data): Likewise.
47825         (atanh_test_data): Likewise.
47826         (cbrt_test_data): Likewise.
47827         (cos_test_data): Likewise.
47828         (cos_tonearest_test_data): Likewise.
47829         (cos_towardzero_test_data): Likewise.
47830         (cos_downward_test_data): Likewise.
47831         (cos_upward_test_data): Likewise.
47832         (cosh_test_data): Likewise.
47833         (cosh_tonearest_test_data): Likewise.
47834         (cosh_towardzero_test_data): Likewise.
47835         (cosh_downward_test_data): Likewise.
47836         (cosh_upward_test_data): Likewise.
47837         * sysdeps/i386/fpu/libm-test-ulps: Update.
47838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47840 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47842         [BZ #6787]
47843         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47844         * math/w_exp10f.c (__exp10f): Likewise.
47845         * math/w_exp10l.c (__exp10l): Likewise.
47846         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47847         errno settings in existing tests.
47849         [BZ #14032]
47850         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47851         precision control set to double precision.
47852         * sysdeps/i386/fpu/w_sqrt.c: New file.
47853         * math/auto-libm-test-in: Add more tests.
47854         * math/auto-libm-test-out: Update.
47856         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47857         (sqrt_test_tonearest): New function.
47858         (sqrt_towardzero_test_data): New variable.
47859         (sqrt_test_towardzero): New function.
47860         (sqrt_downward_test_data): New variable.
47861         (sqrt_test_downward): New function.
47862         (sqrt_upward_test_data): New variable.
47863         (sqrt_test_upward): New function.
47864         (main): Call the new functions.
47866         * math/gen-auto-libm-tests.c: New file.
47867         * math/auto-libm-test-in: Likewise.
47868         * math/auto-libm-test-out: New generated file.
47869         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47870         variables.
47871         (%beautify): Add generated representations of zero.
47872         (top level): Set $auto_input and call parse_auto_input.
47873         (beautify): Remove trailing "f" from hex float constants.
47874         (parse_args): Handle XFAIL_TEST.
47875         (convert_condition): New function.
47876         (or_value): Likewise.
47877         (or_cond_value): Likewise.
47878         (generate_testfile): Handle AUTO_TESTS_* lines.
47879         (parse_auto_input): New function.
47880         * math/libm-test.inc (XFAIL_TEST): New macro.
47881         (ERRNO_UNCHANGED): Update value.
47882         (ERRNO_EDOM): Likewise.
47883         (ERRNO_ERANGE): Likewise.
47884         (IGNORE_RESULT): Likewise.
47885         (TEST_COND_flt_32): New macro.
47886         (TEST_COND_dbl_64): Likewise.
47887         (TEST_COND_ldbl_96_intel): Likewise.
47888         (TEST_COND_ldbl_96_m68k): Likewise.
47889         (TEST_COND_ldbl_128): Likewise.
47890         (TEST_COND_ldbl_128ibm): Likewise.
47891         (TEST_COND_long32): Likewise.
47892         (TEST_COND_long64): Likewise.
47893         (TEST_COND_before_rounding): Likewise.
47894         (TEST_COND_after_rounding): Likewise.
47895         (enable_test): Handle XFAIL_TEST flag.
47896         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47897         with finite results.
47898         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47899         auto-libm-test-out.
47901 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47902             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47904         [BZ #16214]
47905         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47906         __tls_get_addr_internal instead of __tls_get_offset in order to
47907         avoid GOT pointer dependency.  Make rtld export
47908         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47909         __tls_get_addr since we are a __tls_get_offset platform.
47910         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47911         GOT pointer being set up before.
47912         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47914 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47916         * manual/math.texi (Errors in Math Functions): Document accuracy
47917         goals.
47919         [BZ #15004]
47920         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47921         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47922         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47923         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47924         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47925         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47926         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47927         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47928         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47929         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47930         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47931         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47932         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47933         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47934         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47935         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47937         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47938         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47939         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47940         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47941         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47942         Likewise.
47943         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47944         Likewise.
47945         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47946         Likewise.
47947         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47948         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47949         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47950         atomic-feupdateenv and flt-rounds.
47951         * sysdeps/powerpc/nofpu/Versions (libc): Add
47952         __atomic_feholdexcept, __atomic_feclearexcept,
47953         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47954         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47955         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47956         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47957         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47958         here.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47960         Update.
47962         * manual/arith.texi (FP Exceptions): Document that exceptions may
47963         not be raised when matherr is used.
47964         (Math Error Reporting): Document overflow in directed rounding
47965         modes.  Document that errno may not be set when finite values are
47966         returned on overflow.  Document intent to set errno on underflow
47967         only for underflow to zero.
47969         [BZ #16271]
47970         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47971         round-to-nearest then adjust result for other rounding modes.
47972         * include/fenv.h (fegetround): Use libm_hidden_proto.
47973         * math/fegetround.c (fegetround): Use libm_hidden_def.
47974         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47975         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47976         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47978         Likewise.
47979         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47980         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47981         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47982         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47984 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47986         [BZ #16077]
47987         * nss/Versions (libnss_files): Add
47988         _nss_files_gethostbyname3_r.
47989         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47990         New function.
47991         (HOST_DB_LOOKUP): Remove macro.
47992         (_nss_files_gethostbyname_r): Implement function without the
47993         HOST_DB_LOOKUP macro.
47994         (_nss_files_gethostbyname2_r): Likewise.
47996 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47998         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48000 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48002         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48003         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48004         warning.
48006 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48008         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48009         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48010         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48011         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48012         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48013         __fe_nomask_env_priv and attribute_hidden.
48014         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48015         (libc_feupdateenv_test_ppc): Likewise.
48016         (libc_feresetround_ppc): Likewise.
48017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48018         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48019         compat_symbol macro.
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48021         (__fe_nomask_env): Likewise.
48022         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48024 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48026         * string/Makefile: Remove ifunc tests.
48027         * string/test-string.h: Define TEST_IFUNC.
48028         * string/test-bcopy-ifunc.c: Remove.
48029         * string/test-bzero-ifunc.c: Likewise.
48030         * string/test-memccpy-ifunc.c: Likewise.
48031         * string/test-memchr-ifunc.c: Likewise.
48032         * string/test-memcmp-ifunc.c: Likewise.
48033         * string/test-memcpy-ifunc.c: Likewise.
48034         * string/test-memmem-ifunc.c: Likewise.
48035         * string/test-memmove-ifunc.c: Likewise.
48036         * string/test-mempcpy-ifunc.c: Likewise.
48037         * string/test-memrchr-ifunc.c: Likewise.
48038         * string/test-memset-ifunc.c: Likewise.
48039         * string/test-rawmemchr-ifunc.c: Likewise.
48040         * string/test-stpcpy-ifunc.c: Likewise.
48041         * string/test-stpncpy-ifunc.c: Likewise.
48042         * string/test-strcasecmp-ifunc.c: Likewise.
48043         * string/test-strcasestr-ifunc.c: Likewise.
48044         * string/test-strcat-ifunc.c: Likewise.
48045         * string/test-strchr-ifunc.c: Likewise.
48046         * string/test-strchrnul-ifunc.c: Likewise.
48047         * string/test-strcmp-ifunc.c: Likewise.
48048         * string/test-strcpy-ifunc.c: Likewise.
48049         * string/test-strcspn-ifunc.c: Likewise.
48050         * string/test-strlen-ifunc.c: Likewise.
48051         * string/test-strncasecmp-ifunc.c: Likewise.
48052         * string/test-strncat-ifunc.c: Likewise.
48053         * string/test-strncmp-ifunc.c: Likewise.
48054         * string/test-strncpy-ifunc.c: Likewise.
48055         * string/test-strnlen-ifunc.c: Likewise.
48056         * string/test-strpbrk-ifunc.c: Likewise.
48057         * string/test-strrchr-ifunc.c: Likewise.
48058         * string/test-strspn-ifunc.c: Likewise.
48059         * string/test-strstr-ifunc.c: Likewise.
48061 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48063         * benchtests/Makefile: Remove ifunc tests.
48064         * benchtests/bench-string.h: Define TEST_IFUNC.
48065         * benchtests/bench-bcopy-ifunc.c: Remove.
48066         * benchtests/bench-bzero-ifunc.c: Likewise.
48067         * benchtests/bench-memccpy-ifunc.c: Likewise.
48068         * benchtests/bench-memchr-ifunc.c: Likewise.
48069         * benchtests/bench-memcmp-ifunc.c: Likewise.
48070         * benchtests/bench-memcpy-ifunc.c: Likewise.
48071         * benchtests/bench-memmem-ifunc.c: Likewise.
48072         * benchtests/bench-memmove-ifunc.c: Likewise.
48073         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48074         * benchtests/bench-memrchr-ifunc.c: Likewise.
48075         * benchtests/bench-memset-ifunc.c: Likewise.
48076         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48077         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48078         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48079         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48080         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48081         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48082         * benchtests/bench-strcat-ifunc.c: Likewise.
48083         * benchtests/bench-strchr-ifunc.c: Likewise.
48084         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48085         * benchtests/bench-strcmp-ifunc.c: Likewise.
48086         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48087         * benchtests/bench-strcpy-ifunc.c: Likewise.
48088         * benchtests/bench-strcspn-ifunc.c: Likewise.
48089         * benchtests/bench-strlen-ifunc.c: Likewise.
48090         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48091         * benchtests/bench-strncat-ifunc.c: Likewise.
48092         * benchtests/bench-strncmp-ifunc.c: Likewise.
48093         * benchtests/bench-strncpy-ifunc.c: Likewise.
48094         * benchtests/bench-strnlen-ifunc.c: Likewise.
48095         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48096         * benchtests/bench-strrchr-ifunc.c: Likewise.
48097         * benchtests/bench-strsep-ifunc.c: Likewise.
48098         * benchtests/bench-strspn-ifunc.c: Likewise.
48099         * benchtests/bench-strstr-ifunc.c: Likewise.
48101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48103         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48105 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48107         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48108         * rt/aio.h: Likewise.
48109         * sysdeps/gnu/bits/utmp.h: Likewise.
48110         * sysdeps/gnu/bits/utmpx.h: Likewise.
48111         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48112         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48113         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48114         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48115         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48116         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48117         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48118         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48119         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48120         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48121         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48122         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48123         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48125         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48126         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48127         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48128         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48129         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48130         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48131         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48132         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48133         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48134         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48135         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48137         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48138         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48139         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48140         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48142         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48143         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48144         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48145         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48146         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48147         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48148         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48149         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48150         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48151         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48152         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48154 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48156         [BZ #16245]
48157         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48158         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48160 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48162         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48164         Likewise.
48166 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48169         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48170         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48171         (__fesetround): Remove define.
48172         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48173         rounding and exceptions handling.
48174         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48175         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48176         (__fe_nomask_env): Likewise.
48177         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48178         __fegetround instead of fegetround.
48179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48180         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48182 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48184         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48185         it's there.
48187         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48189 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48191         [BZ #11157]
48192         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48193         (encrypt_r): Likewise.
48194         * malloc/obstack.h (obstack_free): Likewise.
48195         * posix/unistd.h (encrypt): Likewise.
48197 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48199         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48200         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48201         DL_CALL_DT_FINI() that call the functions directly.
48202         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48203         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48204         * elf/dl-fini.c: Likewise.
48206 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48208         * malloc/hooks.c (memalign_check): Add alignment rounding.
48209         * malloc/malloc.c (_mid_memalign): New function.
48210         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48211         Implement by calling _mid_memalign.
48212         * manual/probes.texi (Memory Allocation Probes): Remove
48213         memory_valloc_retry and memory_pvalloc_retry.
48215 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48217         * locale/programs/locarchive.c (open_archive): Add const
48218         qualifier to ARCHIVEFNAME and copy default fname to
48219         DEFAULT_FNAME.
48221         [BZ #15601]
48222         * libio/tst-widetext.input: Rename Oriya to Odia.
48223         * locale/iso-639.def: Likewise.
48225         * manual/probes.texi (Mathematical Function Probes): Add
48226         documentation for sin, cos, asin and acos probes.
48227         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48228         (__sin32): Add slowasin probe.
48229         (__cos32): Add slowacos probe.
48230         (__mpsin): Add slowsin probe.
48231         (__mpcos): Add slowcos probe.
48233 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48235         [BZ #15483]
48236         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48237         thread-local __sim_exceptions_thread and global
48238         __sim_exceptions_global.
48239         (__sim_disabled_exceptions): Change to thread-local
48240         __sim_disabled_exceptions_thread and global
48241         __sim_disabled_exceptions_global.
48242         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48243         and global __sim_round_mode_global.
48244         (__simulate_exceptions): Use thread-local floating-point state and
48245         set global state from it as needed.
48246         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48247         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48248         __sim_round_mode_thread.
48249         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48250         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48251         and global __sim_exceptions_global.
48252         (__sim_disabled_exceptions): Change to thread-local
48253         __sim_disabled_exceptions_thread and global
48254         __sim_disabled_exceptions_global.
48255         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48256         and global __sim_round_mode_global.
48257         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48258         (SIM_SET_GLOBAL): Likewise.
48259         * sysdeps/powerpc/soft-fp/sfp-machine.h
48260         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48261         __sim_round_mode_thread.
48262         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48263         __sim_disabled_exceptions_thread.
48264         (__sim_exceptions): Change to __sim_exceptions_thread.
48265         (__sim_disabled_exceptions): Change to
48266         __sim_disabled_exceptions_thread.
48267         (__sim_round_mode): Change to __sim_round_mode_thread.
48268         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48269         thread-local floating-point state and set global state from it as
48270         needed.
48271         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48272         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48273         (__sim_disabled_exceptions): Remove extern declaration.
48274         (feenableexcept): Use thread-local floating-point state and set
48275         global state from it as needed.
48276         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48277         extern declaration.
48278         (__sim_disabled_exceptions): Likewise.
48279         (__sim_round_mode): Likewise.
48280         (__fegetenv): Use thread-local floating-point state.
48281         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48282         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48283         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48284         floating-point state and set global state from it as needed.
48285         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48286         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48287         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48288         Likewise.
48289         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48290         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48291         Likewise.
48292         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48293         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48294         Use __sim_round_mode_thread.
48295         * math/test-fenv-tls.c: New file.
48296         * math/Makefile (tests): Add test-fenv-tls.
48297         ($(objpfx)test-fenv-tls): Depend on
48298         $(common-objpfx)nptl/libpthread.so.
48300 2013-11-19  Andreas Schwab  <schwab@suse.de>
48302         * locale/programs/locale.c (show_info): Decode wordarray elements.
48303         * locale/categories.def (LC_MONETARY): Add element for
48304         _NL_MONETARY_CRNCYSTR.
48305         * locale/C-monetary.c (conversion_rate): New variable.
48306         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48307         element.
48309 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48311         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48312         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48314 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48316         * elf/Makefile (tst-auxv): New test.
48317         * elf/tst-auxv.c: New
48318         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48320 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48322         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48323         (hidden_proto): Caller changed.
48324         (hidden_tls_proto): New macro.
48325         (libc_hidden_tls_proto): Likewise.
48326         (rtld_hidden_tls_proto): Likewise.
48327         (libm_hidden_tls_proto): Likewise.
48328         (libresolv_hidden_tls_proto): Likewise.
48329         (librt_hidden_tls_proto): Likewise.
48330         (libdl_hidden_tls_proto): Likewise.
48331         (libnss_files_hidden_tls_proto): Likewise.
48332         (libnsl_hidden_tls_proto): Likewise.
48333         (libnss_nisplus_hidden_tls_proto): Likewise.
48334         (libutil_hidden_tls_proto): Likewise.
48336 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48338         [BZ #10253]
48339         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48340         (decompose_rpath): Defer expansion to fillin_rpath.
48341         (_dl_init_paths): Pass linkmap to fillin_rpath.
48343 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48345         * benchtests/Makefile: Add strsep.
48346         * benchtests/bench-strsep.c: New file: strsep benchtest.
48347         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48349 2013-11-18  Andreas Schwab  <schwab@suse.de>
48351         * locale/programs/locale.c (show_info) [case byte]: Check for
48352         '\377' instead of '\177'.
48353         * locale/C-monetary.c (not_available): Always use "\377".
48354         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48355         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48356         detect unavailable sign_posn locale elements.
48357         * locale/localeconv.c (__localeconv): For grouping and
48358         mon_grouping handle "\177" and "\377" like no grouping.
48359         (INT_ELEM): New macro.  Use it to set all numeric members.
48360         * locale/programs/ld-monetary.c (monetary_read)
48361         <tok_mon_grouping>: Normalize single -1 to the empty string.
48362         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48363         Likewise.
48365 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48367         [BZ #16055]
48368         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48369         when we match (nil).
48370         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48372 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48374         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48375         (NO_TEST_INLINE): Update value.
48376         (ERRNO_UNCHANGED): Likewise.
48377         (ERRNO_EDOM): Likewise.
48378         (ERRNO_ERANGE): Likewise.
48379         (IGNORE_RESULT): Likewise.
48380         (check_float_internal): Check signs of NaN results if
48381         TEST_NAN_SIGN used.
48382         (check_complex): Pass TEST_NAN_SIGN flag through to second
48383         check_float_internal call.
48384         (copysign_test_data): Add tests with quiet NaNs as second
48385         argument.  Use TEST_NAN_SIGN.
48386         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48387         TEST_NAN_SIGN.
48388         (signbit_test_data): Add tests of quiet NaN argument.
48389         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48391         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48392         $ignore_result.
48393         (parse_args): Handle function results specified as IGNORE.
48394         * math/libm-test.inc (IGNORE_RESULT): New macro.
48395         (check_float_internal): Do not check numerical result if flag
48396         IGNORE_RESULT set.
48397         (check_complex): Pass through IGNORE_RESULT to second
48398         check_float_internal call.
48399         (check_int): Do not check numerical result if flag IGNORE_RESULT
48400         set.
48401         (check_long): Likewise.
48402         (check_bool): Likewise.
48403         (check_longlong): Likewise.
48404         (lrint_test_data): Add tests of infinite and NaN arguments.
48405         (lrint_tonearest_test_data): Likewise.
48406         (lrint_towardzero_test_data): Likewise.
48407         (lrint_downward_test_data): Likewise.
48408         (lrint_upward_test_data): Likewise.
48409         (llrint_test_data): Likewise.
48410         (llrint_tonearest_test_data): Likewise.
48411         (llrint_towardzero_test_data): Likewise.
48412         (llrint_downward_test_data): Likewise.
48413         (llrint_upward_test_data): Likewise.
48414         (lround_test_data): Likewise.
48415         (llround_test_data): Likewise.
48417         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48418         (ERRNO_UNCHANGED): Update value.
48419         (ERRNO_EDOM): Likewise.
48420         (ERRNO_ERANGE): Likewise.
48421         (NO_TEST_INLINE_FLOAT): New macro.
48422         (NO_TEST_INLINE_DOUBLE): Likewise.
48423         (enable_test): New function.
48424         (RUN_TEST_f_f): Check enable_test before running test.
48425         (RUN_TEST_2_f): Likewise.
48426         (RUN_TEST_fff_f): Likewise.
48427         (RUN_TEST_c_f): Likewise.
48428         (RUN_TEST_f_f1): Likewise.
48429         (RUN_TEST_fF_f1): Likewise.
48430         (RUN_TEST_fI_f1): Likewise.
48431         (RUN_TEST_ffI_f1): Likewise.
48432         (RUN_TEST_c_c): Likewise.
48433         (RUN_TEST_cc_c): Likewise.
48434         (RUN_TEST_f_i): Likewise.
48435         (RUN_TEST_f_i_tg): Likewise.
48436         (RUN_TEST_ff_i_tg): Likewise.
48437         (RUN_TEST_f_b): Likewise.
48438         (RUN_TEST_f_b_tg): Likewise.
48439         (RUN_TEST_f_l): Likewise.
48440         (RUN_TEST_f_L): Likewise.
48441         (RUN_TEST_fFF_11): Likewise.
48442         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48443         conditionals.
48444         (cosh_test_data): Likewise.
48445         (exp_test_data): Likewise.
48446         (expm1_test_data): Likewise.
48447         (hypot_test_data): Likewise.
48448         (pow_test_data): Likewise.
48449         (sinh_test_data): Likewise.
48450         (tanh_test_data): Likewise.
48451         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48452         flags argument.
48454         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48455         tests with quiet NaN input and output.
48456         (acosh_test_data): Likewise.
48457         (asin_test_data): Likewise.
48458         (asinh_test_data): Likewise.
48459         (atan_test_data): Likewise.
48460         (atanh_test_data): Likewise.
48461         (atan2_test_data): Likewise.
48462         (cbrt_test_data): Likewise.
48463         (cos_test_data): Likewise.
48464         (cosh_test_data): Likewise.
48465         (erf_test_data): Likewise.
48466         (erfc_test_data): Likewise.
48467         (exp_test_data): Likewise.
48468         (exp10_test_data): Likewise.
48469         (exp2_test_data): Likewise.
48470         (expm1_test_data): Likewise.
48471         (hypot_test_data): Likewise.
48472         (j0_test_data): Likewise.
48473         (j1_test_data): Likewise.
48474         (jn_test_data): Likewise.
48475         (lgamma_test_data): Likewise.
48476         (log_test_data): Likewise.
48477         (log10_test_data): Likewise.
48478         (log1p_test_data): Likewise.
48479         (log2_test_data): Likewise.
48480         (pow_test_data): Likewise.
48481         (scalb_test_data): Likewise.
48482         (sin_test_data): Likewise.
48483         (sincos_test_data): Likewise.
48484         (sinh_test_data): Likewise.
48485         (tan_test_data): Likewise.
48486         (tanh_test_data): Likewise.
48487         (tgamma_test_data): Likewise.
48488         (y0_test_data): Likewise.
48489         (y1_test_data): Likewise.
48490         (yn_test_data): Likewise.
48492         [BZ #16167]
48493         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48494         argument being NaN and avoid computations with second argument in
48495         that case.
48496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48497         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48498         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48500 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48502         * locale/iso-639.def: Add Chitwani Tharu (the).
48504 2013-11-14  Andreas Schwab  <schwab@suse.de>
48506         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48507         word instead of empty string.
48509 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48512         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48514         (__fe_nomask_env): Likewise.
48516 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48518         * benchtests/bench-timing.h: Include time.h.
48520 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48522         [BZ #15997]
48523         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48524         to 3.4.0 for x32.
48525         * sysdeps/unix/sysv/linux/configure: Regenerated.
48527 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48529         [BZ #16151]
48530         * stdlib/strtod_l.c (round_and_return): Do not consider
48531         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48532         exponent one less than half the least subnormal exponent.
48533         * stdlib/test-strtod-round-data: Add more tests.
48534         * stdlib/tst-strtod-round.c (tests): Regenerated.
48536 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48538         [BZ #14143]
48539         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48540         (__fe_mask_env): Likewise.
48541         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48542         libm_hidden_proto and add function prototype.
48543         (__fe_mask_env): Add function prototype.
48544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48545         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48547         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48549         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48551 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48553         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48554         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48556 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48558         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48559         of htab_find_slot().
48561 2013-11-11  David S. Miller  <davem@davemloft.net>
48563         [BZ #16150]
48564         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48565         symbol in the non-vis3 case in static builds.
48566         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48567         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48568         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48569         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48571 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48573         [BZ #387]
48574         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48575         it is empty.
48577 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48579         * benchtests/Makefile: Add bench-strtod.
48580         * benchtests/bench-strtod.c: New file: strtod benchtest
48582 2013-11-11  Andreas Schwab  <schwab@suse.de>
48584         [BZ #16153]
48585         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48586         terminating NUL in key length.
48588 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48591         Add artificial ODP entry for vDSO symbol for PPC64.
48592         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48593         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48595 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48597         [BZ #15374]
48598         * nss/getent.c (services_keys): Recognize services starting with digit.
48600 2013-11-06  David S. Miller  <davem@davemloft.net>
48602         [BZ #15985]
48603         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48604         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48606 2013-11-06  Will Newton  <will.newton@linaro.org>
48608         * manual/memory.texi (Malloc Examples): Remove register
48609         keyword from examples.
48611 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48613         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48615 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48617         [BZ #6981]
48618         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48619         depending on [__GCC_IEC_559 > 0].
48620         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48621         depending on [__GCC_IEC_559_COMPLEX > 0].
48623 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48625         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48626         to iso-639.def.
48628 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48630         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48632 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48634         [BZ #16112]
48635         * malloc/malloc (malloc_info): Do not handle first bin as
48636         special case.
48638 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48640         * locale/iso-639.def: Add Central Nahuatl (nhn).
48642 2013-11-01  Bruno Haible  <bruno@clisp.org>
48644         [BZ #7003]
48645         * manual/math.texi (BSD Random): Specify range upper bound as
48646         in POSIX.
48648 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48650         * locale/iso-639.def: Add Meadow Mari (mhr).
48652 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48654         [BZ #14752], [BZ #15763]
48655         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48656         Validate name.
48657         * rt/tst_shm.c: Add test for escaping directory.
48659 2013-10-31  Andreas Schwab  <schwab@suse.de>
48661         [BZ #15917]
48662         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48663         followed by 'x' as part of digit sequence.
48664         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48666 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48668         [BZ #16037]
48669         * configure.ac: allow GNU Make 4.0 and greater.
48670         * configure: Regenerated.
48672 2013-10-30  Will Newton  <will.newton@linaro.org>
48674         [BZ #16038]
48675         * malloc/hooks.c (memalign_check): Limit alignment to the
48676         maximum representable power of two.
48677         * malloc/malloc.c (__libc_memalign): Likewise.
48678         * malloc/tst-memalign.c (do_test): Add test for very
48679         large alignment values.
48680         * malloc/tst-posix_memalign.c (do_test): Likewise.
48682 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48684         [BZ #11087]
48685         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48686         (munmap_chunk): Likewise.
48687         (mremap_chunk): Likewise.
48689 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48691         [BZ #15799]
48692         * stdlib/div.c (div): Remove obsolete code.
48693         * stdlib/ldiv.c (ldiv): Likewise.
48694         * stdlib/lldiv.c (lldiv): Likewise.
48696 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48698         [BZ #16071]
48699         * nss/nss_files/files-XXX.c (get_contents_ret): New
48700         enumerator.
48701         (get_contents): New function.
48702         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48704 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48706         * configure.in: Moved to ...
48707         * configure.ac: ... here. Change reference to configure.in
48708         to configure.ac.
48709         * sysdeps/arm/preconfigure.ac: ... here.
48710         configure.in to configure.ac.
48711         * sysdeps/gnu/configure.in: Moved to ...
48712         * sysdeps/gnu/configure.ac: ... here.
48713         * sysdeps/i386/configure.in: Moved to ...
48714         * sysdeps/i386/configure.ac: ... here.
48715         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48716         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48717         * sysdeps/mach/configure.in: Moved to ...
48718         * sysdeps/mach/configure.ac: ... here.
48719         * sysdeps/mach/hurd/configure.in: Moved to ...
48720         * sysdeps/mach/hurd/configure.ac: ... here.
48721         * sysdeps/powerpc/configure.in: Moved to ...
48722         * sysdeps/powerpc/configure.ac: ... here.
48723         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48724         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48725         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48726         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48727         * sysdeps/s390/s390-32/configure.in: Moved to ...
48728         * sysdeps/s390/s390-32/configure.ac: ... here.
48729         * sysdeps/s390/s390-64/configure.in: Moved to ...
48730         * sysdeps/s390/s390-64/configure.ac: ... here.
48731         * sysdeps/sh/configure.in: Moved to ...
48732         * sysdeps/sh/configure.ac: ... here.
48733         * sysdeps/sparc/configure.in: Moved to ...
48734         * sysdeps/sparc/configure.ac: ... here.
48735         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48736         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48737         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48738         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48739         * sysdeps/x86_64/configure.in: Moved to ...
48740         * sysdeps/x86_64/configure.ac: ... here.
48741         * sysdeps/x86_64/preconfigure.in: Moved to ...
48742         * sysdeps/x86_64/preconfigure.ac: ... here.
48743         * aclocal.m4: Change reference to configure.in to configure.ac.
48744         * config.h.in: Likewise.
48745         * manual/install.texi: Likewise.
48746         * manual/maint.texi: Likewise.
48747         * Makefile: Likewise.
48748         * malloc/Makefile: Likewise.
48749         * nscd/Makefile: Likewise.
48750         * Makeconfig: Change reference to configure.in and
48751         preconfigure.in to configure.ac and preconfigure.ac
48752         respectively.
48753         * INSTALL: Regenerated.
48754         * configure: Likewise.
48755         * sysdeps/gnu/configure: Likewise.
48756         * sysdeps/i386/configure: Likewise.
48757         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48758         * sysdeps/mach/configure: Likewise.
48759         * sysdeps/mach/hurd/configure: Likewise.
48760         * sysdeps/powerpc/configure: Likewise.
48761         * sysdeps/powerpc/powerpc32/configure: Likewise.
48762         * sysdeps/powerpc/powerpc64/configure: Likewise.
48763         * sysdeps/s390/s390-32/configure: Likewise.
48764         * sysdeps/s390/s390-64/configure: Likewise.
48765         * sysdeps/sh/configure: Likewise.
48766         * sysdeps/sparc/configure: Likewise.
48767         * sysdeps/unix/sysv/linux/configure: Likewise.
48768         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48769         * sysdeps/x86_64/configure: Likewise.
48770         * sysdeps/x86_64/preconfigure: Likewise.
48772 2013-10-29  Andreas Schwab  <schwab@suse.de>
48774         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48776 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48778         * benchtests/pow-inputs: Add new inputs.
48780         * benchtests/exp-inputs: Add new inputs.
48782         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48783         conditional check for return value.
48784         (__cos32): Likewise.
48786 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48788         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48789         to provide a boost for large inputs with word alignment.
48790         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48791         implementation based on optimized PPC64 strcpy.
48792         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48793         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48794         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48795         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48797 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48799         [BZ #2801]
48800         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48802 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48804         [BZ #14876]
48805         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48806         * time/tst-strptime.c (day_tests): Add testcase.
48808 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48810         [BZ #14029]
48811         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48813 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48815         [BZ #16074]
48816         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48817         MAP_FAILED on error.
48819 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48821         [BZ #16072]
48822         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48823         heap for large requests.
48825 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48827         [BZ #9954]
48828         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48829         result if the result has no associated interface.
48830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48831         interface for all 127.X.Y.Z addresses.
48833 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48835         * locale/iso-639.def: Add Ligurian (lij)
48837 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48839         [BZ #15825]
48840         * sunrpc/rpc_main.c: Document rpcgen -5.
48842 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48844         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48846 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48848         [BZ #10278]
48849         * posix/glob.c: Match only directories when trailing slash is present.
48850         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48851         (main): Add testcase.
48853 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48855         [BZ #15670]
48856         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48858 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48860         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48861         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48862         AUTH_DES and cindex for FIPS 140-2.
48863         (DES Encryption): Add cindex FIPS 46-3.
48865         * locale/locarchive.h (struct locarhandle): Add fname.
48866         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48867         if an optional argument was specified to --list-archive,
48868         otherwise NULL.
48869         * locale/programs/locarchive.c (show_archive_content): Take new
48870         argument fname and pass it via ah.fname to open_archive.
48871         * locale/programs/localedef.h: Update decl.
48872         (open_archive): If AH->fname is non-null, open that file
48873         rather than the default file name, and don't ignore ENOENT.
48874         (create_archive): Set AH.fname to NULL.
48875         (delete_locales_from_archive): Likewise.
48876         (add_locales_to_archive): Likewise.
48877         * locale/programs/locfile.c (write_all_categories): Likewise.
48879 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48880             Aldy Hernandez  <aldyh@redhat.com>
48882         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48883         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48884         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48885         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48886         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48890         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48892         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48894         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48895         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48896         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48897         Likewise.
48898         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48899         Likewise.
48900         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48901         Likewise.
48902         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48903         Likewise.
48904         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48905         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48906         Likewise.
48907         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48908         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48909         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48910         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48911         Likewise.
48912         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48913         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48914         * sysdeps/powerpc/preconfigure: Likewise.
48915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48916         Likewise.
48917         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48918         Replace contents of file by #include of <fenv_libc.h>.
48919         * sysdeps/powerpc/soft-fp/sfp-machine.h
48920         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48921         and <sys/prctl.h>.
48922         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48935         Allow copysignl PLT reference to be missing.
48937 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48938             Joseph Myers  <joseph@codesourcery.com
48940         [BZ #15948]
48941         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48942         single character.
48943         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48945 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48947         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48948         * elf/tst-tls1.c: Likewise.
48949         * elf/tst-tls10.h: Likewise.
48950         * elf/tst-tls14.c: Likewise.
48951         * elf/tst-tls2.c: Likewise.
48952         * elf/tst-tls3.c: Likewise.
48953         * elf/tst-tls4.c: Likewise.
48954         * elf/tst-tls5.c: Likewise.
48955         * elf/tst-tls6.c: Likewise.
48956         * elf/tst-tls7.c: Likewise.
48957         * elf/tst-tls8.c: Likewise.
48958         * elf/tst-tls9.c: Likewise.
48959         * elf/tst-tlsmod1.c: Likewise.
48960         * elf/tst-tlsmod13.c: Likewise.
48961         * elf/tst-tlsmod13a.c: Likewise.
48962         * elf/tst-tlsmod14a.c: Likewise.
48963         * elf/tst-tlsmod16a.c: Likewise.
48964         * elf/tst-tlsmod16b.c: Likewise.
48965         * elf/tst-tlsmod2.c: Likewise.
48966         * elf/tst-tlsmod3.c: Likewise.
48967         * elf/tst-tlsmod4.c: Likewise.
48968         * elf/tst-tlsmod5.c: Likewise.
48969         * elf/tst-tlsmod6.c: Likewise.
48971 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48973         [BZ #12486]
48974         * malloc/malloc.c: remove checks for statistics.
48976 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48978         [BZ #15277]
48979         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48980         * inet/tst-network.c: Add testcase.
48982 2013-10-17  Andreas Schwab  <schwab@suse.de>
48984         [BZ #15218]
48985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48986         to determine canonical name.
48988 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48990         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48991         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48992         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48993         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48995         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48996         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48997         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48998         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48999         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49000         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49001         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49002         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49003         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49008         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49009         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49013         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49014         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49015         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49016         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49017         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49018         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49019         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49025         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49026         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49028         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49030         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49031         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49032         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49033         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49034         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49035         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49044         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49046         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49047         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49049 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49051         [BZ #16041]
49052         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49053         make result into a quiet NaN.
49055 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49057         * soft-fp/adddf3.c: Fix horizontal whitespace.
49058         * soft-fp/addsf3.c: Likewise.
49059         * soft-fp/addtf3.c: Likewise.
49060         * soft-fp/divdf3.c: Likewise.
49061         * soft-fp/divsf3.c: Likewise.
49062         * soft-fp/divtf3.c: Likewise.
49063         * soft-fp/double.h: Likewise.
49064         * soft-fp/eqdf2.c: Likewise.
49065         * soft-fp/eqsf2.c: Likewise.
49066         * soft-fp/eqtf2.c: Likewise.
49067         * soft-fp/extenddftf2.c: Likewise.
49068         * soft-fp/extended.h: Likewise.
49069         * soft-fp/extendsfdf2.c: Likewise.
49070         * soft-fp/extendsftf2.c: Likewise.
49071         * soft-fp/extendxftf2.c: Likewise.
49072         * soft-fp/fixdfdi.c: Likewise.
49073         * soft-fp/fixdfsi.c: Likewise.
49074         * soft-fp/fixdfti.c: Likewise.
49075         * soft-fp/fixsfdi.c: Likewise.
49076         * soft-fp/fixsfsi.c: Likewise.
49077         * soft-fp/fixsfti.c: Likewise.
49078         * soft-fp/fixtfdi.c: Likewise.
49079         * soft-fp/fixtfsi.c: Likewise.
49080         * soft-fp/fixtfti.c: Likewise.
49081         * soft-fp/fixunsdfdi.c: Likewise.
49082         * soft-fp/fixunsdfsi.c: Likewise.
49083         * soft-fp/fixunsdfti.c: Likewise.
49084         * soft-fp/fixunssfdi.c: Likewise.
49085         * soft-fp/fixunssfsi.c: Likewise.
49086         * soft-fp/fixunssfti.c: Likewise.
49087         * soft-fp/fixunstfdi.c: Likewise.
49088         * soft-fp/fixunstfsi.c: Likewise.
49089         * soft-fp/fixunstfti.c: Likewise.
49090         * soft-fp/floatdidf.c: Likewise.
49091         * soft-fp/floatdisf.c: Likewise.
49092         * soft-fp/floatditf.c: Likewise.
49093         * soft-fp/floatsidf.c: Likewise.
49094         * soft-fp/floatsisf.c: Likewise.
49095         * soft-fp/floatsitf.c: Likewise.
49096         * soft-fp/floattidf.c: Likewise.
49097         * soft-fp/floattisf.c: Likewise.
49098         * soft-fp/floattitf.c: Likewise.
49099         * soft-fp/floatundidf.c: Likewise.
49100         * soft-fp/floatundisf.c: Likewise.
49101         * soft-fp/floatunditf.c: Likewise.
49102         * soft-fp/floatunsidf.c: Likewise.
49103         * soft-fp/floatunsisf.c: Likewise.
49104         * soft-fp/floatunsitf.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-15  Joseph Myers  <joseph@codesourcery.com>
49147         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49148         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49150 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49152         * elf/dl-libc.c: Clear initfini list after freeing.
49154 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49156         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49157         * soft-fp/addsf3.c: Likewise.
49158         * soft-fp/addtf3.c: Likewise.
49159         * soft-fp/divdf3.c: Likewise.
49160         * soft-fp/divsf3.c: Likewise.
49161         * soft-fp/divtf3.c: Likewise.
49162         * soft-fp/double.h: Likewise.
49163         * soft-fp/eqdf2.c: Likewise.
49164         * soft-fp/eqsf2.c: Likewise.
49165         * soft-fp/eqtf2.c: Likewise.
49166         * soft-fp/extenddftf2.c: Likewise.
49167         * soft-fp/extended.h: Likewise.
49168         * soft-fp/extendsfdf2.c: Likewise.
49169         * soft-fp/extendsftf2.c: Likewise.
49170         * soft-fp/extendxftf2.c: Likewise.
49171         * soft-fp/fixdfdi.c: Likewise.
49172         * soft-fp/fixdfsi.c: Likewise.
49173         * soft-fp/fixdfti.c: Likewise.
49174         * soft-fp/fixsfdi.c: Likewise.
49175         * soft-fp/fixsfsi.c: Likewise.
49176         * soft-fp/fixsfti.c: Likewise.
49177         * soft-fp/fixtfdi.c: Likewise.
49178         * soft-fp/fixtfsi.c: Likewise.
49179         * soft-fp/fixtfti.c: Likewise.
49180         * soft-fp/fixunsdfdi.c: Likewise.
49181         * soft-fp/fixunsdfsi.c: Likewise.
49182         * soft-fp/fixunsdfti.c: Likewise.
49183         * soft-fp/fixunssfdi.c: Likewise.
49184         * soft-fp/fixunssfsi.c: Likewise.
49185         * soft-fp/fixunssfti.c: Likewise.
49186         * soft-fp/fixunstfdi.c: Likewise.
49187         * soft-fp/fixunstfsi.c: Likewise.
49188         * soft-fp/fixunstfti.c: Likewise.
49189         * soft-fp/floatdidf.c: Likewise.
49190         * soft-fp/floatdisf.c: Likewise.
49191         * soft-fp/floatditf.c: Likewise.
49192         * soft-fp/floatsidf.c: Likewise.
49193         * soft-fp/floatsisf.c: Likewise.
49194         * soft-fp/floatsitf.c: Likewise.
49195         * soft-fp/floattidf.c: Likewise.
49196         * soft-fp/floattisf.c: Likewise.
49197         * soft-fp/floattitf.c: Likewise.
49198         * soft-fp/floatundidf.c: Likewise.
49199         * soft-fp/floatundisf.c: Likewise.
49200         * soft-fp/floatunsidf.c: Likewise.
49201         * soft-fp/floatunsisf.c: Likewise.
49202         * soft-fp/floatuntidf.c: Likewise.
49203         * soft-fp/floatuntisf.c: Likewise.
49204         * soft-fp/floatuntitf.c: Likewise.
49205         * soft-fp/fmadf4.c: Likewise.
49206         * soft-fp/fmasf4.c: Likewise.
49207         * soft-fp/fmatf4.c: Likewise.
49208         * soft-fp/gedf2.c: Likewise.
49209         * soft-fp/gesf2.c: Likewise.
49210         * soft-fp/getf2.c: Likewise.
49211         * soft-fp/ledf2.c: Likewise.
49212         * soft-fp/lesf2.c: Likewise.
49213         * soft-fp/letf2.c: Likewise.
49214         * soft-fp/muldf3.c: Likewise.
49215         * soft-fp/mulsf3.c: Likewise.
49216         * soft-fp/multf3.c: Likewise.
49217         * soft-fp/negdf2.c: Likewise.
49218         * soft-fp/negsf2.c: Likewise.
49219         * soft-fp/negtf2.c: Likewise.
49220         * soft-fp/op-1.h: Likewise.
49221         * soft-fp/op-2.h: Likewise.
49222         * soft-fp/op-4.h: Likewise.
49223         * soft-fp/op-8.h: Likewise.
49224         * soft-fp/op-common.h: Likewise.
49225         * soft-fp/quad.h: Likewise.
49226         * soft-fp/single.h: Likewise.
49227         * soft-fp/soft-fp.h: Likewise.
49228         * soft-fp/sqrtdf2.c: Likewise.
49229         * soft-fp/sqrtsf2.c: Likewise.
49230         * soft-fp/sqrttf2.c: Likewise.
49231         * soft-fp/subdf3.c: Likewise.
49232         * soft-fp/subsf3.c: Likewise.
49233         * soft-fp/subtf3.c: Likewise.
49234         * soft-fp/truncdfsf2.c: Likewise.
49235         * soft-fp/trunctfdf2.c: Likewise.
49236         * soft-fp/trunctfsf2.c: Likewise.
49237         * soft-fp/trunctfxf2.c: Likewise.
49238         * soft-fp/unorddf2.c: Likewise.
49239         * soft-fp/unordsf2.c: Likewise.
49240         * soft-fp/unordtf2.c: Likewise.
49242 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49244         [BZ #15672]
49245         * misc/error.c (error_tail): Fix possible buffer overflow.
49247 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49249         [BZ #13028]
49250         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49251         address.
49253 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49255         [BZ #832]
49256         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49257         testing pipefail option.
49259 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49261         * soft-fp/double.h: Indent preprocessor directives inside #if.
49262         * soft-fp/extended.h: Likewise.
49263         * soft-fp/op-2.h: Likewise.
49264         * soft-fp/op-4.h: Likewise.
49265         * soft-fp/op-common.h: Likewise.
49266         * soft-fp/quad.h: Likewise.
49267         * soft-fp/single.h: Likewise.
49268         * soft-fp/soft-fp.h: Likewise.
49270 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49272         * iconv/iconv_prog.c: Fix typos.
49273         * stdio-common/psiginfo-data.h: Likewise.
49275 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49277         [BZ #15764]
49278         * locale/setlocale.c: Fix typo.
49280 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49282         [BZ #16036]
49283         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49284         signaling NaN arguments.
49285         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49286         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49288         [BZ #14910]
49289         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49290         unordered operands.
49291         * soft-fp/gesf2.c (__gesf2): Likewise.
49292         * soft-fp/getf2.c (__getf2): Likewise.
49293         * soft-fp/ledf2.c (__ledf2): Likewise.
49294         * soft-fp/lesf2.c (__lesf2): Likewise.
49295         * soft-fp/letf2.c (__letf2): Likewise.
49297         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49298         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49299         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49300         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49301         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49302         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49303         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49304         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49305         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49306         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49307         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49308         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49309         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49310         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49311         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49312         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49313         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49314         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49315         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49316         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49317         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49318         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49319         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49320         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49321         * soft-fp/floattidf.c (__floattidf): Likewise.
49322         * soft-fp/floattisf.c (__floattisf): Likewise.
49323         * soft-fp/floattitf.c (__floattitf): Likewise.
49324         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49325         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49326         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49327         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49328         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49329         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49330         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49331         * soft-fp/gesf2.c (__gesf2): Likewise.
49332         * soft-fp/getf2.c (__getf2): Likewise.
49333         * soft-fp/ledf2.c (__ledf2): Likewise.
49334         * soft-fp/lesf2.c (__lesf2): Likewise.
49335         * soft-fp/letf2.c (__letf2): Likewise.
49337         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49338         Undefine and redefine.
49339         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49340         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49341         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49342         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49343         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49344         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49345         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49346         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49347         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49348         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49349         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49350         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49351         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49352         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49353         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49355         [BZ #16032]
49356         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49357         without decrementing exponent if mantissa >= that for the
49358         denominator, not >.
49359         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49360         denominator, not >.  Decrement exponent in < case instead of
49361         incrementing in >= case.
49362         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49363         without decrementing exponent if mantissa >= that for the
49364         denominator, not >.
49366         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49367         computing saturated result for unsigned overflow.
49369 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49370             Jeff Law  <law@redhat.com>
49372         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49373         (atan2Mp): Add systemtap probe marker.
49374         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49375         (__ieee754_log): Add systemtap probe marker.
49376         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49377         (atanMp): Add systemtap probe marker.
49378         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49379         (tanMp): Add systemtap probe marker.
49380         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49381         (__slowexp): Add systemtap probe marker.
49382         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49383         (__slowpow): Add systemtap probe marker.
49384         * manual/probes.texi: Document probes.
49386 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49388         [BZ #15362]
49389         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49390         written.
49391         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49392         written.
49393         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49394         written to buffer but not flushed.
49395         * libio/iofwrite_u.c:  Likewise.
49396         * libio/iopadn.c:  Return bytes returned even if EOF was
49397         encountered.
49398         * libio/iowpadn.c:  Likewise.
49399         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49400         if _IO_padn does not write the whole buffer.
49401         [!COMPILE_WPRINTF] (PAD): Likewise.
49403 2013-10-10  David S. Miller  <davem@davemloft.net>
49405         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49406         directory block.
49408 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49410         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49411         instead of FSF address.
49412         * soft-fp/fixdfti.c: Likewise.
49413         * soft-fp/fixsfti.c: Likewise.
49414         * soft-fp/fixtfti.c: Likewise.
49415         * soft-fp/fixunsdfti.c: Likewise.
49416         * soft-fp/fixunssfti.c: Likewise.
49417         * soft-fp/fixunstfti.c: Likewise.
49418         * soft-fp/floattidf.c: Likewise.
49419         * soft-fp/floattisf.c: Likewise.
49420         * soft-fp/floattitf.c: Likewise.
49421         * soft-fp/floatuntidf.c: Likewise.
49422         * soft-fp/floatuntisf.c: Likewise.
49423         * soft-fp/floatuntitf.c: Likewise.
49424         * soft-fp/trunctfxf2.c: Likewise.
49426         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49427         * soft-fp/fixdfti.c: Likewise.
49428         * soft-fp/fixsfti.c: Likewise.
49429         * soft-fp/fixtfti.c: Likewise.
49430         * soft-fp/fixunsdfti.c: Likewise.
49431         * soft-fp/fixunssfti.c: Likewise.
49432         * soft-fp/fixunstfti.c: Likewise.
49433         * soft-fp/floattidf.c: Likewise.
49434         * soft-fp/floattisf.c: Likewise.
49435         * soft-fp/floattitf.c: Likewise.
49436         * soft-fp/floatuntidf.c: Likewise.
49437         * soft-fp/floatuntisf.c: Likewise.
49438         * soft-fp/floatuntitf.c: Likewise.
49439         * soft-fp/trunctfxf2.c: Likewise.
49441 2013-10-10  David S. Miller  <davem@davemloft.net>
49443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49445 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49447         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49448         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49449         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49450         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49451         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49452         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49453         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49456         for NaNs before doing comparisons on argument.
49457         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49458         Likewise.
49460 2013-10-10  Will Newton  <will.newton@linaro.org>
49462         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49463         passed to _int_memalign does not overflow.
49465 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49467         * scripts/bench.pl: Add include-sources directive.
49468         * benchtests/README: Update documentation.
49470 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49472         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49473         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49474         instead of FP_INIT_ROUNDMODE.
49475         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49476         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49478         [BZ #16034]
49479         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49480         copy class of input value.
49481         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49482         not handle exceptions.
49483         * soft-fp/negsf2.c (__negsf2): Likewise.
49484         * soft-fp/negtf2.c (__negtf2): Likewise.
49485         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49487 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49489         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49490         semicolon.  From Linux kernel.
49492 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49494         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49496 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49498         [BZ #156]
49499         * manual/socket.texi: Added statement about buffer
49500         for gethostbyname2_r.
49502 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49504         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49505         Use .p2align directive instead, throughout.
49506         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49507         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49508         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49509         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49510         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49511         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49512         * sysdeps/x86_64/strchr.S: Likewise.
49513         * sysdeps/x86_64/strrchr.S: Likewise.
49515 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49519         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49521         * sysdeps/generic/math_private.h (__mpsin1): Remove
49522         declaration.
49523         (__mpcos1): Likewise.
49524         (__mpsin): New argument __range_reduce.
49525         (__mpcos): Likewise.
49526         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49527         (slow): Use __mpsin and __mpcos.
49528         (slow1): Likewise.
49529         (slow2): Likewise.
49530         (sloww): Likewise.
49531         (sloww1): Likewise.
49532         (sloww2): Likewise.
49533         (bsloww): Likewise.
49534         (bsloww1): Likewise.
49535         (bsloww2): Likewise.
49536         (cslow2): Likewise.
49537         (csloww): Likewise.
49538         (csloww1): Likewise.
49539         (csloww2): Likewise.
49540         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49541         range_reduce.  Merge in __mpsin1.
49542         (__mpcos): Likewise.
49543         (__mpsin1): Remove.
49544         (__mpcos1): Likewise.
49546 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49548         * locale/loadlocale.c (_nl_intern_locale_data): Use
49549         LOCFILE_ALIGNED_P.
49550         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49551         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49552         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49553         obstack data is appropriately aligned.
49554         (obstack_int32_grow_fast): Likewise.
49555         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49556         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49557         (add_locale_uint32_array): Likewise.
49559 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49561         * benchtests/Makefile: Remove ARGLIST and RET variables.
49562         ($(objpfx)bench-%.c): Pass only function name to the script.
49563         * benchtests/README: Update documentation.
49564         * benchtests/acos-inputs: Add new directives.
49565         * benchtests/acosh-inputs: Likewise.
49566         * benchtests/asin-inputs: Likewise.
49567         * benchtests/asinh-inputs: Likewise.
49568         * benchtests/atan-inputs: Likewise.
49569         * benchtests/atanh-inputs: Likewise.
49570         * benchtests/cos-inputs: Likewise.
49571         * benchtests/cosh-inputs: Likewise.
49572         * benchtests/exp-inputs: Likewise.
49573         * benchtests/log-inputs: Likewise.
49574         * benchtests/pow-inputs: Likewise.
49575         * benchtests/rint-inputs: Likewise.
49576         * benchtests/sin-inputs: Likewise.
49577         * benchtests/sinh-inputs: Likewise.
49578         * benchtests/tan-inputs: Likewise.
49579         * benchtests/tanh-inputs: Likewise.
49580         * scripts/bench.pl: Add support for new directives.
49582 2013-10-07  Alan Modra  <amodra@gmail.com>
49584         * README: Fix careless merge.
49586 2013-10-05  Alan Modra  <amodra@gmail.com>
49588         * NEWS: Mention powerpc64le support and bugs fixed.
49589         * README: Both big-endian and little-endian powerpc64 supported.
49591 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49593         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49594         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49595         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49596         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49598 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49600         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49601         match prototype.
49603 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49605         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49606         Move -mhard-float appending from
49607         ports/sysdeps/powerpc/powerpc32/Makefile.
49608         [$(with-fp) = yes] (ASFLAGS): Likewise.
49609         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49610         * sysdeps/powerpc/nofpu: Move directory from
49611         ports/sysdeps/powerpc/nofpu.
49612         * sysdeps/powerpc/soft-fp: Move directory from
49613         ports/sysdeps/powerpc/soft-fp.
49614         * sysdeps/powerpc/powerpc32/405: Move directory from
49615         ports/sysdeps/powerpc/powerpc32/405.
49616         * sysdeps/powerpc/powerpc32/440: Move directory from
49617         ports/sysdeps/powerpc/powerpc32/440.
49618         * sysdeps/powerpc/powerpc32/464: Move directory from
49619         ports/sysdeps/powerpc/powerpc32/464.
49620         * sysdeps/powerpc/powerpc32/476: Move directory from
49621         ports/sysdeps/powerpc/powerpc32/476.
49622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49623         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49625         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49627         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49629         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49631         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49632         * README: Update for powerpc-*-linux-gnu software floating point
49633         support in libc.
49635         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49636         case to powerpc/powerpc32*.
49637         * sysdeps/unix/sysv/linux/configure: Regenerated.
49639         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49640         (_FPU_MASK_OM): Define as 0x04.
49641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49643         0x00c10080.
49644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49645         0x0000003c.
49646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49649         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49650         getcontext_e500.
49651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49653         setcontext_e500.
49654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49655         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49656         and setcontext_e500.
49658 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49660         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49662 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49664         * manual/threads.texi (Default Thread Attributes): Fix typo.
49666 2013-10-04  Will Newton  <will.newton@linaro.org>
49668         * malloc/Makefile: Add tst-memalign.
49669         * malloc/tst-memalign.c: New file.
49671         * malloc/tst-posix_memalign.c: Add comments.
49672         (do_test): Add comments and call free on all potentially
49673         allocated pointers. Add space after cast.
49675         * malloc/tst-pvalloc.c: Add comments.
49676         (do_test): Add comments and call free on all potentially
49677         allocated pointers. Remove duplicate check for NULL pointer.
49678         Add space after cast.
49680         * malloc/tst-valloc.c: Add comments.
49681         (do_test): Add comments and call free on all potentially
49682         allocated pointers. Remove duplicate check for NULL pointer.
49683         Add space after cast.
49685 2013-10-04  Alan Modra  <amodra@gmail.com>
49687         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49688         Use stdint types in rather than __attribute__((mode())).
49689         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49691 2013-10-04  Alan Modra  <amodra@gmail.com>
49693         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49694         Correct handling of unaligned relocs for little-endian.
49695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49697 2013-10-04  Alan Modra  <amodra@gmail.com>
49699         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49700         * configure: Regenerate.
49701         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49702         * shlib-versions: Likewise.
49704 2013-10-04  Alan Modra  <amodra@gmail.com>
49706         * string/tester.c (test_memrchr): Increment reported test cycle.
49708 2013-10-04  Alan Modra  <amodra@gmail.com>
49710         * string/test-memcpy.c (do_one_test): When reporting errors, print
49711         string address and don't overrun end of string.
49713 2013-10-04  Alan Modra  <amodra@gmail.com>
49715         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49716         insrdi.  Make better use of reg selection to speed exit slightly.
49717         Schedule entry path a little better.  Remove useless "are we done"
49718         checks on entry to main loop.  Handle wrapping around zero address.
49719         Correct main loop count.  Handle single left-over word from main
49720         loop inline rather than by using loop_small.  Remove extra word
49721         case in loop_small caused by wrong loop count.  Add little-endian
49722         support.
49723         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49725         cache hint.
49726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49727         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49728         support.  Avoid rlwimi.
49729         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49731 2013-10-04  Alan Modra  <amodra@gmail.com>
49733         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49734         insrdi.  Formatting.
49735         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49736         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49737         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49738         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49739         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49740         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49742 2013-10-04  Alan Modra  <amodra@gmail.com>
49744         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49746         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49747         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49748         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49749         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49751         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49752         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49753         use of regs.  Use power7 mtocrf.  Tidy function tails.
49755 2013-10-04  Alan Modra  <amodra@gmail.com>
49757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49758         Formatting.  Consistently use rXXX register defines or rN defines.
49759         Use early exit labels that avoid restoring unused non-volatile regs.
49760         Make cr field use more consistent with rWORDn compares.  Rename
49761         regs used as shift registers for unaligned loop, using rN defines
49762         for short lifetime/multiple use regs.
49763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49765         addi 1,1,64 to pop stack frame.  Simplify return value code.
49766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49768 2013-10-04  Alan Modra  <amodra@gmail.com>
49770         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49771         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49772         rather than rlwimi.
49773         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49774         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49775         little-endian support.  Correct typos.
49776         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49777         rather than rlwimi.
49778         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49779         in loop and entry code to keep "and." results.
49780         (strchr): Add little-endian support.  Comment.  Move cntlzd
49781         earlier in tail.
49782         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49784 2013-10-04  Alan Modra  <amodra@gmail.com>
49786         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49787         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49788         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49789         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49791 2013-10-04  Alan Modra  <amodra@gmail.com>
49793         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49794         (rTMP): Define as r11.
49795         (strcmp): Add little-endian support.  Optimise tail.
49796         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49797         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49798         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49799         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49800         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49804 2013-10-04  Alan Modra  <amodra@gmail.com>
49806         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49807         little-endian support.  Remove unnecessary "are we done" tests.
49808         Handle "s" wrapping around zero and extremely large "size".
49809         Correct main loop count.  Handle single left-over word from main
49810         loop inline rather than by using small_loop.  Correct comments.
49811         Delete "zero" tail, use "end_max" instead.
49812         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49814 2013-10-04  Alan Modra  <amodra@gmail.com>
49816         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49817         support.  Don't branch over align.
49818         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49819         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49820         support.  Rearrange tmp reg use to suit.  Comment.
49821         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49823 2013-10-04  Alan Modra  <amodra@gmail.com>
49825         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49827 2013-10-04  Alan Modra  <amodra@gmail.com>
49829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49830         conditional form of branch and link when obtaining pc.
49831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49833 2013-10-04  Alan Modra  <amodra@gmail.com>
49835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49836         HIWORD/LOWORD.
49837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49840 2013-10-04  Alan Modra  <amodra@gmail.com>
49842         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49843         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49844         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49845         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49846         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49847         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49848         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49849         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49850         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49851         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49853 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49854             Alistair Popple <alistair@ozlabs.au.ibm.com>
49855             Alan Modra <amodra@gmail.com>
49857         [BZ #15723]
49858         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49859         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49860         _dl_hwcap access for little-endian.
49861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49862         destroy vmx regs when saving unaligned.
49863         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49864         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49865         destroy vmx regs when saving unaligned.
49867 2013-10-04  Alan Modra  <amodra@gmail.com>
49869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49870         Don't use a union to pack hi/low value.
49872 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49874         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49875         for little-endian.
49876         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49877         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49878         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49879         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49880         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49882 2013-10-04  Alan Modra  <amodra@gmail.com>
49884         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49885         constants to usual value for .cst8 section, and remove redundant
49886         high address load.
49887         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49888         constant for 0x1p52.  Load little-endian words of double from
49889         correct stack offsets.
49891 2013-10-04  Alan Modra  <amodra@gmail.com>
49893         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49894         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49895         words of double from correct stack offsets.
49896         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49897         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49898         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49899         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49900         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49901         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49902         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49903         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49904         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49907         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49908         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49910         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49911         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49912         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49914 2013-10-04  Alan Modra  <amodra@gmail.com>
49916         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49917         64-bit int/double union.
49918         (_FPU_SETCW): Likewise.
49919         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49920         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49922 2013-10-04  Alan Modra  <amodra@gmail.com>
49924         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49925         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49927 2013-10-04  Alan Modra  <amodra@gmail.com>
49929         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49930         use vector int constants.
49931         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49933 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49935         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49936         array with long long.
49937         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49938         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49939         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49940         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49941         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49942         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49943         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49944         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49945         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49946         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49947         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49948         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49949         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49951 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49953         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49954         (__signbit): Likewise.  Correct for little-endian.
49955         (__signbitl): Call __signbit.
49956         (lrint): Correct for little-endian.
49957         (lrintf): Call lrint.
49959 2013-10-04  Alan Modra  <amodra@gmail.com>
49961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49962         union 32-bit int array member with 64-bit int array.
49963         (t515, tm256): Double rather than long double.
49964         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49966 2013-10-04  Alan Modra  <amodra@gmail.com>
49968         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49969         Delete.
49970         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49971         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49972         version of math_ldbl.h.
49974 2013-10-04  Alan Modra  <amodra@gmail.com>
49976         [BZ #15734], [BZ #15735]
49977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49978         all uses of ieee875 long double macros and unions.  Simplify test
49979         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49980         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49981         normalize after ldbl_extract_mantissa, and don't add hidden bit
49982         already handled.  Don't treat low word of ieee854 mantissa like
49983         low word of IBM long double and mask off bit when testing for
49984         zero.
49985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49986         all uses of ieee875 long double macros and unions.  Simplify tests
49987         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49988         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49989         two1022, instead use their values.  Recognise that tests for large
49990         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49991         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49992         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49993         test for 0.0L and nan.  Correct negation.
49994         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49995         ieee875 long double macros and unions.  Correct output for large
49996         magnitude x.  Correct absolute value calculation.
49997         (__erfcl): Likewise.
49998         * math/libm-test.inc: Add tests for errors discovered in IBM long
49999         double versions of fmodl, remainderl, erfl and erfcl.
50001 2013-10-04  Alan Modra  <amodra@gmail.com>
50003         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50004         all uses of ieee854 long double macros and unions.  Simplify tests
50005         for long doubles that are fully specified by the high double.
50006         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50007         Likewise.
50008         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50009         Remove dead code too.
50010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50011         (__ieee754_ynl): Likewise.
50012         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50013         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50015         Remove dead code too.
50016         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50017         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50020         Simplify.
50021         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50022         Simplify.
50023         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50024         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50026         Comment on variable precision.
50027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50028         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50029         Likewise.
50030         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50031         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50032         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50033         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50034         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50036 2013-10-04  Alan Modra  <amodra@gmail.com>
50038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50039         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50040         all uses of ieee854 long double macros and unions.
50041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50043         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50044         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50045         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50047         Likewise.
50048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50050         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50051         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50052         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50053         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50054         Simplify sign and nan test too.
50055         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50056         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50057         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50059         Likewise.
50060         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50061         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50062         Likewise.
50063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50064         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50065         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50066         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50067         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50070 2013-10-04  Alan Modra  <amodra@gmail.com>
50072         * stdio-common/printf_size.c (__printf_size): Don't use
50073         union ieee854_long_double in fpnum union.
50074         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50075         signbit macro to retrieve sign from long double.
50076         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50077         retrieve sign from long double.
50078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50079         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50080         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50081         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50082         * math/test-misc.c (main): Don't use union ieee854_long_double.
50084 2013-10-04  Alan Modra  <amodra@gmail.com>
50086         [BZ #15680]
50087         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50088         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50089         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50090         calculation.  Remove unnecessary test for denormal exponent.
50091         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50092         Correct handling of denormals.  Avoid undefined shift behaviour.
50093         Correct normalisation of low mantissa when low double is denormal.
50094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50095         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50096         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50097         Correct normalisation of low mantissa.  Test for overflow of high
50098         mantissa and normalise.
50099         (ldbl_nearbyint): Use more readable constant for two52.
50100         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50101         (__mpn_construct_long_double): Fix test for overflow of high
50102         mantissa and correct normalisation.  Avoid undefined shift.
50104 2013-10-04  Alan Modra  <amodra@gmail.com>
50106         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50107         (union ibm_extended_long_double): Define as an array of ieee754_double.
50108         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50109         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50110         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50111         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50115         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50120 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50122         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50123         page size instead of calling getpagesize.
50125         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50126         (LOCFILE_ALIGN_MASK): Likewise.
50127         (LOCFILE_ALIGN_UP): Likewise.
50128         (LOCFILE_ALIGNED_P): Likewise.
50129         * locale/programs/ld-collate.c (collate_output): Use the new
50130         macros instead of __alignof__ (int32_t).
50131         * locale/weight.h (findidx): Likewise.
50133 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50135         [BZ #431]
50136         * manual/string.texi: Fix strncat and wcsncat.
50138 2013-10-03  Brooks Moses  <bmoses@google.com>
50140         [BZ #15915]
50141         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50142         * Makerules: ...here, and adjust associated comments.
50144 2013-10-02  Will Newton  <will.newton@linaro.org>
50146         * malloc/Makefile: Add tst-pvalloc.
50147         * malloc/tst-pvalloc.c: New file.
50149 2013-10-02  Will Newton  <will.newton@linaro.org>
50151         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50152         improve test coverage.
50154 2013-10-02  Will Newton  <will.newton@linaro.org>
50156         * malloc/Makefile: Add tst-posix_memalign.
50157         * malloc/tst-posix_memalign.c: New file.
50159 2013-10-01  Eric Blake  <eblake@redhat.com>
50161         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50162         Use __THROWNL rather than __THROW on static functions.
50164 2013-09-30  Petr Machata  <pmachata@redhat.com>
50166         * elf/elf.h (R_AARCH64_ABS16): New macro.
50167         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50168         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50169         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50170         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50171         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50172         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50173         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50174         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50175         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50176         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50177         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50178         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50179         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50180         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50181         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50182         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50183         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50184         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50185         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50186         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50187         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50188         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50189         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50190         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50191         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50192         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50193         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50194         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50195         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50196         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50197         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50198         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50199         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50200         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50201         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50202         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50203         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50204         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50205         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50206         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50207         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50208         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50209         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50210         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50211         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50212         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50213         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50214         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50215         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50216         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50217         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50218         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50219         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50220         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50221         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50222         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50223         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50224         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50225         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50226         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50227         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50228         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50229         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50230         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50231         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50232         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50233         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50234         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50235         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50236         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50237         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50238         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50239         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50240         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50241         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50242         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50243         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50244         (R_AARCH64_TLSDESC_LDR): Likewise.
50245         (R_AARCH64_TLSDESC_ADD): Likewise.
50246         (R_AARCH64_TLSDESC_CALL): Likewise.
50248 2013-09-30  Andreas Schwab  <schwab@suse.de>
50250         [BZ #15048]
50251         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50252         the nss database lookup.
50253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50256 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50258         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50260 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50262         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50263         ${Bash-specific parameter/pattern/string} parameter expansion.
50264         * sysdeps/unix/make-syscalls.sh: Likewise.
50266 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50268         * sysdeps/sh/stackguard-macros.h: New file.
50270 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50274         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50275         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50276         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50277         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50279 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50281         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50282         Fix thread ID register.
50284 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50286         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50287         [POSIX || UNIX98]: Require rather than permitting all symbols from
50288         <time.h>.
50289         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50290         element of struct sched_param.
50291         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50292         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50293         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50294         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50295         constant.
50297 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50299         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50300         argument calculation.
50302 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50304         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50305         Expect macro.
50306         [POSIX] (pthread_attr_t): Do not require type.
50307         [POSIX] (pthread_cond_t): Likewise.
50308         [POSIX] (pthread_condattr_t): Likewise.
50309         [POSIX] (pthread_key_t): Likewise.
50310         [POSIX] (pthread_mutex_t): Likewise.
50311         [POSIX] (pthread_mutexattr_t): Likewise.
50312         [POSIX] (pthread_once_t): Likewise.
50313         [POSIX] (pthread_t): Likewise.
50314         [POSIX-based standards] (pthread_atfork): Expect function.
50316 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50317             Richard Sandiford  <richard@codesourcery.com>
50319         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50320         (swap_endianness_p): New extern variable.
50321         (set_big_endian): New inline function.
50322         (maybe_swap_uint32): Likewise.
50323         (maybe_swap_uint32_array): Likewise.
50324         (maybe_swap_uint32_obstack): Likewise.
50325         * locale/programs/locfile.c: Include <stdbool.h>.
50326         (swap_endianness_p): New variable.
50327         (add_locale_uint32): Call maybe_swap_uint32.
50328         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50329         (write_locale_data): Call maybe_swap_uint32_array.
50330         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50331         maybe_swap_uint32.
50332         (obstack_int32_grow_fast): Likewise.
50333         (output_weightwc): Call maybe_swap_uint32_obstack.
50334         (collate_output): Likewise.
50335         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50336         (OPT_LITTLE_ENDIAN): Likewise.
50337         (options): Add --little-endian and --big-endian options.
50338         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50339         * locale/programs/locarchive.c: Include "locfile.h".
50340         (GET): New macro.
50341         (SET): Likewise.
50342         (INC): Likewise.
50343         (create_archive): Use the new macros to access fields of
50344         structures directly mapped from or written to locale archives.
50345         (oldlocrecentcmp): Likewise.
50346         (enlarge_archive): Likewise.
50347         (insert_name): Likewise.
50348         (add_alias): Likewise.
50349         (add_locale): Likewise.
50350         (delete_locales_from_archive): Likewise.
50351         (show_archive_content): Likewise.
50352         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50353         locale data.
50355 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50357         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50358         http://www.gnu.org/doc/freemanuals.texi.
50359         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50361 2013-09-24  Will Newton  <will.newton@linaro.org>
50363         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50364         macro.
50366 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50368         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50369         unsigned char.
50371 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50373         * manual/threads.texi (POSIX Threads): Fix a typo.
50375 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50377         [BZ #14547]
50378         * string/tst-strcoll-overflow.c: New test case.
50379         * string/Makefile (xtests): Add tst-strcoll-overflow.
50380         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50381         cache if string sizes may cause integer overflow.
50383         [BZ #14547]
50384         * string/strcoll_l.c (coll_seq): New members rule, idx,
50385         save_idx and back_us.
50386         (get_next_seq_nocache): New function.
50387         (do_compare_nocache): New function.
50388         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50389         when malloc fails.
50391 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50393         [BZ #15754]
50394         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50395         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50396         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50398         [BZ #15754]
50399         * elf/Makefile (tests): Add tst-ptrguard1.
50400         (tests-static): Add tst-ptrguard1-static.
50401         (tst-ptrguard1-ARGS): Define.
50402         (tst-ptrguard1-static-ARGS): Define.
50403         * elf/tst-ptrguard1.c: New file.
50404         * elf/tst-ptrguard1-static.c: New file.
50405         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50406         * sysdeps/i386/stackguard-macros.h: Likewise.
50407         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50408         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50409         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50410         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50411         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50412         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50414 2013-09-23  Hector Marco  <hecmargi@upv.es>
50415             Ismael Ripoll  <iripoll@disca.upv.es>
50416             Carlos O'Donell  <carlos@redhat.com>
50418         [BZ #15754]
50419         * sysdeps/generic/stackguard-macros.h: Define
50420         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50421         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50422         Define __pointer_chk_guard_local.
50423         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50424         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50426 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50428         [BZ #15859]
50429         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50431 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50433         * include/string.h (__ffs): Declare as hidden.
50434         * string/ffs.c (__ffs): Define as hidden.
50435         * sysdeps/i386/ffs.c (__ffs): Likewise.
50436         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50437         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50438         * sysdeps/s390/ffs.c (__ffs): Likewise.
50439         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50441 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50443         * NEWS: Mention malloc probes.
50445         * malloc/arena.c (new_heap): New memory_heap_new probe.
50446         (grow_heap): New memory_heap_more probe.
50447         (shrink_heap): New memory_heap_less probe.
50448         (heap_trim): New memory_heap_free probe.
50449         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50450         (systrim): New memory_sbrk_less probe.
50451         * manual/probes.texi: Document them.
50453         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50454         * manual/probes.texi: Document it.
50456         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50457         (__libc_realloc): Add memory_realloc_retry probe.
50458         (__libc_memalign): Add memory_memalign_retry probe.
50459         (__libc_valloc): Add memory_valloc_retry probe.
50460         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50461         (__libc_calloc): Add memory_calloc_retry probe.
50462         * manual/probes.texi: Document them.
50464         * malloc/arena.c (get_free_list): Add probe
50465         memory_arena_reuse_free_list.
50466         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50467         and memory_arena_reuse.
50468         (arena_get2) [!PER_THREAD]: Likewise.
50469         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50470         memory_arena_reuse_realloc.
50471         * manual/probes.texi: Document them.
50473         * malloc/malloc.c (__libc_free): Add
50474         memory_mallopt_free_dyn_thresholds probe.
50475         (__libc_mallopt): Add multiple memory_mallopt probes.
50476         * manual/probes.texi: Document them.
50478         * malloc/malloc.c: Include stap-probe.h.
50479         (__libc_mallopt): Add memory_mallopt probe.
50480         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50481         * manual/probes.texi: New.
50482         * manual/Makefile (chapters): Add probes.
50483         * manual/threads.texi: Set next node.
50485 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50487         [BZ #15963, #13985]
50488         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50489         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50490         Add `Chinese' to `nan' entry name.
50492 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50494         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50495         (POLYNOMIAL): Likewise.
50496         (TAYLOR_SINCOS): Likewise.
50497         (TAYLOR_SLOW): Likewise.
50498         (__sin): Use TAYLOR_SINCOS.
50499         (__cos): Likewise.
50500         (slow): Use TAYLOR_SLOW.
50501         (sloww): Likewise.
50502         (bsloww): Likewise.
50503         (csloww): Likewise.
50505 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50507         * stdlib/strtod_l.c: Fix buffer overrun.
50509 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50511         * benchtests/Makefile (bench): Add sincos.
50512         * benchtests/bench-sincos.c: New file.
50514         * math/libm-test.inc (cos_test_data): New test inputs.
50515         (sin_test_data): Likewise.
50517         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50518         macro.
50519         (__sin): Use it.
50520         (__cos): Likewise.
50521         (slow1): Likewise.
50522         (slow2): Likewise.
50523         (sloww1): Likewise.
50524         (sloww2): Likewise.
50525         (bsloww1): Likewise.
50526         (bsloww2): Likewise.
50527         (cslow2): Likewise.
50528         (csloww1): Likewise.
50529         (csloww2): Likewise.
50531         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50532         function.
50533         (__sin): Use it.
50534         (__cos): Likewise.
50536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50537         gotos.
50538         (__cos): Likewise.
50540 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50542         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50543         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50544         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50545         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50546         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50547         * elf/cache.c (print_entry): Handle the new cache flags.
50549 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50550             Aldy Hernandez  <aldyh@redhat.com>
50552         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50553         Change condition to [_SOFT_FLOAT].
50554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50566         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50569         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50570         declaration.
50572 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50574         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50575         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50576         (__longjmp): Use LOAD_GP to load saved GPRs.
50577         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50578         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50579         (__sigsetjmp): Use SAVE_GP to save GPRs.
50581         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50582         Do not append -msoft-float.
50583         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50585 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50587         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50589 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50591         [BZ #15966]
50592         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50593         (_FPU_GETCW): Use initial "__" on variable and field names but not
50594         on macro parameter name.
50595         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50596         parentheses around reference to macro parameter.
50598 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50600         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50601         prototype.
50602         (ctype_startup): Use uint32_t in cast and sizeof for
50603         ctype->charnames.
50605 2013-09-11  Jia Liu  <proljc@gmail.com>
50607         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50608         __daddr_t_defined.
50609         [__FreeBSD__]: Likewise.
50611 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50614         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50615         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50616         (strchr): Remove __strchr_sse42 ifunc selection.
50617         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50618         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50620 2013-09-11  Will Newton  <will.newton@linaro.org>
50622         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50623         parameter to RES. Remove hardcoded 1000 value.
50624         * benchtests/bench-skeleton.c (main): Pass RES parameter
50625         to TIMING_INIT and multiply result by 1000.
50627 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50631 2013-09-11  Andreas Schwab  <schwab@suse.de>
50633         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50634         if not defined.
50635         (O_TMPFILE) [__USE_GNU]: Define.
50636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50637         Define.
50639 2013-09-11  Will Newton  <will.newton@linaro.org>
50641         [BZ #15857]
50642         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50643         does not overflow.
50645 2013-09-11  Will Newton  <will.newton@linaro.org>
50647         [BZ #15856]
50648         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50649         does not overflow.
50651 2013-09-11  Will Newton  <will.newton@linaro.org>
50653         [BZ #15855]
50654         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50655         does not overflow.
50657 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50659         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50660         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50661         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50662         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50663         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50665 2013-09-10  Allan McRae  <allan@archlinux.org>
50667         [BZ #15748]
50668         * manual/arith.texi (Parsing of Floats): Clarify
50669         cross-reference.
50671         [BZ #15849]
50672         * manual/install.texi (Running make install): Mention
50673         --enable-pt-chown.
50674         * INSTALL: Regenerated.
50676 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50678         * csu/init-first.c (_init): Remove the !SHARED condition around
50679         FPU control word initialization.
50680         * elf/dl-support.c (_dl_fpu_control): New variable.
50681         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50682         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50683         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50684         * math/test-fpucw-static.c: New file.
50685         * math/test-fpucw-ieee.c: New file.
50686         * math/test-fpucw-ieee-static.c: New file.
50687         * math/Makefile (tests): Add `test-fpucw-ieee' and
50688         `$(tests-static)'.
50689         (tests-static): New variable.
50690         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50691         dependency to...
50692         [($(build-shared),yes)]
50693         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50694         ... this.
50695         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50696         New dependency.
50698 2013-09-09  Allan McRae  <allan@archlinux.org>
50700         [BZ #15939]
50701         * manual/string.texi (Collation Functions): Fix typo in
50702         strcoll example.
50703         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50705         [BZ #15893]
50706         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50708         [BZ #15892]
50709         * libio/memstream.c (open_memstream): Fix memory leak.
50710         * libio/wmemstream.c (open_wmemstream): Likewise.
50712         [BZ #15895]
50713         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50715 2013-09-09  Will Newton  <will.newton@linaro.org>
50717         * malloc/Makefile: Add tst-realloc to tests.
50718         * malloc/tst-realloc.c: New file.
50720 2013-09-09  Allan McRae  <allan@archlinux.org>
50722         [BZ #15844]
50723         * COPYING: Update from GNU website to fix FSF address.
50724         * COPYING.LIB: Likewise.
50726 2013-09-06  David S. Miller  <davem@davemloft.net>
50728         * po/zh_TW.po: Update Chinese (traditional) translation from
50729         translation project.
50731 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50732             Joseph Myers  <joseph@codesourcery.com>
50734         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50735         "localeinfo.h".
50736         (obstack_chunk_alloc): New macro.
50737         (obstack_chunk_free): Likewise.
50738         (record_offset): New function.
50739         (init_locale_data): Likewise.
50740         (align_locale_data): Likewise.
50741         (add_locale_empty): Likewise.
50742         (add_locale_raw_data): Likewise.
50743         (add_locale_raw_obstack): Likewise.
50744         (add_locale_string): Likewise.
50745         (add_locale_wstring): Likewise.
50746         (add_locale_uint32): Likewise.
50747         (add_locale_uint32_array): Likewise.
50748         (add_locale_char): Likewise.
50749         (start_locale_structure): Likewise.
50750         (end_locale_structure): Likewise.
50751         (start_locale_prelude): Likewise.
50752         (end_locale_prelude): Likewise.
50753         (write_locale_data): Take locale_file structure rather than an
50754         iovec.
50755         * locale/programs/locfile.h: Include "obstack.h".
50756         (struct locale_file): Change to store locale file contents instead
50757         of header.
50758         (init_locale_data): New prototype.
50759         (align_locale_data): Likewise.
50760         (add_locale_empty): Likewise.
50761         (add_locale_raw_data): Likewise.
50762         (add_locale_raw_obstack): Likewise.
50763         (add_locale_string): Likewise.
50764         (add_locale_wstring): Likewise.
50765         (add_locale_uint32): Likewise.
50766         (add_locale_uint32_array): Likewise.
50767         (add_locale_char): Likewise.
50768         (start_locale_structure): Likewise.
50769         (end_locale_structure): Likewise.
50770         (start_locale_prelude): Likewise.
50771         (end_locale_prelude): Likewise.
50772         (write_locale_data): Update prototype.
50773         * locale/programs/3level.h (struct TABLE): Remove result field.
50774         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50775         Use new locale_file interface.
50776         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50777         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50778         * locale/programs/ld-address.c (address_output): Use new
50779         locale_file interface.
50780         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50781         NO_ADD_LOCALE.
50782         (collate_finish): Don't call collseq_table_finalize.
50783         (collate_output): Use new locale_file interface.
50784         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50785         in file.
50786         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50787         (TABLE): Move defines earlier in file.
50788         (ELEMENT): Likewise.
50789         (DEFAULT): Likewise.
50790         (wctrans_table_add): Move macro and inline function earlier in
50791         file.
50792         (struct wctype_table): Move type earlier in file.
50793         (add_locale_wctype_table): New static prototype.
50794         (struct locale_ctype_t): Use logical types instead of struct iovec
50795         pointers for members.
50796         (ctype_output): Use new locale_file interface.
50797         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50798         new locale_file interface.
50799         (allocate_arrays): Update for use of new locale_file interface.
50800         * locale/programs/ld-identification.c (identification_output): Use
50801         new locale_file interface.
50802         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50803         * locale/programs/ld-messages.c (messages_output): Likewise.
50804         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50805         * locale/programs/ld-name.c (name_output): Likewise.
50806         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50807         * locale/programs/ld-paper.c (paper_output): Likewise.
50808         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50809         * locale/programs/ld-time.c (time_output): Likewise.
50811 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50813         * benchtests/Makefile: Add memrchr benchmark.
50814         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50815         benchmark as memrchr.
50816         * benchtests/bench-memrchr-ifunc.c: New file.
50817         * benchtests/bench-memrchr.c: New file.
50819 2013-09-06   Will Newton  <will.newton@linaro.org>
50821         * benchtests/Makefile (string-bench): Add memcpy.
50823 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50824             Cong Wang  <amwang@redhat.com>
50826         [BZ #15850]
50827         * sysdeps/unix/sysv/linux/bits/in.h
50828         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50829         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50830         before __USE_KERNEL_IPV6_DEFS uses.
50831         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50832         IPPROTO_BEETPH.
50833         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50834         sockaddr_in6, or ipv6_mreq.
50836 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50838         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50839         memory access for final bytes in some large inputs.
50840         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50842 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50844         * string/test-memrchr.c: New file.
50845         * string/test-memrchr-ifunc.c: New file.
50846         * string/Makefile: Add new memrchr testcase.
50848 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50850         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50851         fanotify_init returns EPERM.
50853 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50855         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50856         errors.
50857         (top level): Treat second token from macro or constant entries for
50858         allowed headers as allowed.
50859         * include/complex.h: Condition internal declarations on
50860         [!_ISOMAC].
50861         * include/fenv.h: Condition include of <stdbool.h> and internal
50862         declarations on [!_ISOMAC].
50864 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50866         [BZ #15923]
50867         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50869 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50871         * configure.in (--enable-versioning): Remove configure option.
50872         (libc_cv_asm_symver_directive): Remove configure test.
50873         (libc_cv_ld_version_script_option): Likewise.
50874         (VERSIONING): Remove variable and AC_SUBST.
50875         (DO_VERSIONING): Remove AC_DEFINE.
50876         * configure: Regenerated.
50877         * config.h.in (DO_VERSIONING): Remove macro.
50878         * Makerules [$(versioning) = yes]: Change conditionals to
50879         [$(build-shared) = yes].
50880         * config.make.in (versioning): Remove variable.
50881         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50882         [$(build-shared) = yes].
50883         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50884         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50885         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50886         [$(build-shared) = yes].
50887         * extra-lib.mk [$(versioning) = yes]: Likewise.
50888         * hurd/Makefile [$(versioning) = yes]: Likewise.
50889         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50890         [SHARED].
50891         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50892         [SHARED].
50893         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50894         [SHARED && !NO_HIDDEN].
50895         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50896         [SHARED].
50897         [SHARED && DO_VERSIONING]: Likewise..
50898         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50899         [$(build-shared) = yes].
50900         * manual/install.texi (--disable-versioning): Remove
50901         documentation.
50902         * INSTALL: Regenerated.
50903         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50904         to [SHARED].
50905         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50906         [$(build-shared) = yes].
50907         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50908         * sysdeps/i386/i686/multiarch/strstr-c.c
50909         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50910         [SHARED && !NO_HIDDEN].
50911         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50912         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50913         * sysdeps/powerpc/powerpc32/dl-machine.c
50914         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50915         * sysdeps/powerpc/powerpc32/sysdep.h
50916         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50917         to [SHARED && PIC && !NO_HIDDEN].
50918         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50919         conditional to [SHARED].
50921 2013-09-04   Will Newton  <will.newton@linaro.org>
50923         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50924         * benchtests/bench-string.h: Include bench-timing.h instead
50925         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50926         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50927         call to HP_TIMING_DIFF_INIT.
50928         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50929         instead of hp-timing.h macros.
50930         * benchtests/bench-memchr.c: Likewise.
50931         * benchtests/bench-memcmp.c: Likewise.
50932         * benchtests/bench-memcpy.c: Likewise.
50933         * benchtests/bench-memmem.c: Likewise.
50934         * benchtests/bench-memmove.c: Likewise.
50935         * benchtests/bench-memset.c: Likewise.
50936         * benchtests/bench-rawmemchr.c: Likewise.
50937         * benchtests/bench-strcasecmp.c: Likewise.
50938         * benchtests/bench-strcasestr.c: Likewise.
50939         * benchtests/bench-strcat.c: Likewise.
50940         * benchtests/bench-strchr.c: Likewise.
50941         * benchtests/bench-strcmp.c: Likewise.
50942         * benchtests/bench-strcpy.c: Likewise.
50943         * benchtests/bench-strcpy_chk.c: Likewise.
50944         * benchtests/bench-strlen.c: Likewise.
50945         * benchtests/bench-strncasecmp.c: Likewise.
50946         * benchtests/bench-strncat.c: Likewise.
50947         * benchtests/bench-strncmp.c: Likewise.
50948         * benchtests/bench-strncpy.c: Likewise.
50949         * benchtests/bench-strnlen.c: Likewise.
50950         * benchtests/bench-strpbrk.c: Likewise.
50951         * benchtests/bench-strrchr.c: Likewise.
50952         * benchtests/bench-strspn.c: Likewise.
50953         * benchtests/bench-strstr.c: Likewise.
50955 2013-09-04  Will Newton  <will.newton@linaro.org>
50957         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50959 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50961         [BZ #15427]
50962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50963         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50964         * math/libm-test.inc (lgamma_test_data): Add more tests.
50965         * sysdeps/i386/fpu/libm-test-ulps: Update.
50966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50968 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50970         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50972         Add ifunc.
50973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50974         Add strcmp-sse2-unaligned
50975         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50977 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50979         * Versions.def (libc): Add GLIBC_2.19.
50981 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50983         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50984         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50986 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50988         [BZ #14155]
50989         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50990         intermediate calculations in recurrence.
50991         (__ieee754_ynf): Likewise.
50992         * math/libm-test.inc (jn_test_data): Do not allow spurious
50993         underflow exception.  Add more tests.
50994         (yn_test_data): Add more tests.
50995         * sysdeps/i386/fpu/libm-test-ulps: Update.
50996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51000         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51002 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51004         * csu/init-first.c: Fix then/than typos.
51005         * locale/programs/ld-collate.c: Likewise.
51006         * locale/programs/linereader.h: Likewise.
51007         * manual/charset.texi: Likewise.
51008         * manual/filesys.texi: Likewise.
51009         * manual/stdio.texi: Likewise.
51010         * manual/string.texi: Likewise.
51011         * stdlib/fmtmsg.c: Likewise.
51012         * sysdeps/i386/stpncpy.S: Likewise.
51013         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51014         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51016         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51018 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51020         * elf/dl-open.c: Fix typos.
51021         * iconvdata/gbbig5.c: Likewise.
51022         * iconvdata/iso-2022-jp.c: Likewise.
51023         * iconv/gconv_int.h: Likewise.
51024         * iconv/loop.c: Likewise.
51025         * nis/rpcsvc/nis.h: Likewise.
51026         * resolv/ns_name.c: Likewise.
51027         * stdio-common/vfscanf.c: Likewise.
51028         * streams/stropts.h: Likewise.
51029         * sunrpc/rpc_thread.c: Likewise.
51030         * sysdeps/i386/strpbrk.S: Likewise.
51031         * sysdeps/ieee754/k_standard.c: Likewise.
51032         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51033         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51034         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51035         * sysdeps/mach/hurd/profil.c: Likewise.
51036         * sysdeps/s390/dl-procinfo.h: Likewise.
51037         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51038         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51039         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51040         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51043 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51045         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51048 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51051         aix specific files.
51052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51053         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51054         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51055         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51056         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51057         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51058         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51059         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51061 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51062             Roland McGrath  <roland@hack.frob.com>
51064         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51065         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51067 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51069         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51070         __executable_start symbol instead of _start.
51072 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51074         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51075         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51076         Move macros to...
51077         * sysdeps/gnu/ldsodefs.h: ... this new file.
51079         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51080         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51081         instead of ELFOSABI_LINUX.
51083         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51084         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51085         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51086         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51087         Likewise.
51088         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51089         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51090         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51091         Likewise.
51092         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51093         (ibm_extended_long_double): Add ieee_nan member.
51094         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51095         (do_test): New function.
51097         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51098         TEST_TRUNC.
51099         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51100         functions, renamed from truncdfsf_test, trunctfsf_test,
51101         trunctfdf_test.
51102         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51103         functions.
51104         (do_test): Run all these.
51106 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51108         * argp/argp-help.c: Fix typos.
51109         * argp/argp-parse.c: Likewise.
51110         * debug/backtracesyms.c: Likewise.
51111         * elf/elf.h: Likewise.
51112         * malloc/malloc.c: Likewise.
51113         * nis/nis_print.c: Likewise.
51114         * resolv/res_comp.c: Likewise.
51115         * stdlib/stdlib.h: Likewise.
51116         * sunrpc/clnt_tcp.c: Likewise.
51117         * sunrpc/clnt_udp.c: Likewise.
51118         * sunrpc/clnt_unix.c: Likewise.
51119         * sysdeps/unix/bsd/ptsname.c: Likewise.
51120         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51121         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51123         Likewise.
51124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51125         Likewise.
51126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51127         Likewise.
51128         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51130 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51132         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51135 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51137         [BZ #15897]
51138         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51139         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51140         ($(objpfx)bug-dl-leaf): New rule.
51141         ($(objpfx)bug-dl-leaf.so): Likewise.
51142         ($(objpfx)bug-dl-leaf.out): Likewise.
51143         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51144         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51145         * dlfcn/bug-dl-leaf.c: New test.
51146         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51147         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51148         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51149         (dlclose): Likewise.
51150         (dlmopen): Likewise.
51152 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51154         * include/netdb.h [!_ISOMAC]:
51155         Don't include <tls.h>.
51156         (h_errno, __libc_h_errno): Move declaration and macros out of
51157         [_LIBC_REENTRANT].
51159         * include/resolv.h [_RESOLV_H_]:
51160         Don't include <tls.h>.
51161         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51162         * resolv/res_libc.c: Don't include <tls.h>.
51163         (_res): Use __attribute__ ((nocommon)) in place of
51164         __attribute__ ((section (".bss"))).
51166         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51167         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51169         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51171         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51172         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51174         * resolv/res_mkquery.c: Include <sys/time.h>.
51176         * inet/ifreq.c: Moved to ...
51177         * sysdeps/unix/ifreq.c: ... here.
51178         * inet/ifreq.c: New file, true stub version.
51180         * socket/sa_len.c: New file.
51181         * socket/Makefile (aux): Add it.
51182         * sysdeps/unix/sysv/linux/Makefile
51183         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51184         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51185         and #include <socket/sa_len.c>.
51186         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51187         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51190         * bits/socket.h: ... here.
51192         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51193         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51194         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51196 2013-08-27  Andreas Schwab  <schwab@suse.de>
51198         [BZ #15736]
51199         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51200         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51201         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51202         * string/test-strcasecmp.c (test_main): Run tests in several
51203         locales.
51204         * string/test-strncasecmp.c (test_main): Likewise.
51206         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51207         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51208         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51210         (__strncasecmp_ssse3) [PIC]: Likewise.
51212 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51214         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51216         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51217         instead of explicitly declaring xdecrypt.
51218         * nis/nss_nis/nis-publickey.c: Likewise.
51220 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51222         [BZ #15890]
51223         * nscd/aicache.c: Include res_hconf.h.
51224         (addhstaiX): Initialize res_hconf.
51226 2013-08-26  Andreas Schwab  <schwab@suse.de>
51228         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51229         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51231 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51233         * nscd/aicache.c (addhstaiX): Fix indentation.
51235 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51237         * configure.ac: Quote $build_pt_chown test.
51238         * configure: Regenerated.
51240 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51242         [BZ #15532]
51243         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51244         * math/s_cexpf.c (__cexpf): Likewise.
51245         * math/s_cexpl.c (__cexpl): Likewise.
51246         * math/libm-test.inc (cexp_test_data): Correct expected return
51247         value for NaN + i0.  Add another test.
51249 2013-08-22  David S. Miller  <davem@davemloft.net>
51251         * po/ca.po: Update Catalan translation from translation project.
51252         * po/uk.po: Add Ukrainian translations from translation project.
51254 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51256         [BZ #15797]
51257         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51258         is infinite, not alongside NaN test.
51259         * math/s_fdimf.c (__fdimf): Likewise.
51260         * math/s_fdiml.c (__fdiml): Likewise.
51261         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51262         errno is unchanged.
51264 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51266         * argp/argp-help.c: Fix typos.
51267         * crypt/speeds.c: Likewise.
51268         * csu/check_fds.c: Likewise.
51269         * elf/dl-load.c: Likewise.
51270         * elf/dl-open.c: Likewise.
51271         * elf/reldep3.c: Likewise.
51272         * elf/reldep.c: Likewise.
51273         * elf/sprof.c: Likewise.
51274         * iconv/iconv_charmap.c: Likewise.
51275         * iconv/skeleton.c: Likewise.
51276         * iconv/strtab.c: Likewise.
51277         * io/lockf64.c: Likewise.
51278         * libio/libioP.h: Likewise.
51279         * resolv/gai_notify.c: Likewise.
51280         * resolv/ns_name.c: Likewise.
51281         * resolv/ns_samedomain.c: Likewise.
51282         * resolv/res_send.c: Likewise.
51283         * stdlib/random.c: Likewise.
51284         * sunrpc/rpc/xdr.h: Likewise.
51285         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51286         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51287         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51288         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51289         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51292         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51293         * sysdeps/mach/hurd/check_fds.c: Likewise.
51294         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51295         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51296         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51298         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51299         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51300         * sysdeps/pthread/aio_notify.c: Likewise.
51301         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51302         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51303         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51305         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51307 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51309         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51310         version if bit_Slow_SSE4_2 is set.
51311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51312         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51314 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51316         [BZ #15867]
51317         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51318         trampoline stack frame information.
51319         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51320         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51321         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51322         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51323         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51324         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51325         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51326         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51327         sa_flags value.
51328         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51329         interrupting a syscall and set with option SA_SIGINFO.
51331 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51333         [BZ #15531]
51334         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51335         argument is infinite.
51336         * math/s_cprojf.c (__cprojf): Likewise.
51337         * math/s_cprojl.c (__cprojl): Likewise.
51338         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51339         * math/libm-test.inc (cproj_test_data): Add more tests.
51341         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51343         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51344         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51345         size.  Use __ffs to determine corresponding shift.
51347 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51348             Roland McGrath  <roland@hack.frob.com>
51350         * Makefile (INSTALL): Remove trailing blank lines from output of
51351         makeinfo.
51353 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51355         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51356         Align 32 bit compat elf_greg to 8 bytes.
51358 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51360         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51362 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51364         * string/strcoll_l.c (coll_seq): New structure.
51365         (get_next_seq_cached): New function.
51366         (get_next_seq): New function.
51367         (do_compare): New function.
51368         (STRCOLL): Use GNU style definition.  Simplify implementation
51369         by using get_next_seq, get_next_seq_cached and do_compare.
51371 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51373         [BZ #14699]
51374         CVE-2013-4237
51375         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51376         member.
51377         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51378         member.
51379         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51380         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51381         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51382         conditional.
51383         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51384         GETDENTS_64BIT_ALIGNED.
51385         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51386         * manual/filesys.texi (Reading/Closing Directory): Document
51387         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51388         strongly.
51389         * manual/conf.texi (Limits for Files): Add portability note to
51390         NAME_MAX, PATH_MAX.
51391         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51393 2013-08-13  Andreas Schwab  <schwab@suse.de>
51395         [BZ #15749]
51396         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51397         of fabs.
51398         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51399         LDBL_MAX_EXP >= 16384]: Add tests for it.
51401 2013-08-12  David S. Miller  <davem@davemloft.net>
51403         * version.h (RELEASE): Set to "development".
51404         (VERSION): Set to "2.18.90".
51405         * NEWS: Add 2.19 section.
51407 2013-08-03  David S. Miller  <davem@davemloft.net>
51409         * po/ko.po: Update Korean translation from translation project.
51411 2013-08-01  David S. Miller  <davem@davemloft.net>
51413         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51414         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51415         Bilka.
51417 2013-07-30  David S. Miller  <davem@davemloft.net>
51419         * po/fr.po: Update French translation from translation project.
51421 2013-07-28  David S. Miller  <davem@davemloft.net>
51423         * po/cs.po: Update Czech translation from translation project.
51425         * po/sv.po: Update Swedish translation from translation project.
51427 2013-07-27  David S. Miller  <davem@davemloft.net>
51429         * po/eo.po: Update Esperanto translation from translation project.
51431         * po/vi.po: Update Vietnamese translation from translation project.
51433         * po/de.po: Update German translation from translation project.
51435 2013-07-26  David S. Miller  <davem@davemloft.net>
51437         * po/bg.po: Update Bulgarian translation from translation project.
51439         * po/nl.po: Update Dutch translation from translation project.
51440         * po/pl.po: Update Polish translation from translation project.
51441         * po/ru.po: Update Russian translation from translation project.
51443 2013-07-24  David S. Miller  <davem@davemloft.net>
51445         * po/libc.pot: Update.
51447 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51449         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51450         variable page size.
51451         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51452         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51453         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51455 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51457         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51459 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51460             Andreas Schwab  <schwab@suse.de>
51461             Roland McGrath  <roland@hack.frob.com>
51462             Joseph Myers  <joseph@codesourcery.com>
51463             Carlos O'Donell  <carlos@redhat.com>
51465         [BZ #15755]
51466         * config.h.in: Define HAVE_PT_CHOWN.
51467         * config.make.in (build-pt-chown): New variable.
51468         * configure.in (--enable-pt_chown): New configure option.
51469         * configure: Regenerate.
51470         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51471         build-pt-chown is enabled.
51472         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51473         pt_chown to fix pty ownership.
51474         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51475         CLOSE_ALL_FDS.
51476         * manual/install.texi (Configuring and compiling): Mention
51477         --enable-pt_chown. Add @findex for grantpt.
51478         * INSTALL: Regenerate.
51480 2013-07-20  David S. Miller  <davem@davemloft.net>
51482         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51483         difference between 32-bit and 64-bit.
51485 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51487         [BZ #15711]
51488         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51489         Avoid system header dependency with -ffreestanding.
51490         ($(objpfx)bits/syscall%d): Likewise.
51492 2013-07-13  David S. Miller  <davem@davemloft.net>
51494         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51495         underflows from atanl/atan2l due to bug 15319.
51496         (casinh_test_data): Likewise.
51498 2013-07-07  David S. Miller  <davem@davemloft.net>
51500         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51502 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51504         * sysdeps/i386/fpu/libm-test-ulps: Update.
51505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51507 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51509         * configure.in (--enable-lock-elision): Fix message text.
51510         * INSTALL: Regenerate.
51511         * configure: Regenerate.
51513 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51517 2013-07-03  Andreas Jaeger  <aj@suse.de>
51519         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51520         define.
51521         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51522         (ptrace_peeksiginfo_args): Add.
51523         (__ptrace_peeksiginfo_flags): Add.
51524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51528 2013-07-03  Allan McRae  <allan@archlinux.org>
51530         * sysdeps/i386/fpu/libm-test-ulps: Update.
51532 2013-07-02  David S. Miller  <davem@davemloft.net>
51534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51536 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51540 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51542         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51545 2013-07-02  Andi Kleen <ak@linux.intel.com>
51547         * config.h.in (ENABLE_LOCK_ELISION): Add.
51548         * configure.in (--enable-lock-elision): Add option.
51549         * manual/install.texi: Document --enable lock elision.
51550         * configure: Regenerate
51551         * INSTALL: Regenerate.
51553 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51555         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51556         SSE4.2 strcasecmp for libc.a.
51557         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51559 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51561         [BZ #13304]
51562         * soft-fp/op-common.h (_FP_FMA): New macro.
51563         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51564         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51565         (_FP_MUL_MEAT_1_imm): ... here.
51566         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51567         (_FP_MUL_MEAT_1_wide): ... here.
51568         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51569         (_FP_MUL_MEAT_1_hard): ... here.
51570         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51571         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51572         (_FP_MUL_MEAT_2_wide): ... here.
51573         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51574         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51575         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51576         (_FP_MUL_MEAT_2_gmp): ... here.
51577         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51578         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51579         (_FP_MUL_MEAT_4_wide): ... here.
51580         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51581         (_FP_MUL_MEAT_4_gmp): ... here.
51582         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51583         (_FP_WFRACBITS_DW_S): Likewise.
51584         (_FP_WFRACXBITS_DW_S): Likewise.
51585         (_FP_HIGHBIT_DW_S): Likewise.
51586         (FP_FMA_S): Likewise.
51587         (_FP_FRAC_HIGH_DW_S): Likewise.
51588         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51589         (_FP_WFRACBITS_DW_D): Likewise.
51590         (_FP_WFRACXBITS_DW_D): Likewise.
51591         (_FP_HIGHBIT_DW_D): Likewise.
51592         (FP_FMA_D): Likewise.
51593         (_FP_FRAC_HIGH_DW_D): Likewise.
51594         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51595         (_FP_WFRACBITS_DW_E): Likewise.
51596         (_FP_WFRACXBITS_DW_E): Likewise.
51597         (_FP_HIGHBIT_DW_E): Likewise.
51598         (FP_FMA_E): Likewise.
51599         (_FP_FRAC_HIGH_DW_E): Likewise.
51600         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51601         (_FP_WFRACBITS_DW_Q): Likewise.
51602         (_FP_WFRACXBITS_DW_Q): Likewise.
51603         (_FP_HIGHBIT_DW_Q): Likewise.
51604         (FP_FMA_Q): Likewise.
51605         (_FP_FRAC_HIGH_DW_Q): Likewise.
51606         * soft-fp/fmasf4.c: New file.
51607         * soft-fp/fmadf4.c: Likewise.
51608         * soft-fp/fmatf4.c: Likewise.
51610 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51613         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51614         Silvermont.
51615         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51616         macro.
51617         (index_Slow_SSE4_2): Likewise.
51618         (index_Prefer_PMINUB_for_stringop): Likewise.
51619         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51620         bit_Slow_SSE4_2 is set.
51621         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51622         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51624 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51626         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51627         rtld_global._dl_hwcap2.
51628         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51629         POWER8.
51630         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51631         POWER8 feature descriptions defined in _dl_hwcap2.
51632         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51633         string handling for POWER8 feature bits.
51634         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51635         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51636         _dl_powerpc_cap_flags.
51637         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51638         * sysdeps/powerpc/rtld-global-offsets.sym
51639         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51640         _dl_hwcap2 in the rtld_global_ro structure.
51642 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51644         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51645         hardware capabilities in support of AT_HWCAP2.
51646         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51647         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51648         GLRO(dl_hwcap2).
51649         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51650         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51651         explicitly the unknown a_type display mechanism is used.
51652         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51653         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51654         struct member.
51655         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51656         to macro prototype for AT_HWCAP2 support.
51657         * sysdeps/i386/dl-procinfo.h: Likewise.
51658         * sysdeps/s390/dl-procinfo.h: Likewise.
51659         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51660         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51661         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51662         return -1 for unknown a_type display fallback.
51663         * sysdeps/sparc/dl-procinfo.h: Likewise.
51664         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51665         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51667 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51669         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51670         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51672 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51674         [BZ #12492]
51675         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51676         mprotect making __stack_prot writable.
51678 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51679             Joseph Myers  <joseph@codesourcery.com>
51681         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51682         as being properly aligned.
51684 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51686         * dlfcn/modstatic5.c: New file.
51687         * dlfcn/tststatic5.c: New file.
51688         * dlfcn/Makefile (tests): Add tststatic5.
51689         (tests-static): Likewise.
51690         (modules-names): Add modstatic5.
51691         (tststatic5-ENV): New variable.
51692         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51694         [BZ #15022]
51695         * elf/dl-support.c (_dl_main_map): New variable.
51696         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51697         (_dl_nns, _dl_load_adds): Set to 1.
51698         (_dl_initial_searchlist): Refer to _dl_main_map.
51699         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51700         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51701         call to _dl_get_origin.
51702         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51703         around call_map.
51704         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51705         * dlfcn/modstatic3.c: New file.
51706         * dlfcn/tststatic3.c: New file.
51707         * dlfcn/tststatic4.c: New file.
51708         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51709         (tests-static): Likewise.
51710         (modules-names): Add modstatic3.
51711         (tststatic3-ENV, tststatic4-ENV): New variables.
51712         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51713         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51715 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51717         * configure.in (CC): Require GCC version 4.4 or later.
51718         * configure: Regenerated.
51719         * manual/install.texi (Tools for Compilation): Update GCC version
51720         requirement.
51721         * INSTALL: Regenerated.
51723 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51725         [BZ #15674]
51726         * string/test-memcmp.c (check2): New.
51727         (main): Call check2.
51729         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51731 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51733         [BZ #15022]
51734         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51735         over to...
51736         (dl_open_worker) [!SHARED]: ... here.
51738 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51740         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51742 2013-06-25  Richard Henderson  <rth@redhat.com>
51744         * locale/programs/locarchive.c: Include <libc-internal.h>
51746 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51748         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51749         trailing whitespace removed.
51751 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51753         [BZ #10283]
51754         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51755         * locale/programs/locarchive.c: Include libc-mmap.h.
51756         (prepare_address_space): Take two new outputs (the mmap base and len).
51757         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51758         values.
51759         (create_archive): Declare new mmap base and len values for
51760         prepare_address_space, and store the result in ah.
51761         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51762         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51763         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51764         Declare new mmap base and len values for
51765         prepare_address_space, and store the result in new_ah.
51766         (open_archive): Declare new mmap base and len values for
51767         prepare_address_space, and store the result in ah.
51768         (close_archive): If ah->mmap_base is not NULL, use that and
51769         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51770         * sysdeps/generic/libc-mmap.h: New file.
51772 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51774         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51775         (ALIGN_UP): Likewise.
51776         (PTR_ALIGN_DOWN): Likewise.
51777         (PTR_ALIGN_UP): Likewise.
51779 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51781         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51782         entry mapped to PPC_PLATFORM_POWER8.
51783         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51784         POWER8.
51785         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51786         (_dl_string_platform): Add case for exporting platform position for
51787         POWER8.
51788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51789         search path to sysdeps/powerpc/powerpc32/power8 directory.
51790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51791         search path to sysdeps/powerpc/powerpc64/power8 directory.
51792         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51793         power7 directories.
51794         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51795         power7 directories.
51797 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51799         * INSTALL: Regenerate.
51801         * nscd/connections.c (nscd_init): Fix comment.
51803 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51805         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51807         [BZ #15667]
51808         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51809         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51811 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51813         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51814         DL_DST_REQ_STATIC.
51815         (DL_DST_REQ_STATIC): Remove macro.
51817 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51819         [BZ #7006]
51820         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51821         with a shift of 0 bits.
51823 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51825         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51826         $(tststatic-ENV).
51828 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51830         [BZ #15655]
51831         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51833 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51835         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51836         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51837         accepts -fno-tree-loop-distribute-patterns.
51838         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51839         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51840         recursive call.
51841         * string/memset.c (memset): Likewise.
51842         * string/test-memmove.c (simple_memmove): Disable loop transformation
51843         to library calls.
51844         * string/test-memset.c (simple_memset): Likewise.
51845         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51846         * benchtests/bench-memset.c (simple_memset): Likewise.
51847         * configure: Regenerated.
51849 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51851         * math/test-misc.c (main): Ignore fesetround failure when failures
51852         of subsequent rounding tests would be ignored.
51854         [BZ #15654]
51855         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51856         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51857         * math/fegetenv.c (__fegetenv): Return 0.
51858         * math/fegetexcept.c (fegetexcept): Return 0.
51859         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51860         FE_TONEAREST.
51861         * math/feholdexcpt.c (feholdexcept): Return 0.
51862         * math/fesetenv.c (__fesetenv): Return 0.
51863         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51864         argument FE_TONEAREST.
51865         * math/feupdateenv.c (__feupdateenv): Return 0.
51866         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51868 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51870         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51871         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51872         ($(objpfx)rtld-%.os rules): Use them.
51874 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51876         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51877         fields.
51879 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51881         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51882         length of target pattern, then descending length of dependency pattern.
51883         * configure.in (AWK): Require gawk 3.1.2 or newer.
51884         * manual/install.texi (Tools for Compilation): Say that we do.
51885         * configure: Regenerated.
51887         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51888         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51889         * scripts/sysd-rules.awk: ... this new script.
51890         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51891         than a glob-style pattern.
51893 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51895         * math/test-misc.c (main): Do not treat incorrectly rounded
51896         conversions as failure unless ROUNDING_TESTS passes.
51898 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51900         [BZ #15631]
51901         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51902         restore exception state around main square root computation, then
51903         check for inexactness explicitly.
51905         * math/libm-test.inc (fma_test_data): Add another test.
51907 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51909         * manual/threads.texi (Non-POSIX Extensions): New document
51910         node.  Document pthread_getattr_default_np and
51911         pthread_setattr_default_np.
51913         * Versions.def (libpthread): Add GLIBC_2.18.
51914         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51916         Likewise.
51917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51918         Likewise.
51919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51920         Likewise.
51921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51922         Likewise.
51923         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51924         Likewise.
51925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51926         Likewise.
51927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51928         Likewise.
51929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51930         Likewise.
51931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51932         Likewise.
51934 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51937         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51939 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51940             H.J. Lu  <hjl.tools@gmail.com>
51942         [BZ #15627]
51943         * sysdeps/x86_64/rtld-memset.c: Remove file.
51944         * sysdeps/x86_64/rtld-memset.S: New file.
51946 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51948         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51949         (test_in_one_mode): Take arguments for whether the rounding mode
51950         is supported for each floating-point type.
51951         (do_test): Pass new arguments to test_in_one_mode using
51952         ROUNDING_TESTS.
51954 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51956         * posix/tst-waitid.c (do_test): Distinguish different instances of
51957         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51958         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51959         before entering the kernel for waitpid.
51961 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51963         * NEWS: Fix note on clock function precision.  Text by Roland
51964         McGrath.
51966 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51968         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51969         it into place only when and if the sanity check passes.
51971 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51973         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51974         output for whether conversion result is exact.  Take argument
51975         indicating whether type is IBM long double.
51976         (round_for_all): Change need_exact field to ibm_ld.
51977         * stdlib/tst-strtod-round.c (struct exactness): New type.
51978         (struct test): Change bool ld_ok field to struct exactness exact.
51979         (TEST): Update all definitions for change to field.
51980         (tests): Regenerate array contents.
51981         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51982         field value.  Check for IBM long double here.
51983         (do_test): Update calls to test_in_one_mode.
51985 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51987         [BZ #12515]
51988         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51989         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51991 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51993         [BZ #15605]
51994         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51995         generated by the compiler on loop optimizations.
51996         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51997         general definitions.
51999 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52001         * math/bug-nextafter.c: Include <math-tests.h>.
52002         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52003         the relevant type.
52004         * math/bug-nexttoward.c: Include <math-tests.h>.
52005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52006         the relevant type.
52007         * math/test-misc.c: Include <math-tests.h>.
52008         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52009         the relevant type.
52011 2013-06-12  Andreas Jaeger  <aj@suse.de>
52013         * po/ia.po: Update Interlingua translation from translation
52014         project.
52016 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52018         * include/fenv.h: Include stdbool.h.
52019         (struct rm_ctx): New structure.
52020         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52021         Define macro.
52022         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52023         (SET_RESTORE_ROUNDF): Likewise.
52024         (SET_RESTORE_ROUNDL): Likewise.
52025         (SET_RESTORE_ROUND_NOEX): Likewise.
52026         (SET_RESTORE_ROUND_NOEXF): Likewise.
52027         (SET_RESTORE_ROUND_NOEXL): Likewise.
52028         (SET_RESTORE_ROUND_53BIT): Likewise.
52029         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52030         (libc_feresetround_noexf_ctx): Likewise.
52031         (libc_feresetround_noexl_ctx): Likewise.
52032         (libc_feholdsetround_53bit_ctx): Likewise.
52033         (libc_feresetround_53bit_ctx): Likewise.
52034         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52035         (libc_feholdexcept_setround_sse_ctx): New function.
52036         (libc_fesetenv_sse_ctx): Likewise.
52037         (libc_feupdateenv_sse_ctx): Likewise.
52038         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52039         (libc_feholdexcept_setround_387_ctx): Likewise.
52040         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52041         (libc_feholdsetround_387_prec_ctx): Likewise.
52042         (libc_feholdsetround_387_ctx): Likewise.
52043         (libc_feholdsetround_387_53bit_ctx): Likewise.
52044         (libc_feholdsetround_sse_ctx): Likewise.
52045         (libc_feresetround_sse_ctx): Likewise.
52046         (libc_feresetround_387_ctx): Likewise.
52047         (libc_feupdateenv_387_ctx): Likewise.
52048         (libc_feholdexcept_setroundf_ctx): Define macro.
52049         (libc_fesetenvf_ctx): Likewise.
52050         (libc_feupdateenvf_ctx): Likewise.
52051         (libc_feholdsetroundf_ctx): Likewise.
52052         (libc_feresetroundf_ctx): Likewise.
52053         (libc_feholdexcept_setround_ctx): Likewise.
52054         (libc_fesetenv_ctx): Likewise.
52055         (libc_feupdateenv_ctx): Likewise.
52056         (libc_feholdsetround_ctx): Likewise.
52057         (libc_feresetround_ctx): Likewise.
52058         (libc_feholdexcept_setroundl_ctx): Likewise.
52059         (libc_feupdateenvl_ctx): Likewise.
52060         (libc_feholdsetroundl_ctx): Likewise.
52061         (libc_feresetroundl_ctx): Likewise.
52062         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52063         (libc_feresetround_53bit_ctx): Likewise.
52065 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52067         * locale/iso-639.def: Convert to UTF-8.
52069 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52071         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52072         (EXCEPTION_TESTS_double): Likewise.
52073         (EXCEPTION_TESTS_long_double): Likewise.
52074         (EXCEPTION_TESTS): Likewise.
52075         * math/libm-test.inc (test_exceptions): Only test exceptions if
52076         EXCEPTION_TESTS (FLOAT).
52078 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52080         * benchtests/Makefile (string-bench): Add strcpy_chk and
52081         stpcpy_chk.
52082         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52083         * benchtests/bench-stpcpy_chk.c: New file.
52084         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52085         * benchtests/bench-strcpy_chk.c: New file.
52086         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52087         code.
52088         (do_test): Likewise.
52090 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52092         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52093         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52094         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52095         with tabs where appropriate.
52096         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52097         dl-procinfo.h.
52098         [PPC_PLATFORM_PPC440]: Likewise.
52099         [PPC_PLATFORM_PPC464]: Likewise.
52100         [PPC_PLATFORM_PPC476]: Likewise.
52101         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52102         ppc464, and ppc476 platform strings merging from ports/
52103         dl-procinfo.h.
52105 2013-06-11  Andreas Schwab  <schwab@suse.de>
52107         [BZ #14991]
52108         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52109         (from_ucs4_idx): Regenerate.
52110         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52111         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52112         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52113         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52114         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52115         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52116         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52117         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52118         from FROM_LOOP and TO_LOOP specific macros.
52119         (BODY): Handle combining characters.
52120         * iconvdata/BIG5HKSCS.irreversible: Update.
52121         * iconvdata/BIG5HKSCS.precomposed: New file.
52122         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52123         characters.
52124         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52126 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52128         * include/sys/time.h: Fix indentation and add copyright header.
52130         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52131         (do_test): Likewise.
52132         * string/test-memchr.c (do_one_test): Likewise.
52133         (do_test): Likewise.
52134         * string/test-memcmp.c (do_one_test): Likewise.
52135         (do_test): Likewise.
52136         * string/test-memcpy.c (do_one_test): Likewise.
52137         (do_test): Likewise.
52138         * string/test-memmem.c (do_one_test): Likewise.
52139         (do_test): Likewise.
52140         (do_random_tests): Likewise.
52141         * string/test-memmove.c (do_one_test): Likewise.
52142         (do_test): Likewise.
52143         * string/test-memset.c (do_one_test): Likewise.
52144         (do_test): Likewise.
52145         * string/test-rawmemchr.c (do_one_test): Likewise.
52146         (do_test): Likewise.
52147         * string/test-strcasecmp.c (do_one_test): Likewise.
52148         (do_test): Likewise.
52149         * string/test-strcasestr.c (do_one_test): Likewise.
52150         (do_test): Likewise.
52151         * string/test-strcat.c (do_one_test): Likewise.
52152         (do_test): Likewise.
52153         * string/test-strchr.c (do_one_test): Likewise.
52154         (do_test): Likewise.
52155         * string/test-strcmp.c (do_one_test): Likewise.
52156         (do_test): Likewise.
52157         * string/test-strcpy.c (do_one_test): Likewise.
52158         (do_test): Likewise.
52159         * string/test-string.h: Likewise.
52160         (test_init): Likewise.
52161         * string/test-strlen.c (do_one_test): Likewise.
52162         (do_test): Likewise.
52163         * string/test-strncasecmp.c (do_one_test): Likewise.
52164         (do_test): Likewise.
52165         * string/test-strncat.c (do_one_test): Likewise.
52166         (do_test): Likewise.
52167         * string/test-strncmp.c (do_one_test): Likewise.
52168         (do_test_limit): Likewise.
52169         (do_test): Likewise.
52170         * string/test-strncpy.c (do_one_test): Likewise.
52171         (do_test): Likewise.
52172         * string/test-strnlen.c (do_one_test): Likewise.
52173         (do_test): Likewise.
52174         * string/test-strpbrk.c (do_one_test): Likewise.
52175         (do_test): Likewise.
52176         * string/test-strrchr.c (do_one_test): Likewise.
52177         (do_test): Likewise.
52178         * string/test-strspn.c (do_one_test): Likewise.
52179         (do_test): Likewise.
52180         * string/test-strstr.c (do_one_test): Likewise.
52181         (do_test): Likewise.
52183         * benchtests/Makefile (string-bench): Add string benchmarks.
52184         * benchtests/bench-bcopy-ifunc.c: New file.
52185         * benchtests/bench-bcopy.c: New file.
52186         * benchtests/bench-bzero-ifunc.c: New file.
52187         * benchtests/bench-bzero.c: New file.
52188         * benchtests/bench-memccpy-ifunc.c: New file.
52189         * benchtests/bench-memccpy.c: New file.
52190         * benchtests/bench-memchr-ifunc.c: New file.
52191         * benchtests/bench-memchr.c: New file.
52192         * benchtests/bench-memcmp-ifunc.c: New file.
52193         * benchtests/bench-memcmp.c: New file.
52194         * benchtests/bench-memmem-ifunc.c: New file.
52195         * benchtests/bench-memmem.c: New file.
52196         * benchtests/bench-memmove-ifunc.c: New file.
52197         * benchtests/bench-memmove.c: New file.
52198         * benchtests/bench-mempcpy-ifunc.c: New file.
52199         * benchtests/bench-mempcpy.c: New file.
52200         * benchtests/bench-memset-ifunc.c: New file.
52201         * benchtests/bench-memset.c: New file.
52202         * benchtests/bench-rawmemchr-ifunc.c: New file.
52203         * benchtests/bench-rawmemchr.c: New file.
52204         * benchtests/bench-stpcpy-ifunc.c: New file.
52205         * benchtests/bench-stpcpy.c: New file.
52206         * benchtests/bench-stpncpy-ifunc.c: New file.
52207         * benchtests/bench-stpncpy.c: New file.
52208         * benchtests/bench-strcasecmp-ifunc.c: New file.
52209         * benchtests/bench-strcasecmp.c: New file.
52210         * benchtests/bench-strcasestr-ifunc.c: New file.
52211         * benchtests/bench-strcasestr.c: New file.
52212         * benchtests/bench-strcat-ifunc.c: New file.
52213         * benchtests/bench-strcat.c: New file.
52214         * benchtests/bench-strchr-ifunc.c: New file.
52215         * benchtests/bench-strchr.c: New file.
52216         * benchtests/bench-strchrnul-ifunc.c: New file.
52217         * benchtests/bench-strchrnul.c: New file.
52218         * benchtests/bench-strcmp-ifunc.c: New file.
52219         * benchtests/bench-strcmp.c: New file.
52220         * benchtests/bench-strcpy-ifunc.c: New file.
52221         * benchtests/bench-strcpy.c: New file.
52222         * benchtests/bench-strcspn-ifunc.c: New file.
52223         * benchtests/bench-strcspn.c: New file.
52224         * benchtests/bench-strlen-ifunc.c: New file.
52225         * benchtests/bench-strlen.c: New file.
52226         * benchtests/bench-strncasecmp-ifunc.c: New file.
52227         * benchtests/bench-strncasecmp.c: New file.
52228         * benchtests/bench-strncat-ifunc.c: New file.
52229         * benchtests/bench-strncat.c: New file.
52230         * benchtests/bench-strncmp-ifunc.c: New file.
52231         * benchtests/bench-strncmp.c: New file.
52232         * benchtests/bench-strncpy-ifunc.c: New file.
52233         * benchtests/bench-strncpy.c: New file.
52234         * benchtests/bench-strnlen-ifunc.c: New file.
52235         * benchtests/bench-strnlen.c: New file.
52236         * benchtests/bench-strpbrk-ifunc.c: New file.
52237         * benchtests/bench-strpbrk.c: New file.
52238         * benchtests/bench-strrchr-ifunc.c: New file.
52239         * benchtests/bench-strrchr.c: New file.
52240         * benchtests/bench-strspn-ifunc.c: New file.
52241         * benchtests/bench-strspn.c: New file.
52242         * benchtests/bench-strstr-ifunc.c: New file.
52243         * benchtests/bench-strstr.c: New file.
52245         * benchtests/Makefile: Disable parallel execution of targets.
52246         (string-bench): Add memcpy.
52247         (benchset): New variable to store a list of benchmark sets.
52248         (bench-func): Renamed from bench.
52249         (bench-set): New target.
52250         (bench): Depend on bench-func and bench-set.
52251         * benchtests/README: Add section on benchmark sets.
52252         * benchtests/bench-memcpy-ifunc.c: New file.
52253         * benchtests/bench-memcpy.c: New file.
52254         * benchtests/bench-string.h: New file.
52256 2013-06-11  Andreas Schwab  <schwab@suse.de>
52258         [BZ #15577]
52259         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52260         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52261         values in the triple.
52262         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52263         terminator in the group key.
52265 2013-06-11  Andreas Jaeger  <aj@suse.de>
52267         * po/zh_TW.po: Update Chinese (traditional) translation from
52268         translation project.
52270 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52272         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52273         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52274         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52276         (clock_getcpuclockid): Likewise.
52277         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52278         Add weak_alias and libc_hidden_def.
52279         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52280         * rt/clock_gettime.c (clock_gettime): Rename to
52281         __clock_gettime.  Add weak_alias and libc_hidden_def.
52282         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52283         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52284         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52285         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52286         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52287         Likewise.
52288         * rt/clock_settime.c (clock_settime): Rename to
52289         __clock_settime.  Add weak_alias and libc_hidden_def.
52290         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52292 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52294         * mach/err_boot.sub: Remove trailing whitespace.
52295         * mach/err_ipc.sub: Likewise.
52296         * mach/err_mach.sub: Likewise.
52298         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52299         (ROUNDING_TESTS_double): Likewise.
52300         (ROUNDING_TESTS_long_double): Likewise.
52301         (ROUNDING_TESTS): Likewise.
52302         * math/libm-test.inc: Include <math-tests.h>.
52303         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52304         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52305         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52306         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52308 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52310         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52311         of assigning.
52313 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52315         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52316         otherwise empty TRANS lines.
52317         * sysdeps/gnu/errlist.c: Regenerated.
52319         * catgets/gencat.c (error_print): Use (void) in function
52320         definition.
52321         * crypt/crypt_util.c (__init_des): Likewise.
52322         * crypt/speeds.c (Stop): Likewise.
52323         (main): Likewise.
52324         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52325         * inet/ruserpass.c (token): Likewise.
52326         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52327         * intl/localealias.c (extend_alias_table): Likewise.
52328         * intl/plural-exp.c (init_germanic_plural): Likewise.
52329         * libio/fcloseall.c (__fcloseall): Likewise.
52330         * libio/genops.c (_IO_flush_all): Likewise.
52331         (_IO_flush_all_linebuffered): Likewise.
52332         (_IO_cleanup): Likewise.
52333         (_IO_iter_begin): Likewise.
52334         (_IO_iter_end): Likewise.
52335         (_IO_list_lock): Likewise.
52336         (_IO_list_unlock): Likewise.
52337         (_IO_list_resetlock): Likewise.
52338         * libio/getchar.c (getchar): Likewise.
52339         * libio/getchar_u.c (getchar_unlocked): Likewise.
52340         * libio/getwchar.c (getwchar): Likewise.
52341         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52342         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52343         * login/getpt.c (__getpt): Likewise.
52344         * login/tst-utmp.c (main): Likewise.
52345         * malloc/hooks.c (__malloc_check_init): Likewise.
52346         * malloc/malloc.c (__malloc_stats): Likewise.
52347         * malloc/mtrace.c (tr_break): Likewise.
52348         (mtrace): Likewise.
52349         (muntrace): Likewise.
52350         * misc/fstab.c (endfsent): Likewise.
52351         * misc/getclktck.c (__getclktck): Likewise.
52352         * misc/getdtsz.c (__getdtablesize): Likewise.
52353         * misc/gethostid.c (gethostid): Likewise.
52354         * misc/getpagesize.c (__getpagesize): Likewise.
52355         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52356         (__get_nprocs): Likewise.
52357         (__get_phys_pages): Likewise.
52358         (__get_avphys_pages): Likewise.
52359         * misc/getttyent.c (getttyent): Likewise.
52360         (setttyent): Likewise.
52361         (endttyent): Likewise.
52362         * misc/getusershell.c (getusershell): Likewise.
52363         (endusershell): Likewise.
52364         (setusershell): Likewise.
52365         (initshells): Likewise.
52366         * misc/hsearch.c (__hdestroy): Likewise.
52367         * misc/sync.c (sync): Likewise.
52368         * misc/syslog.c (closelog_internal): Likewise.
52369         (closelog): Likewise.
52370         * misc/ttyslot.c (ttyslot): Likewise.
52371         * misc/vhangup.c (vhangup): Likewise.
52372         * posix/fork.c (__fork): Likewise.
52373         * posix/getegid.c (__getegid): Likewise.
52374         * posix/geteuid.c (__geteuid): Likewise.
52375         * posix/getgid.c (__getgid): Likewise.
52376         * posix/getpid.c (__getpid): Likewise.
52377         * posix/getppid.c (__getppid): Likewise.
52378         * posix/getuid.c (__getuid): Likewise.
52379         * posix/pause.c (pause): Likewise.
52380         * posix/setpgrp.c (setpgrp): Likewise.
52381         * posix/setsid.c (__setsid): Likewise.
52382         * posix/test-vfork.c (noop): Likewise.
52383         * resolv/gethnamaddr.c (_endhtent): Likewise.
52384         (_gethtent): Likewise.
52385         (ht_endhostent): Likewise.
52386         (gethostent): Likewise.
52387         (dns_service): Likewise.
52388         * stdlib/drand48.c (drand48): Likewise.
52389         * stdlib/lrand48.c (lrand48): Likewise.
52390         * stdlib/mrand48.c (mrand48): Likewise.
52391         * stdlib/rand.c (rand): Likewise.
52392         * stdlib/random.c (__random): Likewise.
52393         * stdlib/setenv.c (clearenv): Likewise.
52394         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52395         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52396         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52397         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52398         (__get_nprocs): Likewise.
52399         (__get_phys_pages): Likewise.
52400         (__get_avphys_pages): Likewise.
52401         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52402         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52403         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52404         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52405         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52406         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52407         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52408         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52409         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52410         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52411         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52412         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52413         * sysdeps/posix/clock.c (clock): Likewise.
52414         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52415         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52416         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52417         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52418         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52420         (__get_nprocs_conf): Likewise.
52421         (__get_phys_pages): Likewise.
52422         (__get_avphys_pages): Likewise.
52423         * time/clock.c (clock): Likewise.
52424         * time/tzset.c (__tzname_max): Likewise.
52426 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52428         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52429         (__bswap_32): Do not use "register".
52430         * crypt/crypt.c (_ufc_doit_r): Likewise.
52431         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52432         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52433         * gmon/gmon.c (__monstartup): Likewise.
52434         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52435         * hurd/hurdmalloc.c (more_memory): Likewise.
52436         (malloc): Likewise.
52437         (free): Likewise.
52438         (realloc): Likewise.
52439         (malloc_fork_prepare): Likewise.
52440         (malloc_fork_parent): Likewise.
52441         (malloc_fork_child): Likewise.
52442         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52443         (_svcauth_des): Likewise.
52444         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52445         * inet/inet_net.c (inet_network): Likewise.
52446         * inet/inet_netof.c (inet_netof): Likewise.
52447         * inet/rcmd.c (__validuser2_sa): Likewise.
52448         * io/fts.c (fts_open): Likewise.
52449         (fts_load): Likewise.
52450         (fts_close): Likewise.
52451         (fts_read): Likewise.
52452         (fts_children): Likewise.
52453         (fts_build): Likewise.
52454         (fts_stat): Likewise.
52455         (fts_sort): Likewise.
52456         (fts_alloc): Likewise.
52457         (fts_lfree): Likewise.
52458         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52459         (_IO_file_xsgetn): Likewise.
52460         (_IO_file_xsgetn_mmap): Likewise.
52461         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52462         (_IO_cookie_write): Likewise.
52463         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52464         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52465         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52466         * malloc/obstack.c (_obstack_begin): Likewise.
52467         (_obstack_begin_1): Likewise.
52468         (_obstack_newchunk): Likewise.
52469         (_obstack_allocated_p): Likewise.
52470         (obstack_free): Likewise.
52471         (_obstack_memory_used): Likewise.
52472         * misc/getttyent.c (getttynam): Likewise.
52473         (getttyent): Likewise.
52474         (skip): Likewise.
52475         (value): Likewise.
52476         * misc/getusershell.c (initshells): Likewise.
52477         * misc/syslog.c (__vsyslog_chk): Likewise.
52478         * misc/ttyslot.c (ttyslot): Likewise.
52479         * nis/nis_hash.c (__nis_hash): Likewise.
52480         * posix/fnmatch_loop.c (FCT): Likewise.
52481         * posix/getconf.c (print_all): Likewise.
52482         (main): Likewise.
52483         * posix/getopt.c (exchange): Likewise.
52484         * posix/glob.c (globfree): Likewise.
52485         (prefix_array): Likewise.
52486         (__glob_pattern_type): Likewise.
52487         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52488         (NS_GET32): Likewise.
52489         (NS_PUT16): Likewise.
52490         (NS_PUT32): Likewise.
52491         * resolv/gethnamaddr.c (getanswer): Likewise.
52492         (gethostbyname2): Likewise.
52493         (gethostbyaddr): Likewise.
52494         (_gethtent): Likewise.
52495         (_gethtbyname2): Likewise.
52496         (_gethtbyaddr): Likewise.
52497         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52498         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52499         * resolv/res_init.c (__res_vinit): Likewise.
52500         (net_mask): Likewise.
52501         * resolv/res_mkquery.c (outchar): Likewise.
52502         (PRINT): Likewise.
52503         * stdio-common/printf_fp.c (outchar): Likewise.
52504         (PRINT): Likewise.
52505         * stdio-common/printf_fphex.c (outchar): Likewise.
52506         (PRINT): Likewise.
52507         * stdio-common/printf_size.c (outchar): Likewise.
52508         (PRINT): Likewise.
52509         * stdio-common/test_rdwr.c (main): Likewise.
52510         * stdio-common/tfformat.c (matches): Likewise.
52511         * stdio-common/vfprintf.c (outchar): Likewise.
52512         (printf_unknown): Likewise.
52513         (buffered_vfprintf): Likewise.
52514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52515         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52516         (ReadFile): Likewise.
52517         * stdlib/qsort.c (SWAP): Likewise.
52518         (_quicksort): Likewise.
52519         * stdlib/setenv.c (__add_to_environ): Likewise.
52520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52521         * stdlib/strtol_l.c (__strtol_l): Likewise.
52522         * stdlib/tst-strtod.c (main): Likewise.
52523         * stdlib/tst-strtol.c (main): Likewise.
52524         * stdlib/tst-strtoll.c (main): Likewise.
52525         * string/bits/string2.h (__strcmp_cc): Likewise.
52526         (__strcmp_cg): Likewise.
52527         (__strcspn_c1): Likewise.
52528         (__strcspn_c2): Likewise.
52529         (__strcspn_c3): Likewise.
52530         (__strspn_c1): Likewise.
52531         (__strspn_c2): Likewise.
52532         (__strspn_c3): Likewise.
52533         (__strsep_1c): Likewise.
52534         (__strsep_2c): Likewise.
52535         (__strsep_3c): Likewise.
52536         * string/memccpy.c (__memccpy): Likewise.
52537         * string/stpcpy.c (__stpcpy): Likewise.
52538         * string/strcmp.c (strcmp): Likewise.
52539         * string/strrchr.c (strrchr): Likewise.
52540         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52541         Likewise.
52542         * sysdeps/mach/hurd/getcwd.c
52543         (_hurd_canonicalize_directory_name_internal): Likewise.
52544         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52545         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52546         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52547         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52548         Likewise, in both definitions.
52549         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52550         definitions.
52551         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52552         64] (__bswap_64): Likewise.
52553         * time/test_time.c (main): Likewise.
52554         * time/tzfile.c (__tzfile_read): Likewise.
52555         (__tzfile_compute): Likewise.
52556         * time/tzset.c (__tzset_parse_tz): Likewise.
52557         (tzset_internal): Likewise.
52558         (compute_change): Likewise.
52559         * wcsmbs/wcscat.c (__wcscat): Likewise.
52560         * wcsmbs/wcschr.c (wcschr): Likewise.
52561         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52562         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52563         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52564         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52565         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52566         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52567         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52568         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52569         * wcsmbs/wmemset.c (wmemset): Likewise.
52571 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52573         * scripts/config.guess: Update to version 2013-05-16.
52574         * scripts/config.sub: Update to version 2013-04-24.
52575         * scripts/install-sh: Update to version 2011-11-20.07.
52576         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52577         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52579 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52581         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52582         * elf/sln.c: Likewise.
52583         * hurd/hurd/ioctl.h: Likewise.
52584         * hurd/hurdmalloc.c: Likewise.
52585         * hurd/xattr.c: Likewise.
52586         * include/shlib-compat.h: Likewise.
52587         * inet/ruserpass.c: Likewise.
52588         * libio/iofgets_u.c: Likewise.
52589         * libio/iofgetws_u.c: Likewise.
52590         * locale/programs/ld-identification.c: Likewise.
52591         * locale/programs/ld-time.c: Likewise.
52592         * mach/msg-destroy.c: Likewise.
52593         * nss/nss_files/files-netgrp.c: Likewise.
52594         * resolv/res_data.c: Likewise.
52595         * soft-fp/op-1.h: Likewise.
52596         * soft-fp/op-2.h: Likewise.
52597         * soft-fp/op-4.h: Likewise.
52598         * soft-fp/op-common.h: Likewise.
52599         * stdio-common/printf_fphex.c: Likewise.
52600         * stdlib/strtod_l.c: Likewise.
52601         * sunrpc/rpc/clnt.h: Likewise.
52602         * sysdeps/generic/framestate.c: Likewise.
52603         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52604         * sysdeps/i386/bsd-setjmp.S: Likewise.
52605         * sysdeps/i386/__longjmp.S: Likewise.
52606         * sysdeps/i386/setjmp.S: Likewise.
52607         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52608         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52609         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52624         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52625         * sysdeps/ieee754/support.c: Likewise.
52626         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52627         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52628         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52629         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52630         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52631         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52632         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52633         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52634         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52635         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52636         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52637         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52638         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52639         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52640         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52641         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52642         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52645 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52647         * posix/transbug.c: Remove executable mode.
52649 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52651         * crypt/speeds.c: Remove trailing whitespace.
52652         * dlfcn/default.c: Likewise.
52653         * elf/ifuncdep2.c: Likewise.
52654         * elf/ifuncmain1.c: Likewise.
52655         * elf/ifuncmain1vis.c: Likewise.
52656         * elf/testobj.h: Likewise.
52657         * elf/tst-stackguard1.c: Likewise.
52658         * gmon/sys/gmon.h: Likewise.
52659         * hurd/hurdmsg.c: Likewise.
52660         * hurd/new-fd.c: Likewise.
52661         * hurd/ports-get.c: Likewise.
52662         * iconvdata/ibm1008_420.c: Likewise.
52663         * inet/tst-getni1.c: Likewise.
52664         * inet/tst-getni2.c: Likewise.
52665         * libio/ioungetc.c: Likewise.
52666         * libio/wfiledoalloc.c: Likewise.
52667         * manual/libm-err-tab.pl: Likewise.
52668         * math/w_dremf.c: Likewise.
52669         * misc/ftruncate.c: Likewise.
52670         * posix/bug-glob2.c: Likewise.
52671         * posix/tst-pcre.c: Likewise.
52672         * posix/wait4.c: Likewise.
52673         * resolv/README: Likewise.
52674         * resolv/res_debug.h: Likewise.
52675         * resolv/tst-inet_ntop.c: Likewise.
52676         * setjmp/bug269-setjmp.c: Likewise.
52677         * soft-fp/extended.h: Likewise.
52678         * soft-fp/op-1.h: Likewise.
52679         * soft-fp/op-2.h: Likewise.
52680         * soft-fp/op-4.h: Likewise.
52681         * soft-fp/op-8.h: Likewise.
52682         * soft-fp/testit.c: Likewise.
52683         * stdio-common/bug16.c: Likewise.
52684         * stdlib/random.c: Likewise.
52685         * sunrpc/rpcsvc/rquota.x: Likewise.
52686         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52687         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52688         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52689         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52690         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52691         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52692         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52693         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52694         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52695         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52696         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52697         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52701         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52704         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52707         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52708         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52711         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52713         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52715         * sysdeps/ieee754/s_lib_version.c: Likewise.
52716         * sysdeps/mach/hurd/check_fds.c: Likewise.
52717         * sysdeps/mach/hurd/getsockname.c: Likewise.
52718         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52719         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52720         * sysdeps/powerpc/bits/link.h: Likewise.
52721         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52722         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52723         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52724         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52725         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52726         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52727         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52729         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52730         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52731         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52732         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52733         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52734         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52735         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52736         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52737         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52738         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52739         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52740         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52741         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52742         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52744         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52745         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52746         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52747         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52748         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52749         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52752         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52753         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52754         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52755         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52756         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52757         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52758         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52759         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52760         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52761         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52762         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52763         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52764         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52765         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52766         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52767         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52768         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52769         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52770         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52773         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52774         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52775         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52776         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52777         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52778         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52779         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52780         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52781         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52782         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52783         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52784         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52785         * sysdeps/powerpc/sysdep.h: Likewise.
52786         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52787         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52788         * sysdeps/sh/dl-trampoline.S: Likewise.
52789         * sysdeps/sh/memset.S: Likewise.
52790         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52791         * sysdeps/sh/strlen.S: Likewise.
52792         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52793         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52794         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52795         * sysdeps/sparc/sparc32/rem.S: Likewise.
52796         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52797         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52798         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52799         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52800         * sysdeps/sparc/sparc32/urem.S: Likewise.
52801         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52802         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52803         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52804         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52805         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52806         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52807         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52808         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52809         * sysdeps/unix/bsd/times.c: Likewise.
52810         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52811         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52815         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52816         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52817         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52818         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52819         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52820         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52821         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52822         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52823         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52824         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52825         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52826         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52827         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52828         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52829         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52830         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52831         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52832         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52833         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52834         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52835         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52836         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52837         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52838         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52839         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52840         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52841         * sysdeps/x86_64/strcspn.S: Likewise.
52843 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52845         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52846         generated file.  Regenerate properly from gen-translit.pl.
52847         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52848         locale/C-translit.h.
52850 2013-06-05  Andreas Schwab  <schwab@suse.de>
52852         [BZ #15100]
52853         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52854         week as 6 instead of -1.
52855         * time/tst-strptime.c (day_tests): Add test case.
52857 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52859         * sysdeps/generic/math_private.h
52860         (libc_feholdexcept_setround_53bit): Replace with
52861         libc_feholdsetround_53bit.
52862         (libc_feupdateenv_53bit): Replace with
52863         libc_feresetround_53bit.
52864         (SET_RESTORE_ROUND_53BIT): Adjust.
52866 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52868         * string/test-strchrnul.c: Add copyright header.
52870         * posix/tst-getaddrinfo4.c: Increase test timeout.
52872 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52874         [BZ #15536]
52875         * math/libm-test.inc (MAX_EXP): Remove
52876         (MIN_EXP): Define.
52877         (ulp): Use MIN_EXP - MANT_DIG.
52878         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52880 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52882         * po/be.po: Revert last change.
52883         * po/zh_CN.po: Likewise.
52884         * po/header.pot: Likewise.
52886 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52888         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52889         link-libc-deps to empty as target-specific variable.
52890         * Makerules (link-libc-args): New variable.
52891         (libc-for-link): Likewise.
52892         (link-libc-deps): Likewise.
52893         (lib%.so): Depend on $(link-libc-deps).  Link with
52894         $(link-libc-args).
52895         (build-module): Link with $(link-libc-args).
52896         (build-module-asneeded): Likewise.
52897         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52898         list of objects.
52899         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52900         target-specific variable.
52901         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52902         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52903         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52904         libc.
52905         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52906         libc and ld.so.
52907         ($(objpfx)libpcprofile.so): Likewise.
52908         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52909         libc_nonshared.a.
52910         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52911         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52912         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52913         $(link-libc-deps).
52914         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52915         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52916         * login/Makefile ($(objpfx)libutil.so): Likewise.
52917         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52918         * math/Makefile ($(objpfx)libm.so): Likewise.
52919         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52920         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52921         variable instead of depending directly on libc.
52922         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52923         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52924         $(link-libc-deps).
52925         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52926         libc.
52927         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52928         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52929         ($(objpfx)libanl.so): Likewise.
52930         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52931         ld.so.
52932         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52933         $(link-libc-deps).
52934         * sysdeps/i386/fpu/Makefile: Remove file.
52935         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52936         ($(objpfx)libm.so): Remove dependency on ld.so.
52938 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52940         [BZ # 15553]
52941         * nis/yp_xdr.c (XDRMAXNAME): Define.
52942         (XDRMAXRECORD): Define.
52943         (xdr_domainname): Use XDRMAXNAME.
52944         (xdr_mapname): Likewise.
52945         (xdr_peername): Likewise.
52946         (xdr_keydat): Use XDRMAXRECORD.
52947         (xdr_valdat): Likewise.
52949 2013-05-30  Jeff Law  <law@redhat.com>
52951         [BZ #14256]
52952         * manual/errno.texi (ESTALE): Update to account for more than
52953         just NFS file systems.
52954         * sysdeps/gnu/errlist.c: Regenerated.
52956 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52958         [BZ #15465]
52959         * elf/Makefile (tests): Add tst-null-argv.
52960         (modules-names):  Add tst-null-argv-lib.
52961         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52962         (tst-null-argv-ENV): Set environment for tst-null-argv.
52963         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52964         (RTLD_PROGNAME): New macro.
52965         * elf/tst-null-argv.c: New test case.
52966         * elf/tst-null-argv-lib.c: Library for test case.
52967         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52968         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52969         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52970         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52971         * elf/dl-init.c (call_init): Likewise.
52972         (_dl_init): Likewise.
52973         * elf/dl-load.c (print_search_path): Likewise.
52974         (_dl_map_object): Likewise.
52975         * elf/dl-lookup.c (do_lookup_x): Likewise.
52976         (add_dependency): Likewise.
52977         (_dl_lookup_symbol_x): Likewise.
52978         (_dl_debug_bindings): Likewise.
52979         * elf/dl-open.c (_dl_show_scope): Likewise.
52980         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52981         * elf/dl-version.c (match_symbol): Likewise.
52982         (_dl_check_map_versions): Likewise.
52983         * elf/rtld.c (dl_main): Likewise.
52984         (print_unresolved): Use RTLD_PROGNAME.
52985         (print_missing_version): Likewise.
52986         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52987         (elf_machine_rela): Likewise.
52988         * sysdeps/powerpc/powerpc32/dl-machine.c
52989         (__process_machine_rela): Likewise.
52990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52991         Likewise.
52992         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52993         Likewise.
52994         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52995         Likewise.
52996         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52998         Likewise.
52999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53000         Likewise.
53001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53003 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53005         * po/be.po: Add descriptive title.
53006         * po/zh_CN.po: Likewise.
53007         * po/header.pot: Likewise.
53009 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53011         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53012         error message.
53013         (enlarge_archive): Likewise.
53015 2013-05-28  Ben North  <ben@redfrontdoor.org>
53017         * manual/arith.texi (frexp): It is the magnitude of the return
53018         value which lies in [0.5, 1), not the return value itself.
53020 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53024 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53026         * stdio-common/bug26.c (main): Correct fscanf template.
53028         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53029         declare _dl_skip_args.
53031         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53032         Don't declare.
53034         * manual/platform.texi: Add missing @end deftypefun.
53036 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53038         [BZ #15529]
53039         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53040         bit of mantissa of 2^16382.
53041         * math/libm-test.inc (hypot_test_data): Add more tests.
53043         * math/libm-test.inc: Add drem and pow10 to list of tested
53044         functions.
53045         (pow10_test): New function.
53046         (drem_test): Likewise.
53047         (drem_test_tonearest): Likewise.
53048         (drem_test_towardzero): Likewise.
53049         (drem_test_downward): Likewise.
53050         (drem_test_upward): Likewise.
53051         (main): Call the new functions.
53053         * math/libm-test.inc (finite_test_data): Remove.
53054         (finite_test): Run tests from isfinite_test_data.
53055         (gamma_test_data): Remove.
53056         (gamma_test): Run tests from lgamma_test_data.
53057         * sysdeps/i386/fpu/libm-test-ulps: Update.
53058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53060 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53062         * manual/platform.texi: Add PowerPC PPR function set documentation.
53063         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53064         implementation.
53066 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53068         * math/libm-test.inc (MAX_EXP): Define.
53069         (ULPDIFF): Define.
53070         (ulp): New function.
53071         (check_float_internal): Use ULPDIFF.
53072         (cpow_test): Disable failing test.
53073         (check_ulp): Test ulp() implemetnation.
53074         (main): Call check_ulp before starting tests.
53076 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53078         * math/gen-libm-test.pl (generate_testfile): Do not handle
53079         START_DATA and END_DATA.
53080         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53081         END_DATA.
53082         (acos_tonearest_test_data): Likewise.
53083         (acos_towardzero_test_data): Likewise.
53084         (acos_downward_test_data): Likewise.
53085         (acos_upward_test_data): Likewise.
53086         (acosh_test_data): Likewise.
53087         (asin_test_data): Likewise.
53088         (asin_tonearest_test_data): Likewise.
53089         (asin_towardzero_test_data): Likewise.
53090         (asin_downward_test_data): Likewise.
53091         (asin_upward_test_data): Likewise.
53092         (asinh_test_data): Likewise.
53093         (atan_test_data): Likewise.
53094         (atanh_test_data): Likewise.
53095         (atan2_test_data): Likewise.
53096         (cabs_test_data): Likewise.
53097         (cacos_test_data): Likewise.
53098         (cacosh_test_data): Likewise.
53099         (carg_test_data): Likewise.
53100         (casin_test_data): Likewise.
53101         (casinh_test_data): Likewise.
53102         (catan_test_data): Likewise.
53103         (catanh_test_data): Likewise.
53104         (cbrt_test_data): Likewise.
53105         (ccos_test_data): Likewise.
53106         (ccosh_test_data): Likewise.
53107         (ceil_test_data): Likewise.
53108         (cexp_test_data): Likewise.
53109         (cimag_test_data): Likewise.
53110         (clog_test_data): Likewise.
53111         (clog10_test_data): Likewise.
53112         (conj_test_data): Likewise.
53113         (copysign_test_data): Likewise.
53114         (cos_test_data): Likewise.
53115         (cos_tonearest_test_data): Likewise.
53116         (cos_towardzero_test_data): Likewise.
53117         (cos_downward_test_data): Likewise.
53118         (cos_upward_test_data): Likewise.
53119         (cosh_test_data): Likewise.
53120         (cosh_tonearest_test_data): Likewise.
53121         (cosh_towardzero_test_data): Likewise.
53122         (cosh_downward_test_data): Likewise.
53123         (cosh_upward_test_data): Likewise.
53124         (cpow_test_data): Likewise.
53125         (cproj_test_data): Likewise.
53126         (creal_test_data): Likewise.
53127         (csin_test_data): Likewise.
53128         (csinh_test_data): Likewise.
53129         (csqrt_test_data): Likewise.
53130         (ctan_test_data): Likewise.
53131         (ctan_tonearest_test_data): Likewise.
53132         (ctan_towardzero_test_data): Likewise.
53133         (ctan_downward_test_data): Likewise.
53134         (ctan_upward_test_data): Likewise.
53135         (ctanh_test_data): Likewise.
53136         (ctanh_tonearest_test_data): Likewise.
53137         (ctanh_towardzero_test_data): Likewise.
53138         (ctanh_downward_test_data): Likewise.
53139         (ctanh_upward_test_data): Likewise.
53140         (erf_test_data): Likewise.
53141         (erfc_test_data): Likewise.
53142         (exp_test_data): Likewise.
53143         (exp_tonearest_test_data): Likewise.
53144         (exp_towardzero_test_data): Likewise.
53145         (exp_downward_test_data): Likewise.
53146         (exp_upward_test_data): Likewise.
53147         (exp10_test_data): Likewise.
53148         (exp2_test_data): Likewise.
53149         (expm1_test_data): Likewise.
53150         (fabs_test_data): Likewise.
53151         (fdim_test_data): Likewise.
53152         (finite_test_data): Likewise.
53153         (floor_test_data): Likewise.
53154         (fma_test_data): Likewise.
53155         (fma_towardzero_test_data): Likewise.
53156         (fma_downward_test_data): Likewise.
53157         (fma_upward_test_data): Likewise.
53158         (fmax_test_data): Likewise.
53159         (fmin_test_data): Likewise.
53160         (fmod_test_data): Likewise.
53161         (fpclassify_test_data): Likewise.
53162         (frexp_test_data): Likewise.
53163         (gamma_test_data): Likewise.
53164         (hypot_test_data): Likewise.
53165         (ilogb_test_data): Likewise.
53166         (isfinite_test_data): Likewise.
53167         (isgreater_test_data): Likewise.
53168         (isgreaterequal_test_data): Likewise.
53169         (isinf_test_data): Likewise.
53170         (isless_test_data): Likewise.
53171         (islessequal_test_data): Likewise.
53172         (islessgreater_test_data): Likewise.
53173         (isnan_test_data): Likewise.
53174         (isnormal_test_data): Likewise.
53175         (issignaling_test_data): Likewise.
53176         (isunordered_test_data): Likewise.
53177         (j0_test_data): Likewise.
53178         (j1_test_data): Likewise.
53179         (jn_test_data): Likewise.
53180         (ldexp_test_data): Likewise.
53181         (lgamma_test_data): Likewise.
53182         (lrint_test_data): Likewise.
53183         (lrint_tonearest_test_data): Likewise.
53184         (lrint_towardzero_test_data): Likewise.
53185         (lrint_downward_test_data): Likewise.
53186         (lrint_upward_test_data): Likewise.
53187         (llrint_test_data): Likewise.
53188         (llrint_tonearest_test_data): Likewise.
53189         (llrint_towardzero_test_data): Likewise.
53190         (llrint_downward_test_data): Likewise.
53191         (llrint_upward_test_data): Likewise.
53192         (log_test_data): Likewise.
53193         (log10_test_data): Likewise.
53194         (log1p_test_data): Likewise.
53195         (log2_test_data): Likewise.
53196         (logb_test_data): Likewise.
53197         (logb_downward_test_data): Likewise.
53198         (lround_test_data): Likewise.
53199         (llround_test_data): Likewise.
53200         (modf_test_data): Likewise.
53201         (nearbyint_test_data): Likewise.
53202         (nextafter_test_data): Likewise.
53203         (nexttoward_test_data): Likewise.
53204         (pow_test_data): Likewise.
53205         (pow_tonearest_test_data): Likewise.
53206         (pow_towardzero_test_data): Likewise.
53207         (pow_downward_test_data): Likewise.
53208         (pow_upward_test_data): Likewise.
53209         (remainder_test_data): Likewise.
53210         (remainder_tonearest_test_data): Likewise.
53211         (remainder_towardzero_test_data): Likewise.
53212         (remainder_downward_test_data): Likewise.
53213         (remainder_upward_test_data): Likewise.
53214         (remquo_test_data): Likewise.
53215         (rint_test_data): Likewise.
53216         (rint_tonearest_test_data): Likewise.
53217         (rint_towardzero_test_data): Likewise.
53218         (rint_downward_test_data): Likewise.
53219         (rint_upward_test_data): Likewise.
53220         (round_test_data): Likewise.
53221         (scalb_test_data): Likewise.
53222         (scalbn_test_data): Likewise.
53223         (scalbln_test_data): Likewise.
53224         (signbit_test_data): Likewise.
53225         (sin_test_data): Likewise.
53226         (sin_tonearest_test_data): Likewise.
53227         (sin_towardzero_test_data): Likewise.
53228         (sin_downward_test_data): Likewise.
53229         (sin_upward_test_data): Likewise.
53230         (sincos_test_data): Likewise.
53231         (sinh_test_data): Likewise.
53232         (sinh_tonearest_test_data): Likewise.
53233         (sinh_towardzero_test_data): Likewise.
53234         (sinh_downward_test_data): Likewise.
53235         (sinh_upward_test_data): Likewise.
53236         (sqrt_test_data): Likewise.
53237         (tan_test_data): Likewise.
53238         (tan_tonearest_test_data): Likewise.
53239         (tan_towardzero_test_data): Likewise.
53240         (tan_downward_test_data): Likewise.
53241         (tan_upward_test_data): Likewise.
53242         (tanh_test_data): Likewise.
53243         (tgamma_test_data): Likewise.
53244         (trunc_test_data): Likewise.
53245         (y0_test_data): Likewise.
53246         (y1_test_data): Likewise.
53247         (yn_test_data): Likewise.
53248         (significand_test_data): Likewise.
53250         * math/gen-libm-test.pl (@functions): Remove variable.
53251         (generate_testfile): Don't handle START and END lines.
53252         * math/libm-test.inc (START): New macro.
53253         (END): Likewise.
53254         (END_COMPLEX): Likewise.
53255         (acos_test): Use END macro without arguments.
53256         (acos_test_tonearest): Likewise.
53257         (acos_test_towardzero): Likewise.
53258         (acos_test_downward): Likewise.
53259         (acos_test_upward): Likewise.
53260         (acosh_test): Likewise.
53261         (asin_test): Likewise.
53262         (asin_test_tonearest): Likewise.
53263         (asin_test_towardzero): Likewise.
53264         (asin_test_downward): Likewise.
53265         (asin_test_upward): Likewise.
53266         (asinh_test): Likewise.
53267         (atan_test): Likewise.
53268         (atanh_test): Likewise.
53269         (atan2_test): Likewise.
53270         (cabs_test): Likewise.
53271         (cacos_test): Use END_COMPLEX macro without arguments.
53272         (cacosh_test): Likewise.
53273         (carg_test): Use END macro without arguments.
53274         (casin_test): Use END_COMPLEX macro without arguments.
53275         (casinh_test): Likewise.
53276         (catan_test): Likewise.
53277         (catanh_test): Likewise.
53278         (cbrt_test): Use END macro without arguments.
53279         (ccos_test): Use END_COMPLEX macro without arguments.
53280         (ccosh_test): Likewise.
53281         (ceil_test): Use END macro without arguments.
53282         (cexp_test): Use END_COMPLEX macro without arguments.
53283         (cimag_test): Use END macro without arguments.
53284         (clog_test): Use END_COMPLEX macro without arguments.
53285         (clog10_test): Likewise.
53286         (conj_test): Likewise.
53287         (copysign_test): Use END macro without arguments.
53288         (cos_test): Likewise.
53289         (cos_test_tonearest): Likewise.
53290         (cos_test_towardzero): Likewise.
53291         (cos_test_downward): Likewise.
53292         (cos_test_upward): Likewise.
53293         (cosh_test): Likewise.
53294         (cosh_test_tonearest): Likewise.
53295         (cosh_test_towardzero): Likewise.
53296         (cosh_test_downward): Likewise.
53297         (cosh_test_upward): Likewise.
53298         (cpow_test): Use END_COMPLEX macro without arguments.
53299         (cproj_test): Likewise.
53300         (creal_test): Use END macro without arguments.
53301         (csin_test): Use END_COMPLEX macro without arguments.
53302         (csinh_test): Likewise.
53303         (csqrt_test): Likewise.
53304         (ctan_test): Likewise.
53305         (ctan_test_tonearest): Likewise.
53306         (ctan_test_towardzero): Likewise.
53307         (ctan_test_downward): Likewise.
53308         (ctan_test_upward): Likewise.
53309         (ctanh_test): Likewise.
53310         (ctanh_test_tonearest): Likewise.
53311         (ctanh_test_towardzero): Likewise.
53312         (ctanh_test_downward): Likewise.
53313         (ctanh_test_upward): Likewise.
53314         (erf_test): Use END macro without arguments.
53315         (erfc_test): Likewise.
53316         (exp_test): Likewise.
53317         (exp_test_tonearest): Likewise.
53318         (exp_test_towardzero): Likewise.
53319         (exp_test_downward): Likewise.
53320         (exp_test_upward): Likewise.
53321         (exp10_test): Likewise.
53322         (exp2_test): Likewise.
53323         (expm1_test): Likewise.
53324         (fabs_test): Likewise.
53325         (fdim_test): Likewise.
53326         (finite_test): Likewise.
53327         (floor_test): Likewise.
53328         (fma_test): Likewise.
53329         (fma_test_towardzero): Likewise.
53330         (fma_test_downward): Likewise.
53331         (fma_test_upward): Likewise.
53332         (fmax_test): Likewise.
53333         (fmin_test): Likewise.
53334         (fmod_test): Likewise.
53335         (fpclassify_test): Likewise.
53336         (frexp_test): Likewise.
53337         (gamma_test): Likewise.
53338         (hypot_test): Likewise.
53339         (ilogb_test): Likewise.
53340         (isfinite_test): Likewise.
53341         (isgreater_test): Likewise.
53342         (isgreaterequal_test): Likewise.
53343         (isinf_test): Likewise.
53344         (isless_test): Likewise.
53345         (islessequal_test): Likewise.
53346         (islessgreater_test): Likewise.
53347         (isnan_test): Likewise.
53348         (isnormal_test): Likewise.
53349         (issignaling_test): Likewise.
53350         (isunordered_test): Likewise.
53351         (j0_test): Likewise.
53352         (j1_test): Likewise.
53353         (jn_test): Likewise.
53354         (ldexp_test): Likewise.
53355         (lgamma_test): Likewise.
53356         (lrint_test): Likewise.
53357         (lrint_test_tonearest): Likewise.
53358         (lrint_test_towardzero): Likewise.
53359         (lrint_test_downward): Likewise.
53360         (lrint_test_upward): Likewise.
53361         (llrint_test): Likewise.
53362         (llrint_test_tonearest): Likewise.
53363         (llrint_test_towardzero): Likewise.
53364         (llrint_test_downward): Likewise.
53365         (llrint_test_upward): Likewise.
53366         (log_test): Likewise.
53367         (log10_test): Likewise.
53368         (log1p_test): Likewise.
53369         (log2_test): Likewise.
53370         (logb_test): Likewise.
53371         (logb_test_downward): Likewise.
53372         (lround_test): Likewise.
53373         (llround_test): Likewise.
53374         (modf_test): Likewise.
53375         (nearbyint_test): Likewise.
53376         (nextafter_test): Likewise.
53377         (nexttoward_test): Likewise.
53378         (pow_test): Likewise.
53379         (pow_test_tonearest): Likewise.
53380         (pow_test_towardzero): Likewise.
53381         (pow_test_downward): Likewise.
53382         (pow_test_upward): Likewise.
53383         (remainder_test): Likewise.
53384         (remainder_test_tonearest): Likewise.
53385         (remainder_test_towardzero): Likewise.
53386         (remainder_test_downward): Likewise.
53387         (remainder_test_upward): Likewise.
53388         (remquo_test): Likewise.
53389         (rint_test): Likewise.
53390         (rint_test_tonearest): Likewise.
53391         (rint_test_towardzero): Likewise.
53392         (rint_test_downward): Likewise.
53393         (rint_test_upward): Likewise.
53394         (round_test): Likewise.
53395         (scalb_test): Likewise.
53396         (scalbn_test): Likewise.
53397         (scalbln_test): Likewise.
53398         (signbit_test): Likewise.
53399         (sin_test): Likewise.
53400         (sin_test_tonearest): Likewise.
53401         (sin_test_towardzero): Likewise.
53402         (sin_test_downward): Likewise.
53403         (sin_test_upward): Likewise.
53404         (sincos_test): Likewise.
53405         (sinh_test): Likewise.
53406         (sinh_test_tonearest): Likewise.
53407         (sinh_test_towardzero): Likewise.
53408         (sinh_test_downward): Likewise.
53409         (sinh_test_upward): Likewise.
53410         (sqrt_test): Likewise.
53411         (tan_test): Likewise.
53412         (tan_test_tonearest): Likewise.
53413         (tan_test_towardzero): Likewise.
53414         (tan_test_downward): Likewise.
53415         (tan_test_upward): Likewise.
53416         (tanh_test): Likewise.
53417         (tgamma_test): Likewise.
53418         (trunc_test): Likewise.
53419         (y0_test): Likewise.
53420         (y1_test): Likewise.
53421         (yn_test): Likewise.
53422         (significand_test): Likewise.
53424 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53426         [BZ #15381]
53427         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53429 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53431         [BZ #14894]
53432         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53433         __ppc_mdoio and __ppc_mdoom.
53434         * manual/platform.texi: Document new functions __ppc_yield,
53435         __ppc_mdoio and __ppc_mdoom.
53437 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53439         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53440         (main): Mention "tls" pseudo-hwcap is legacy.
53441         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53443 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53445         * math/gen-libm-test.pl (parse_args): Output only string of
53446         arguments as text for test name, not full call or descriptions of
53447         tests for extra outputs.
53448         (generate_testfile): Do not pass function name to parse_args.
53449         Generate this_func variable from START.
53450         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53451         field to arg_str.
53452         (struct test_ff_f_data): Likewise.
53453         (test_ff_f_data_nexttoward): Likewise.
53454         (struct test_fi_f_data): Likewise.
53455         (struct test_fl_f_data): Likewise.
53456         (struct test_if_f_data): Likewise.
53457         (struct test_fff_f_data): Likewise.
53458         (struct test_c_f_data): Likewise.
53459         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53460         (struct test_fF_f1_data): Likewise.
53461         (struct test_ffI_f1_data): Likewise.
53462         (struct test_c_c_data): Rename test_name field to arg_str.
53463         (struct test_cc_c_data): Likewise.
53464         (struct test_f_i_data): Likewise.
53465         (struct test_ff_i_data): Likewise.
53466         (struct test_f_l_data): Likewise.
53467         (struct test_f_L_data): Likewise.
53468         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53469         and extra2_name.
53470         (COMMON_TEST_SETUP): New macro.
53471         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53472         (COMMON_TEST_CLEANUP): Likewise.
53473         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53474         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53475         macros.
53476         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53477         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53478         macros.
53479         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53480         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53481         cleanup macros.
53482         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53483         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53484         macros.
53485         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53486         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53487         macros.
53488         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53489         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53490         cleanup macros.
53491         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53492         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53493         cleanup macros.
53494         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53495         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53496         cleanup macros.
53497         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53498         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53499         macros.
53500         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53501         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53502         macros.
53503         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53504         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53505         macros.
53506         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53507         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53508         cleanup macros.
53509         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53510         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53511         cleanup macros.
53512         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53513         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53514         macros.
53515         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53516         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53517         cleanup macros.
53518         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53519         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53520         macros.
53521         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53522         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53523         macros.
53524         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53525         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53526         cleanup macros.
53527         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53529 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53531         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53532         to _sifields.sigfault.
53533         (si_addr_lsb): Define new macro.
53534         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53538 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53540         [BZ #15441]
53541         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53542         returns -1.
53543         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53544         null return -1.
53545         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53546         loading the domain.
53548 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53550         * math/gen-libm-test.pl (parse_args): Do not include expected
53551         result in test name.
53552         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53554         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53559 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53561         * benchtests/Makefile: Sort function entries.
53563         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53564         tanh, asinh, acosh, atanh.
53565         * benchtests/acos-inputs: New file.
53566         * benchtests/acosh-inputs: New file.
53567         * benchtests/asin-inputs: New file.
53568         * benchtests/asinh-inputs: New file.
53569         * benchtests/atanh-inputs: New file.
53570         * benchtests/cosh-inputs: New file.
53571         * benchtests/log-inputs: New file.
53572         * benchtests/sinh-inputs: New file.
53573         * benchtests/tanh-inputs: New file.
53575 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53577         [BZ #15339]
53578         * posix/tst-getaddrinfo4.c: New test.
53579         * posix/Makefile (tests): Add it.
53581 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53583         [BZ #15339]
53584         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53585         when no services were used.
53586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53587         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53589 2013-05-21  Andreas Schwab  <schwab@suse.de>
53591         [BZ #15014]
53592         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53593         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53594         successful.
53595         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53596         redundant variable declarations and reallocation of buffer when
53597         parsing as IPv6 address.  Always set NSS status when called from
53598         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53599         buffer too small.  Correct computation of needed size.
53600         * nss/Makefile (tests): Add test-digits-dots.
53601         * nss/test-digits-dots.c: New test.
53603 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53605         * benchtests/Makefile: Remove instructions for adding
53606         benchmark tests.
53607         * benchtests/README: New file to explain how to execute and
53608         enhance the benchmark tests.
53610 2013-05-21  Andreas Schwab  <schwab@suse.de>
53612         [BZ #15493]
53613         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53614         * setjmp/tst-sigsetjmp.c: New test.
53616 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53618         * sysdeps/x86_64/memset.S (memset): New implementation.
53619         (__bzero): Likewise.
53620         (__memset_tail): New function.
53622 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53624         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53625         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53626         __memcpy_sse2_unaligned ifunc selection.
53627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53628         Add memcpy-sse2-unaligned.S.
53629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53630         Add: __memcpy_sse2_unaligned.
53632 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53634         [BZ #15490]
53635         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53636         math_force_eval before restoring floating-point envrionment.
53637         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53639         Likewise.
53640         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53641         <math_private.h>.
53642         (__nearbyintl): Use math_force_eval before restoring
53643         floating-point environment.
53644         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53646         * math/gen-libm-test.pl (special_functions): Remove.
53647         (parse_args): Don't handle TEST_extra.  Handle functions with no
53648         return value.
53649         * math/libm-test.inc (struct test_sincos_data): Replace with
53650         struct test_fFF_11_data.
53651         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53652         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53653         (sincos_test_data): Change element type to struct
53654         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53655         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53656         RUN_TEST_LOOP_sincos.
53657         * math/README.libm-test: Don't mention special handling of
53658         individual functions.
53659         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53660         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53661         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53662         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53663         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53666         * math/gen-libm-test.pl (get_variable): Remove function.
53667         (parse_args): Don't show pointer parameters to call in test
53668         names.  Use "extra output N" in test names for extra outputs
53669         rather than naming variables.
53671 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53673         [BZ #15488]
53674         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53675         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53676         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53677         double tests.
53678         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53679         disable.
53680         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53681         check_long_double.
53683         * math/gen-libm-test.pl (@tests): Remove variable.
53684         ($count): Likewise.
53685         (new_test): Remove function.
53686         (show_exceptions): New function.
53687         (special_functions): Use show_exceptions instead of new_test.
53688         (parse_args): Likewise.
53689         (generate_testfile): Pass only function name in generated call to
53690         print_max_error or print_complex_max_error.
53691         (get_ulps): Do not handle complex tests specially.
53692         (output_test): Rename to ...
53693         (get_all_ulps_for_test): ... this.  Return a string rather than
53694         printing to a file.  Require ulps to be present.
53695         (output_ulps): Generate arrays rather than #defines.
53696         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53697         (struct ulp_data): New type.
53698         (BUILD_COMPLEX_ULP): Remove macro.
53699         (compare_ulp_data): New function.
53700         (find_ulps): Likewise.
53701         (find_test_ulps): Likewise.
53702         (find_function_ulps): Likewise.
53703         (find_complex_function_ulps): Likewise.
53704         (print_max_error): Determine allowed ulps using
53705         find_function_ulps.
53706         (print_complex_max_error): Determine allowed ulps using
53707         find_complex_function_ulps.
53708         (check_float_internal): Determine max ulps using find_test_ulps.
53709         (check_float): Do not take max_ulp parameter.  Update call to
53710         check_float_internal.
53711         (check_complex): Likewise.
53712         (check_int): Do not take max_ulp parameter.
53713         (check_long): Likewise.
53714         (check_bool): Likewise.
53715         (check_longlong): Likewise.
53716         (struct test_f_f_data): Remove max_ulp field.
53717         (struct test_ff_f_data): Likewise.
53718         (struct test_ff_f_data_nexttoward): Likewise.
53719         (struct test_fi_f_data): Likewise.
53720         (struct test_fl_f_data): Likewise.
53721         (struct test_if_f_data): Likewise.
53722         (struct test_fff_f_data): Likewise.
53723         (struct test_c_f_data): Likewise.
53724         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53725         (struct test_fF_f1_data): Likewise.
53726         (struct test_ffI_f1_data): Likewise.
53727         (struct test_c_c_data): Remove max_ulp field.
53728         (struct test_cc_c_data): Likewise.
53729         (struct test_f_i_data): Likewise.
53730         (struct test_ff_i_data): Likewise.
53731         (struct test_f_l_data): Likewise.
53732         (struct test_f_L_data): Likewise.
53733         (struct test_sincos_data): Likewise.
53734         (RUN_TEST_f_f): Do not handle ulps.
53735         (RUN_TEST_LOOP_f_f): Likewise.
53736         (RUN_TEST_2_f): Likewise.
53737         (RUN_TEST_LOOP_2_f): Likewise.
53738         (RUN_TEST_fff_f): Likewise.
53739         (RUN_TEST_LOOP_fff_f): Likewise.
53740         (RUN_TEST_c_f): Likewise.
53741         (RUN_TEST_LOOP_c_f): Likewise.
53742         (RUN_TEST_f_f1): Likewise.
53743         (RUN_TEST_LOOP_f_f1): Likewise.
53744         (RUN_TEST_fF_f1): Likewise.
53745         (RUN_TEST_LOOP_fF_f1): Likewise.
53746         (RUN_TEST_fI_f1): Likewise.
53747         (RUN_TEST_LOOP_fI_f1): Likewise.
53748         (RUN_TEST_ffI_f1): Likewise.
53749         (RUN_TEST_LOOP_ffI_f1): Likewise.
53750         (RUN_TEST_c_c): Likewise.
53751         (RUN_TEST_LOOP_c_c): Likewise.
53752         (RUN_TEST_cc_c): Likewise.
53753         (RUN_TEST_LOOP_cc_c): Likewise.
53754         (RUN_TEST_f_i): Likewise.
53755         (RUN_TEST_LOOP_f_i): Likewise.
53756         (RUN_TEST_f_i_tg): Likewise.
53757         (RUN_TEST_LOOP_f_i_tg): Likewise.
53758         (RUN_TEST_ff_i_tg): Likewise.
53759         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53760         (RUN_TEST_f_b): Likewise.
53761         (RUN_TEST_LOOP_f_b): Likewise.
53762         (RUN_TEST_f_b_tg): Likewise.
53763         (RUN_TEST_LOOP_f_b_tg): Likewise.
53764         (RUN_TEST_f_l): Likewise.
53765         (RUN_TEST_LOOP_f_l): Likewise.
53766         (RUN_TEST_f_L): Likewise.
53767         (RUN_TEST_LOOP_f_L): Likewise.
53768         (RUN_TEST_sincos): Likewise.
53769         (RUN_TEST_LOOP_sincos): Likewise.
53771 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53773         [BZ #15480]
53774         [BZ #15485]
53775         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53776         main case of finite arguments, set rounding mode to FE_TONEAREST
53777         and discard exceptions.
53778         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53779         exceptions.
53780         (remainder_tonearest_test_data): New variable.
53781         (remainder_test_tonearest): New function.
53782         (remainder_towardzero_test_data): New variable.
53783         (remainder_test_towardzero): New function.
53784         (remainder_downward_test_data): New variable.
53785         (remainder_test_downward): New function.
53786         (remainder_upward_test_data): New variable.
53787         (remainder_test_upward): New function.
53788         (main): Call the new test functions.
53790         * math/libm-test.inc (struct test_f_f1_data): Remove field
53791         extra_init.
53792         (struct test_fF_f1_data): Likewise.
53793         (struct test_ffI_f1_data): Likewise.
53794         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53795         based on value of EXTRA_EXPECTED.
53796         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53797         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53798         EXTRA_VAR based on value of EXTRA_EXPECTED.
53799         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53800         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53801         EXTRA_VAR based on value of EXTRA_EXPECTED.
53802         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53803         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53804         EXTRA_VAR based on value of EXTRA_EXPECTED.
53805         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53806         * math/gen-libm-test.pl (parse_args): Don't output initializers
53807         for extra output values.
53809         * math/libm-test.inc (check_int): Expect result to be exactly
53810         equal to expected value and do not handle ulps.
53811         (check_long): Likewise.
53812         (check_longlong): Likewise.
53814         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53815         exceptions.
53816         (cimag_test_data): Likewise.
53817         (conj_test_data): Likewise.
53818         (copysign_test_data): Likewise.
53819         (cproj_test_data): Likewise.
53820         (creal_test_data): Likewise.
53821         (fabs_test_data): Likewise.
53822         (fdim_test_data): Likewise.
53823         (finite_test_data): Likewise.
53824         (floor_test_data): Likewise.
53825         (fmax_test_data): Likewise.
53826         (fmin_test_data): Likewise.
53827         (fmod_test_data): Likewise.
53828         (fpclassify_test_data): Likewise.
53829         (frexp_test_data): Likewise.
53830         (ilogb_test_data): Likewise.
53831         (isfinite_test_data): Likewise.
53832         (isgreater_test_data): Likewise.
53833         (isgreaterequal_test_data): Likewise.
53834         (isinf_test_data): Likewise.
53835         (isless_test_data): Likewise.
53836         (islessequal_test_data): Likewise.
53837         (islessgreater_test_data): Likewise.
53838         (isnan_test_data): Likewise.
53839         (isnormal_test_data): Likewise.
53840         (issignaling_test_data): Likewise.
53841         (isunordered_test_data): Likewise.
53842         (ldexp_test_data): Likewise.
53843         (lrint_test_data): Likewise.
53844         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53845         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53846         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53847         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53848         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53849         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53850         test input.
53851         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53852         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53853         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53854         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53855         that test input.
53856         (lrint_downward_test_data): Test for "inexact" exceptions.
53857         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53858         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53859         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53860         test input.
53861         (lrint_upward_test_data): Test for "inexact" exceptions.
53862         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53863         test input.
53864         (llrint_test_data): Test for "inexact" exceptions.
53865         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53866         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53867         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53868         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53869         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53870         (llrint_downward_test_data): Test for "inexact" exceptions.
53871         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53872         (llrint_upward_test_data): Test for "inexact" exceptions.
53873         (logb_test_data): Likewise.
53874         (logb_downward_test_data): Likewise.
53875         (nextafter_test_data): Likewise.
53876         (nexttoward_test_data): Likewise.
53877         (remainder_test_data): Likewise.
53878         (remquo_test_data): Likewise.
53879         (scalbn_test_data): Likewise.
53880         (scalbln_test_data): Likewise.
53881         (signbit_test_data): Likewise.
53882         (sqrt_test_data): Likewise.
53883         (significand_test_data): Likewise.
53885 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53887         [BZ #15424]
53888         * benchtests/bench-modf.c (struct args): Mark arg0 as
53889         volatile.
53890         * scripts/bench.pl: Mark members of struct args as volatile.
53892 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53894         [BZ # 15497]
53895         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53896         negative infinity on POWER6 or lower.
53897         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53899 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53901         [BZ #15442]
53902         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53903         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53904         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53905         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53906         (_FP_SETQNAN): New macro.
53907         (_FP_SETQNAN_SEMIRAW): Likewise.
53908         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53909         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53910         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53911         (FP_EXTEND): Use _FP_FRAC_SNANP.
53912         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53913         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53914         into account.
53915         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53916         New macro.
53917         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53918         Likewise.
53920 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53922         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53923         with DIVIDE_BY_ZERO_EXCEPTION.
53924         (gamma_test_data): Likewise.
53925         (lgamma_test_data): Likewise.
53926         (log_test_data): Likewise.
53927         (log10_test_data): Likewise.
53928         (log2_test_data): Likewise.
53929         (tgamma_test_data): Likewise.
53931         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53932         (acos_test_tonearest): Likewise.
53933         (acos_test_towardzero): Likewise.
53934         (acos_test_downward): Likewise.
53935         (acos_test_upward): Likewise.
53936         (acosh_test): Likewise.
53937         (asin_test): Likewise.
53938         (asin_test_tonearest): Likewise.
53939         (asin_test_towardzero): Likewise.
53940         (asin_test_downward): Likewise.
53941         (asin_test_upward): Likewise.
53942         (asinh_test): Likewise.
53943         (atan_test): Likewise.
53944         (atanh_test): Likewise.
53945         (atan2_test): Likewise.
53946         (cabs_test): Likewise.
53947         (cacos_test): Likewise.
53948         (cacosh_test): Likewise.
53949         (casin_test): Likewise.
53950         (casinh_test): Likewise.
53951         (catan_test): Likewise.
53952         (catanh_test): Likewise.
53953         (cbrt_test): Likewise.
53954         (ccos_test): Likewise.
53955         (ccosh_test): Likewise.
53956         (cexp_test): Likewise.
53957         (clog_test): Likewise.
53958         (clog10_test): Likewise.
53959         (cos_test): Likewise.
53960         (cos_test_tonearest): Likewise.
53961         (cos_test_towardzero): Likewise.
53962         (cos_test_downward): Likewise.
53963         (cos_test_upward): Likewise.
53964         (cosh_test): Likewise.
53965         (cosh_test_tonearest): Likewise.
53966         (cosh_test_towardzero): Likewise.
53967         (cosh_test_downward): Likewise.
53968         (cosh_test_upward): Likewise.
53969         (cpow_test): Likewise.
53970         (csin_test): Likewise.
53971         (csinh_test): Likewise.
53972         (csqrt_test): Likewise.
53973         (ctan_test): Likewise.
53974         (ctan_test_tonearest): Likewise.
53975         (ctan_test_towardzero): Likewise.
53976         (ctan_test_downward): Likewise.
53977         (ctan_test_upward): Likewise.
53978         (ctanh_test): Likewise.
53979         (ctanh_test_tonearest): Likewise.
53980         (ctanh_test_towardzero): Likewise.
53981         (ctanh_test_downward): Likewise.
53982         (ctanh_test_upward): Likewise.
53983         (erf_test): Likewise.
53984         (erfc_test): Likewise.
53985         (exp_test): Likewise.
53986         (exp_test_tonearest): Likewise.
53987         (exp_test_towardzero): Likewise.
53988         (exp_test_downward): Likewise.
53989         (exp_test_upward): Likewise.
53990         (exp10_test): Likewise.
53991         (exp2_test): Likewise.
53992         (expm1_test): Likewise.
53993         (fmod_test): Likewise.
53994         (gamma_test): Likewise.
53995         (hypot_test): Likewise.
53996         (j0_test): Likewise.
53997         (j1_test): Likewise.
53998         (jn_test): Likewise.
53999         (lgamma_test): Likewise.
54000         (log_test): Likewise.
54001         (log10_test): Likewise.
54002         (log1p_test): Likewise.
54003         (log2_test): Likewise.
54004         (logb_test_downward): Likewise.
54005         (pow_test): Likewise.
54006         (pow_test_tonearest): Likewise.
54007         (pow_test_towardzero): Likewise.
54008         (pow_test_downward): Likewise.
54009         (pow_test_upward): Likewise.
54010         (remainder_test): Likewise.
54011         (remquo_test): Likewise.
54012         (sin_test): Likewise.
54013         (sin_test_tonearest): Likewise.
54014         (sin_test_towardzero): Likewise.
54015         (sin_test_downward): Likewise.
54016         (sin_test_upward): Likewise.
54017         (sincos_test): Likewise.
54018         (sinh_test): Likewise.
54019         (sinh_test_tonearest): Likewise.
54020         (sinh_test_towardzero): Likewise.
54021         (sinh_test_downward): Likewise.
54022         (sinh_test_upward): Likewise.
54023         (sqrt_test): Likewise.
54024         (tan_test): Likewise.
54025         (tan_test_tonearest): Likewise.
54026         (tan_test_towardzero): Likewise.
54027         (tan_test_downward): Likewise.
54028         (tan_test_upward): Likewise.
54029         (tanh_test): Likewise.
54030         (tgamma_test): Likewise.
54031         (y0_test): Likewise.
54032         (y1_test): Likewise.
54033         (yn_test): Likewise.
54035         * math/gen-libm-test.pl (adjust_arg): Remove function.
54036         (special_function): Remove argument $in_func.  Only handle
54037         generating output for tables of tests, not inside functions.
54038         (parse_args): Likewise.
54039         (generate_testfile): Remove variable $in_func.  Update call to
54040         parse_args.
54041         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54042         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54043         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54044         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54045         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54046         (MAX_VALUE_INIT): Rename macro to max_value.
54047         (MIN_VALUE_INIT): Rename macro to min_value.
54048         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54049         (plus_zero): Remove variable.
54050         (minus_zero): Likewise.
54051         (plus_infty): Likewise.
54052         (minus_infty): Likewise.
54053         (qnan_value): Likewise.
54054         (max_value): Likewise.
54055         (min_value): Likewise.
54056         (min_subnorm_value): Likewise.
54058 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54060         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54061         uint64_t or uint32_t usage.
54062         * crypt/sha256-block.c: Likewise.
54063         * crypt/sha256-crypt.c: Likewise.
54064         * crypt/sha256.c: Likewise.
54065         * crypt/sha512-block.c: Likewise.
54066         * crypt/sha512-crypt.c: Likewise.
54067         * crypt/sha512.c: Likewise.
54068         * debug/backtrace-tst.c: Likewise.
54069         * debug/pcprofiledump.c: Likewise.
54070         * elf/cache.c: Likewise.
54071         * elf/dl-cache.c: Likewise.
54072         * elf/dl-misc.c: Likewise.
54073         * elf/dl-profile.c: Likewise.
54074         * elf/dl-support.c: Likewise.
54075         * elf/ldconfig.c: Likewise.
54076         * elf/sprof.c: Likewise.
54077         * iconv/dummy-repertoire.c: Likewise.
54078         * iconv/iconv_charmap.c: Likewise.
54079         * iconv/skeleton.c: Likewise.
54080         * iconvdata/8bit-generic.c: Likewise.
54081         * iconvdata/cp737.h: Likewise.
54082         * iconvdata/cp775.h: Likewise.
54083         * iconvdata/ibm1008.h: Likewise.
54084         * iconvdata/ibm1025.h: Likewise.
54085         * iconvdata/ibm1046.h: Likewise.
54086         * iconvdata/ibm1097.h: Likewise.
54087         * iconvdata/ibm1112.h: Likewise.
54088         * iconvdata/ibm1122.h: Likewise.
54089         * iconvdata/ibm1123.h: Likewise.
54090         * iconvdata/ibm1124.h: Likewise.
54091         * iconvdata/ibm1129.h: Likewise.
54092         * iconvdata/ibm1130.h: Likewise.
54093         * iconvdata/ibm1132.h: Likewise.
54094         * iconvdata/ibm1133.h: Likewise.
54095         * iconvdata/ibm1137.h: Likewise.
54096         * iconvdata/ibm1140.h: Likewise.
54097         * iconvdata/ibm1141.h: Likewise.
54098         * iconvdata/ibm1142.h: Likewise.
54099         * iconvdata/ibm1143.h: Likewise.
54100         * iconvdata/ibm1144.h: Likewise.
54101         * iconvdata/ibm1145.h: Likewise.
54102         * iconvdata/ibm1146.h: Likewise.
54103         * iconvdata/ibm1147.h: Likewise.
54104         * iconvdata/ibm1148.h: Likewise.
54105         * iconvdata/ibm1149.h: Likewise.
54106         * iconvdata/ibm1153.h: Likewise.
54107         * iconvdata/ibm1154.h: Likewise.
54108         * iconvdata/ibm1155.h: Likewise.
54109         * iconvdata/ibm1156.h: Likewise.
54110         * iconvdata/ibm1157.h: Likewise.
54111         * iconvdata/ibm1158.h: Likewise.
54112         * iconvdata/ibm1160.h: Likewise.
54113         * iconvdata/ibm1161.h: Likewise.
54114         * iconvdata/ibm1162.h: Likewise.
54115         * iconvdata/ibm1163.h: Likewise.
54116         * iconvdata/ibm1164.h: Likewise.
54117         * iconvdata/ibm1166.h: Likewise.
54118         * iconvdata/ibm1167.h: Likewise.
54119         * iconvdata/ibm12712.h: Likewise.
54120         * iconvdata/ibm1390.h: Likewise.
54121         * iconvdata/ibm1399.h: Likewise.
54122         * iconvdata/ibm16804.h: Likewise.
54123         * iconvdata/ibm4517.h: Likewise.
54124         * iconvdata/ibm4899.h: Likewise.
54125         * iconvdata/ibm4909.h: Likewise.
54126         * iconvdata/ibm4971.h: Likewise.
54127         * iconvdata/ibm5347.h: Likewise.
54128         * iconvdata/ibm803.h: Likewise.
54129         * iconvdata/ibm856.h: Likewise.
54130         * iconvdata/ibm901.h: Likewise.
54131         * iconvdata/ibm902.h: Likewise.
54132         * iconvdata/ibm9030.h: Likewise.
54133         * iconvdata/ibm9066.h: Likewise.
54134         * iconvdata/ibm921.h: Likewise.
54135         * iconvdata/ibm922.h: Likewise.
54136         * iconvdata/ibm9448.h: Likewise.
54137         * iconvdata/isiri-3342.h: Likewise.
54138         * iconvdata/jis0201.h: Likewise.
54139         * include/link.h: Likewise.
54140         * include/netdb.h: Likewise.
54141         * inet/check_native.c: Likewise.
54142         * inet/check_pf.c: Likewise.
54143         * inet/getipv4sourcefilter.c: Likewise.
54144         * inet/getnameinfo.c: Likewise.
54145         * inet/getsourcefilter.c: Likewise.
54146         * inet/htonl.c: Likewise.
54147         * inet/setipv4sourcefilter.c: Likewise.
54148         * inet/setsourcefilter.c: Likewise.
54149         * inet/test-inet6_opt.c: Likewise.
54150         * inet/tst-network.c: Likewise.
54151         * locale/C-collate.c: Likewise.
54152         * locale/C-ctype.c: Likewise.
54153         * locale/C-time.c: Likewise.
54154         * locale/C-translit.h: Likewise.
54155         * locale/loadarchive.c: Likewise.
54156         * locale/programs/3level.h: Likewise.
54157         * locale/programs/charmap.c: Likewise.
54158         * locale/programs/charmap.h: Likewise.
54159         * locale/programs/ld-address.c: Likewise.
54160         * locale/programs/ld-collate.c: Likewise.
54161         * locale/programs/ld-ctype.c: Likewise.
54162         * locale/programs/ld-identification.c: Likewise.
54163         * locale/programs/ld-measurement.c: Likewise.
54164         * locale/programs/ld-messages.c: Likewise.
54165         * locale/programs/ld-monetary.c: Likewise.
54166         * locale/programs/ld-name.c: Likewise.
54167         * locale/programs/ld-numeric.c: Likewise.
54168         * locale/programs/ld-paper.c: Likewise.
54169         * locale/programs/ld-telephone.c: Likewise.
54170         * locale/programs/ld-time.c: Likewise.
54171         * locale/programs/linereader.c: Likewise.
54172         * locale/programs/locale.c: Likewise.
54173         * locale/programs/locarchive.c: Likewise.
54174         * locale/programs/locfile.h: Likewise.
54175         * locale/programs/repertoire.c: Likewise.
54176         * locale/programs/simple-hash.c: Likewise.
54177         * locale/programs/simple-hash.h: Likewise.
54178         * malloc/memusage.c: Likewise.
54179         * malloc/memusagestat.c: Likewise.
54180         * nis/nis_defaults.c: Likewise.
54181         * nis/nis_hash.c: Likewise.
54182         * nis/nis_print.c: Likewise.
54183         * nis/nis_xdr.c: Likewise.
54184         * nscd/connections.c: Likewise.
54185         * nscd/hstcache.c: Likewise.
54186         * nscd/nscd_gethst_r.c: Likewise.
54187         * nscd/nscd_getserv_r.c: Likewise.
54188         * nscd/nscd_helper.c: Likewise.
54189         * nscd/servicescache.c: Likewise.
54190         * nss/makedb.c: Likewise.
54191         * nss/nss_db/db-XXX.c: Likewise.
54192         * nss/nss_db/db-initgroups.c: Likewise.
54193         * nss/nss_db/db-netgrp.c: Likewise.
54194         * nss/nss_files/files-network.c: Likewise.
54195         * nss/nss_files/files-parse.c: Likewise.
54196         * posix/bug-regex5.c: Likewise.
54197         * posix/fnmatch_loop.c: Likewise.
54198         * posix/regcomp.c: Likewise.
54199         * posix/regexec.c: Likewise.
54200         * posix/tst-rfc3484-2.c: Likewise.
54201         * posix/tst-rfc3484-3.c: Likewise.
54202         * posix/tst-rfc3484.c: Likewise.
54203         * resolv/nss_dns/dns-canon.c: Likewise.
54204         * resolv/nss_dns/dns-network.c: Likewise.
54205         * resolv/res_init.c: Likewise.
54206         * resolv/res_mkquery.c: Likewise.
54207         * resolv/tst-aton.c: Likewise.
54208         * stdlib/cxa_atexit.c: Likewise.
54209         * stdlib/cxa_finalize.c: Likewise.
54210         * stdlib/gen-fpioconst.c: Likewise.
54211         * stdlib/strtol_l.c: Likewise.
54212         * string/tst-endian.c: Likewise.
54213         * sunrpc/auth_des.c: Likewise.
54214         * sunrpc/clnt_udp.c: Likewise.
54215         * sunrpc/rtime.c: Likewise.
54216         * sunrpc/svcauth_des.c: Likewise.
54217         * sunrpc/xdr.c: Likewise.
54218         * sunrpc/xdr_intXX_t.c: Likewise.
54219         * sunrpc/xdr_rec.c: Likewise.
54220         * sysdeps/generic/ldconfig.h: Likewise.
54221         * sysdeps/generic/ldsodefs.h: Likewise.
54222         * sysdeps/generic/memusage.h: Likewise.
54223         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54226         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54231         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54233         * sysdeps/posix/getaddrinfo.c: Likewise.
54234         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54235         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54236         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54237         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54238         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54239         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54240         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54241         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54242         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54243         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54244         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54245         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54246         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54247         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54248         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54249         * sysdeps/x86_64/dl-tls.h: Likewise.
54250         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54251         * time/alt_digit.c: Likewise.
54252         * time/era.c: Likewise.
54253         * wcsmbs/tst-c16c32-1.c: Likewise.
54255 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54257         * math/libm-test.inc (struct test_sincos_data): New type.
54258         (RUN_TEST_LOOP_sincos): New macro.
54259         (sincos_test_data): New variable.
54260         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54262 2013-05-16  Richard Henderson  <rth@redhat.com>
54264         * math/atest-exp2.c (LIMB64): New macro.
54265         (CONSTSZ): New macro.
54266         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54267         (hexdig): Move ...
54268         (print_mpn_fp): ... to function scope.
54269         (read_mpn_hex): Remove.
54270         (get_log2): Remove.
54271         (exp2_mpn): Use mp_log2.
54272         (main): Use mp_exp1.
54274 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54276         * math/libm-test.inc: Remove comment about not testing "inexact"
54277         exceptions.
54278         (INEXACT_EXCEPTION): New macro.
54279         (NO_INEXACT_EXCEPTION): Likewise.
54280         (INVALID_EXCEPTION_OK): Update value.
54281         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54282         (OVERFLOW_EXCEPTION_OK): Likewise.
54283         (UNDERFLOW_EXCEPTION_OK): Likewise.
54284         (IGNORE_ZERO_INF_SIGN): Likewise.
54285         (ERRNO_UNCHANGED): Likewise.
54286         (ERRNO_EDOM): Likewise.
54287         (ERRNO_ERANGE): Likewise.
54288         (test_exceptions): Handle testing "inexact" exceptions.
54289         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54290         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54291         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54292         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54293         INEXACT_EXCEPTION.
54294         (rint_towardzero_test_data): Likewise.
54295         (rint_downward_test_data): Likewise.
54296         (rint_upward_test_data): Likewise.
54298         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54299         with OVERFLOW_EXCEPTION.
54300         (exp10_test_data): Likewise.
54301         (exp2_test_data): Likewise.
54302         (expm1_test_data): Likewise.
54303         (lgamma_test_data): Likewise.
54304         (pow_test_data): Likewise.
54305         (tgamma_test_data): Likewise.
54306         (yn_test_data): Remove duplicate test of overflow.
54308         * math/libm-test.inc (struct test_cc_c_data): New type.
54309         (RUN_TEST_LOOP_cc_c): New macro.
54310         (cpow_test_data): New variable.
54311         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54313         * math/libm-test.inc (struct test_f_L_data): New type.
54314         (RUN_TEST_LOOP_f_L): New macro.
54315         (llrint_test_data): New variable.
54316         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54317         (llrint_tonearest_test_data): New variable.
54318         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54319         (llrint_towardzero_test_data): New variable.
54320         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54321         (llrint_downward_test_data): New variable.
54322         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54323         (llrint_upward_test_data): New variable.
54324         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54325         (llround_test_data): New variable.
54326         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54328 2013-05-13  Peter Collingbourne  <pcc@google.com>
54330         * math/atest-exp2.c (get_log2): Remove const attribute.
54332 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54334         * math/libm-test.inc (struct test_f_l_data): New type.
54335         (RUN_TEST_LOOP_f_l): New macro.
54336         (lrint_test_data): New variable.
54337         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54338         (lrint_tonearest_test_data): New variable.
54339         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54340         (lrint_towardzero_test_data): New variable.
54341         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54342         (lrint_downward_test_data): New variable.
54343         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54344         (lrint_upward_test_data): New variable.
54345         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54346         (lround_test_data): New variable.
54347         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54349 2013-05-15  Peter Collingbourne  <pcc@google.com>
54351         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54352         (EXTRACT_WORDS64) Use where appropriate.
54353         (INSERT_WORDS64) Likewise.
54355         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54356         constraints with x constraints.
54357         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54359         * malloc/obstack.c (_obstack_compat): Add initializer.
54361 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54363         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54364         si_trapno and add si_addr_lsb to _sifields.sigfault.
54365         (si_trapno): Remove macro.
54366         (si_addr_lsb): Define new macro.
54367         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54369 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54371         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54372         instead of TEST_f_l.
54373         (llrint_test_tonearest): Likewise.
54374         (llrint_test_towardzero): Likewise.
54375         (llrint_test_downward): Likewise.
54376         (llrint_test_upward): Likewise.
54377         (llround_test): Likewise.
54379         * math/libm-test.inc (struct test_f_i_data): Add comment.
54380         (RUN_TEST_LOOP_f_b): New macro.
54381         (RUN_TEST_LOOP_f_b_tg): Likewise.
54382         (finite_test_data): New variable.
54383         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54384         (isfinite_test_data): New variable.
54385         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54386         (isinf_test_data): New variable.
54387         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54388         (isnan_test_data): New variable.
54389         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54390         (isnormal_test_data): New variable.
54391         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54392         (issignaling_test_data): New variable.
54393         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54394         (signbit_test_data): New variable.
54395         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54397         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54398         with INVALID_EXCEPTION.
54399         (acosh_test_data): Likewise.
54400         (asin_test_data): Likewise.
54401         (atanh_test_data): Likewise.
54402         (fmod_test_data): Likewise.
54403         (log_test_data): Likewise.
54404         (log10_test_data): Likewise.
54405         (log2_test_data): Likewise.
54406         (pow_test_data): Likewise.
54407         (sqrt_test_data): Likewise.
54408         (y0_test_data): Likewise.
54409         (y1_test_data): Likewise.
54410         (yn_test_data): Likewise.
54412         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54413         function contents.
54415         * math/libm-test.inc (struct test_ff_i_data): New type.
54416         (RUN_TEST_LOOP_ff_i_tg): New macro.
54417         (isgreater_test_data): New variable.
54418         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54419         (isgreaterequal_test_data): New variable.
54420         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54421         (isless_test_data): New variable.
54422         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54423         (islessequal_test_data): New variable.
54424         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54425         (islessgreater_test_data): New variable.
54426         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54427         (isunordered_test_data): New variable.
54428         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54430 2013-05-14  David S. Miller  <davem@davemloft.net>
54432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54434 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54436         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54438         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54439         extra_test to int.
54440         (struct test_f_i_data): Change type of max_ulp to int.
54442         * math/libm-test.inc (test_ffI_f1_data): New type.
54443         (RUN_TEST_LOOP_ffI_f1): New macro.
54444         (remquo_test_data): New variable.
54445         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54447         * setjmp/tst-setjmp-fp.c: New file.
54448         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54449         (link-libm): New variable.
54450         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54452         * math/libm-test.inc (struct test_f_i_data): New type.
54453         (RUN_TEST_LOOP_f_i): New macro.
54454         (RUN_TEST_LOOP_f_i_tg): Likewise.
54455         (fpclassify_test_data): New variable.
54456         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54457         (ilogb_test_data): New variable.
54458         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54460         * math/libm-test.inc (scalbln_test): Correct function name in END
54461         call.
54463         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54464         (RUN_TEST_LOOP_fI_f1): New macro.
54465         (frexp_test_data): New variable.
54466         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54468         * math/libm-test.inc (struct test_fF_f1_data): New type.
54469         (RUN_TEST_LOOP_fF_f1): New macro.
54470         (modf_test_data): New variable.
54471         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54473         * math/libm-test.inc (struct test_f_f1_data): New type.
54474         (RUN_TEST_LOOP_f_f1): New macro.
54475         (gamma_test_data): New variable.
54476         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54477         (lgamma_test_data): New variable.
54478         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54480 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54482         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54483         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54484         (main): Comment "tls" pseudo-hwcap.
54486 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54488         * math/libm-test.inc (struct test_fl_f_data): New type.
54489         (RUN_TEST_LOOP_fl_f): New variable.
54490         (scalbln_test_data): New variable.
54491         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54493         * math/libm-test.inc (struct test_fi_f_data): New type.
54494         (RUN_TEST_LOOP_fi_f): New macro.
54495         (ldexp_test_data): New variable.
54496         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54497         (scalbn_test_data): New variable.
54498         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54500         * math/libm-test.inc (struct test_c_f_data): New type.
54501         (RUN_TEST_LOOP_c_f): New macro.
54502         (cabs_test_data): New variable.
54503         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54504         (carg_test_data): New variable.
54505         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54506         (cimag_test_data): New variable.
54507         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54508         (creal_test_data): New variable.
54509         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54511         * math/libm-test.inc (struct test_if_f_data): New type.
54512         (RUN_TEST_LOOP_if_f): New macro.
54513         (jn_test_data): New variable.
54514         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54515         (yn_test_data): New variable.
54516         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54518         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54520 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54522         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54523         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54525 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54528         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54529         (bench-deps): Add bench-timing.h.
54530         * benchtests-bench-skeleton.c: Include bench-timing.h.
54531         (main): Use TIMING_* macros instead of clock_gettime.
54532         * benchtests/bench-timing.h: New file.
54534         [BZ #14582]
54535         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54536         Renamed from _LIB_VERSION.
54537         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54539 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54541         * math/libm-test.inc (struct test_fff_f_data): New type.
54542         (RUN_TEST_LOOP_fff_f): New macro.
54543         (fma_test_data): New variable.
54544         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54545         (fma_towardzero_test_data): New variable.
54546         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54547         (fma_downward_test_data): New variable.
54548         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54549         (fma_upward_test_data): New variable.
54550         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54552         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54553         (struct test_c_c_data): New type.
54554         (RUN_TEST_LOOP_c_c): New macro.
54555         (cacos_test_data): New variable.
54556         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54557         (cacosh_test_data): New variable.
54558         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54559         (casin_test_data): New variable.
54560         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54561         (casinh_test_data): New variable.
54562         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54563         (catan_test_data): New variable.
54564         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54565         (catanh_test_data): New variable.
54566         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54567         (ccos_test_data): New variable.
54568         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54569         (ccosh_test_data): New variable.
54570         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54571         (cexp_test_data): New variable.
54572         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54573         (clog_test_data): New variable.
54574         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54575         (clog10_test_data): New variable.
54576         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54577         (conj_test_data): New variable.
54578         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54579         (cproj_test_data): New variable.
54580         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54581         (csin_test_data): New variable.
54582         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54583         (csinh_test_data): New variable.
54584         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54585         (csqrt_test_data): New variable.
54586         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54587         (ctan_test_data): New variable.
54588         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54589         (ctan_tonearest_test_data): New variable.
54590         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54591         (ctan_towardzero_test_data): New variable.
54592         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54593         (ctan_downward_test_data): New variable.
54594         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54595         (ctan_upward_test_data): New variable.
54596         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54597         (ctanh_test_data): New variable.
54598         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54599         (ctanh_tonearest_test_data): New variable.
54600         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54601         (ctanh_towardzero_test_data): New variable.
54602         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54603         (ctanh_downward_test_data): New variable.
54604         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54605         (ctanh_upward_test_data): New variable.
54606         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54607         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54608         of BUILD_COMPLEX.
54610         * math/libm-test.inc (struct test_ff_f_data): New type.
54611         (struct test_ff_f_data_nexttoward): Likewise.
54612         (RUN_TEST_LOOP_2_f): New macro.
54613         (RUN_TEST_LOOP_ff_f): Likewise.
54614         (atan2_test_data): New variable.
54615         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54616         (copysign_test_data): New variable.
54617         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54618         (fdim_test_data): New variable.
54619         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54620         (fmax_test_data): New variable.
54621         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54622         (fmin_test_data): New variable.
54623         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54624         (fmod_test_data): New variable.
54625         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54626         (hypot_test_data): New variable.
54627         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54628         (nextafter_test_data): New variable.
54629         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54630         (nexttoward_test_data): New variable.
54631         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54632         (pow_test_data): New variable.
54633         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54634         (pow_tonearest_test_data): New variable.
54635         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54636         (pow_towardzero_test_data): New variable.
54637         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54638         (pow_downward_test_data): New variable.
54639         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54640         (pow_upward_test_data): New variable.
54641         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54642         (remainder_test_data): New variable.
54643         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54644         (scalb_test_data): New variable.
54645         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54646         * sysdeps/i386/fpu/libm-test-ulps: Update.
54648 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54650         * math/libm-test.inc (fma_test): Use max_value instead of local
54651         variable fltmax.
54652         (nextafter_test): Likewise.
54654         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54655         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54656         (acos_downward_test_data): New variable.
54657         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54658         (acos_upward_test_data): New variable.
54659         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54660         (acosh_test_data): New variable.
54661         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54662         (asin_test_data): New variable.
54663         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54664         (asin_tonearest_test_data): New variable.
54665         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54666         (asin_towardzero_test_data): New variable.
54667         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54668         (asin_downward_test_data): New variable.
54669         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54670         (asin_upward_test_data): New variable.
54671         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54672         (asinh_test_data): New variable.
54673         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54674         (atan_test_data): New variable.
54675         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54676         (atanh_test_data): New variable.
54677         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54678         (cbrt_test_data): New variable.
54679         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54680         (ceil_test_data): New variable.
54681         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54682         (cos_test_data): New variable.
54683         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54684         (cos_tonearest_test_data): New variable.
54685         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54686         (cos_towardzero_test_data): New variable.
54687         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54688         (cos_downward_test_data): New variable.
54689         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54690         (cos_upward_test_data): New variable.
54691         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54692         (cosh_test_data): New variable.
54693         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54694         (cosh_tonearest_test_data): New variable.
54695         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54696         (cosh_towardzero_test_data): New variable.
54697         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54698         (cosh_downward_test_data): New variable.
54699         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54700         (cosh_upward_test_data): New variable.
54701         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54702         (erf_test_data): New variable.
54703         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54704         (erfc_test_data): New variable.
54705         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54706         (exp_test_data): New variable.
54707         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54708         (exp_tonearest_test_data): New variable.
54709         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54710         (exp_towardzero_test_data): New variable.
54711         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54712         (exp_downward_test_data): New variable.
54713         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54714         (exp_upward_test_data): New variable.
54715         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54716         (exp10_test_data): New variable.
54717         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54718         (exp2_test_data): New variable.
54719         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54720         (expm1_test_data): New variable.
54721         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54722         (fabs_test_data): New variable.
54723         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54724         (floor_test_data): New variable.
54725         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54726         (j0_test_data): New variable.
54727         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54728         (j1_test_data): New variable.
54729         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54730         (log_test_data): New variable.
54731         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54732         (log10_test_data): New variable.
54733         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54734         (log1p_test_data): New variable.
54735         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54736         (log2_test_data): New variable.
54737         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54738         (logb_test_data): New variable.
54739         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54740         (logb_downward_test_data): New variable.
54741         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54742         (nearbyint_test_data): New variable.
54743         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54744         (rint_test_data): New variable.
54745         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54746         (rint_tonearest_test_data): New variable.
54747         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54748         (rint_towardzero_test_data): New variable.
54749         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54750         (rint_downward_test_data): New variable.
54751         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54752         (rint_upward_test_data): New variable.
54753         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54754         (round_test_data): New variable.
54755         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54756         (sin_test_data): New variable.
54757         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54758         (sin_tonearest_test_data): New variable.
54759         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54760         (sin_towardzero_test_data): New variable.
54761         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54762         (sin_downward_test_data): New variable.
54763         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54764         (sin_upward_test_data): New variable.
54765         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54766         (sinh_test_data): New variable.
54767         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54768         (sinh_tonearest_test_data): New variable.
54769         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54770         (sinh_towardzero_test_data): New variable.
54771         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54772         (sinh_downward_test_data): New variable.
54773         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54774         (sinh_upward_test_data): New variable.
54775         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54776         (sqrt_test_data): New variable.
54777         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54778         (tan_test_data): New variable.
54779         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54780         (tan_tonearest_test_data): New variable.
54781         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54782         (tan_towardzero_test_data): New variable.
54783         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54784         (tan_downward_test_data): New variable.
54785         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54786         (tan_upward_test_data): New variable.
54787         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54788         (tanh_test_data): New variable.
54789         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54790         (tgamma_test_data): New variable.
54791         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54792         (trunc_test_data): New variable.
54793         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54794         (y0_test_data): New variable.
54795         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54796         (y1_test_data): New variable.
54797         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54798         (significand_test_data): New variable.
54799         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54801 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54803         [BZ #12387]
54804         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54806 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54808         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54810 2013-05-10  Andreas Jaeger  <aj@suse.de>
54812         [BZ #15448]
54813         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54814         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54816 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54818         * math/gen-libm-test.pl (adjust_arg): New function.
54819         (special_functions): Handle generating output in both functions
54820         and arrays.
54821         (parse_args): Likewise.
54822         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54823         $in_func argument to parse_args.
54824         * math/libm-test.inc (struct test_f_f_data): New type.
54825         (IF_ROUND_INIT_): New macro.
54826         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54827         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54828         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54829         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54830         (ROUND_RESTORE_): Likewise.
54831         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54832         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54833         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54834         (ROUND_RESTORE_FE_UPWARD): Likewise.
54835         (RUN_TEST_LOOP_f_f): New macro.
54836         (acos_test_data): New variable.
54837         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54838         (acos_tonearest_test_data): New variable.
54839         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54841 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54843         * benchtests/bench-skeleton.c (startup): Fix coding style.
54845 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54847         [BZ #6809]
54848         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54849         negative infinity argument.
54850         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54851         negative infinity argument.
54852         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54853         negative infinity argument.
54854         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54855         domain errors.
54857 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54859         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54860         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54861         * iconv/iconv_prog.c (main): Likewise.
54862         * locale/programs/charmap-dir.c (charmap_readdir)
54863         (fopen_uncompressed): Likewise.
54864         * locale/programs/locfile.c (siblings_uncached)
54865         (write_locale_data): Use lstat64 instead of lstat.
54866         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54867         stat.
54869 2013-05-10  Andreas Jaeger  <aj@suse.de>
54871         [BZ #15395]
54872         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54873         localization.
54874         Include <locale.h>.
54876 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54878         * elf/dl-close.c (_dl_close_worker): Add comments.
54880 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54882         [BZ #15359]
54883         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54884         high part of pi/2.
54885         (__ieee754_rem_pio2l): Update comments.
54887         [BZ #15429]
54888         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54889         high part of pi/2.
54890         (__ieee754_rem_pio2l): Update comments.
54892         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54893         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54895         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54896         M_PI_4l.
54898         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54899         (M_PI_34_LOG10El): Likewise.
54900         (M_PI2_LOG10El): Likewise.
54901         (M_PI4_LOG10El): Likewise.
54902         (M_PI_LOG10El): Likewise.
54904 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54908 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54910         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54911         (MINUS_ZERO_INIT): Likewise.
54912         (PLUS_INFTY_INIT): Likewise.
54913         (MINUS_INFTY_INIT): Likewise.
54914         (QNAN_VALUE_INIT): Likewise.
54915         (MAX_VALUE_INIT): Likewise.
54916         (MIN_VALUE_INIT): Likewise.
54917         (MIN_SUBNORM_VALUE_INIT): Likewise.
54918         (plus_zero): Initialize with PLUS_ZERO_INIT.
54919         (minus_zero): Initialize with MINUS_ZERO_INIT.
54920         (plus_infty): Initialize with PLUS_INFTY_INIT.
54921         (minus_infty): Initialize with MINUS_INFTY_INIT.
54922         (qnan_value): Initialize with QNAN_VALUE_INIT.
54923         (max_value): Initialize with MAX_VALUE_INIT.
54924         (min_value): Initialize with MIN_VALUE_INIT.
54925         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54927         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54928         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54929         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54930         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54932         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54933         (RUN_TEST_2_f): Likewise.
54934         (RUN_TEST_ff_f): Likewise.
54935         (RUN_TEST_fi_f): Likewise.
54936         (RUN_TEST_fl_f): Likewise.
54937         (RUN_TEST_fff_f): Likewise.
54938         (RUN_TEST_c_f): Likewise.
54939         (RUN_TEST_f_f1): Likewise.
54940         (RUN_TEST_fF_f1): Likewise.
54941         (RUN_TEST_fI_f1): Likewise.
54942         (RUN_TEST_ffI_f1): Likewise.
54943         (RUN_TEST_c_c): Likewise.
54944         (RUN_TEST_cc_c): Likewise.
54945         (RUN_TEST_f_i): Likewise.
54946         (RUN_TEST_f_i_tg): Likewise.
54947         (RUN_TEST_ff_i_tg): Likewise.
54948         (RUN_TEST_f_b): Likewise.
54949         (RUN_TEST_f_b_tg): Likewise.
54950         (RUN_TEST_f_l): Likewise.
54951         (RUN_TEST_f_L): Likewise.
54952         (RUN_TEST_sincos): Likewise.
54953         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54954         whether to show exceptions.  Do not include ");\n" in return
54955         value.
54956         (special_functions): Output call to RUN_TEST_sincos instead of
54957         check_float calls.  Update calls to new_test.
54958         (parse_args): Output call to single RUN_TEST_* macro instead of
54959         check_* calls and other assignments.  Update calls to new_test.
54961         [BZ #2546]
54962         [BZ #2560]
54963         [BZ #5159]
54964         [BZ #15426]
54965         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54966         input to result for tgamma overflow.
54967         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54968         (gamma_coeff): New variable.
54969         (NCOEFF): New macro.
54970         (gamma_positive): New function.
54971         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54972         underflow here.  Use gamma_positive instead of exp (lgamma) for
54973         other arguments.
54974         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54975         (gamma_coeff): New variable.
54976         (NCOEFF): New macro.
54977         (gammaf_positive): New function.
54978         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54979         underflow here.  Use gamma_positive instead of exp (lgamma) for
54980         other arguments.
54981         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54982         (gamma_coeff): New variable.
54983         (NCOEFF): New macro.
54984         (gammal_positive): New function.
54985         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54986         underflow here.  Use gamma_positive instead of exp (lgamma) for
54987         other arguments.
54988         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54989         (gamma_coeff): New variable.
54990         (NCOEFF): New macro.
54991         (gammal_positive): New function.
54992         (__ieee754_gammal_r): Handle positive infinity, overflow and
54993         underflow here.  Handle NaN the same as positive infinity.  Remove
54994         check x < 0xffffffff for negative integers.  Use gamma_positive
54995         instead of exp (lgamma) for other arguments.
54996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54997         (gamma_coeff): New variable.
54998         (NCOEFF): New macro.
54999         (gammal_positive): New function.
55000         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55001         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55002         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55005         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55006         * sysdeps/generic/math_private.h (__gamma_productf): New
55007         prototype.
55008         (__gamma_product): Likewise.
55009         (__gamma_productl): Likewise.
55010         * math/Makefile (libm-calls): Add gamma_product.
55011         * math/libm-test.inc (tgamma_test): Add more tests.
55012         * sysdeps/i386/fpu/libm-test-ulps: Update.
55013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55015 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55017         * benchtests/bench-skeleton.c (main): Preheat CPU.
55019 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55021         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55023 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55025         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55026         and _dl_skip_args_internal.
55028 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55030         * manual/message.texi (Message Translation): Talk about users.
55031         Message to key mapping impacts design.
55033 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55035         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55037         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55039         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55040         * sysdeps/wordsize-64/glob64.c: ... here.
55042         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55043         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55044         New macros.
55046         * debug/getlogin_r_chk.c: Moved to ...
55047         * login/getlogin_r_chk.c: ... here.
55048         * debug/Makefile (routines): Move getlogin_r_chk to ...
55049         * login/Makefile (routines): ... here.
55050         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55051         * login/Versions (libc: GLIBC_2.4): ... here.
55053         * io/poll.c (__poll): Renamed from poll.
55054         Add libc_hidden_def.
55055         (poll): Define as weak alias.
55057         * debug/ptsname_r_chk.c: Moved to ...
55058         * login/ptsname_r_chk.c: ... here.
55059         * debug/Makefile (routines): Move ptsname_r_chk to ...
55060         * login/Makefile (routines): ... here.
55061         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55062         * login/Versions (libc: GLIBC_2.4): ... here.
55064         * posix/getlogin.c: Moved to ...
55065         * login/getlogin.c: ... here.
55066         * posix/getlogin_r.c: Moved to ...
55067         * login/getlogin_r.c: ... here.
55068         * posix/getlogin_r.c: Moved to ...
55069         * login/getlogin_r.c: ... here.
55070         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55071         * login/Makefile (routines): ... here.
55072         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55073         * login/Versions (libc: GLIBC_2.0): ... here.
55075         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55076         (setrlimit): Define as weak alias.
55078         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55079         Call __ names for open, ftruncate, and close.
55080         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55081         (truncate): Define as weak alias.
55083 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55085         * math/gen-libm-test.pl (parse_args): Initialize x before each
55086         test of frexp, modf and remquo.
55088         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55089         test signgam value.
55091 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55093         [BZ #15418]
55094         [BZ #15419]
55095         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55096         internal tests.
55097         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55099 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55101         * elf/dl-writev.h: New file.
55102         * elf/dl-misc.c: Include it.
55103         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55104         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55106 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55108         * math/libm-test.inc (noXFails): Remove variable.
55109         (noXPasses): Likewise.
55110         (BUILD_COMPLEX_INT): Remove macro.
55111         (print_screen): Remove xfail argument.
55112         (print_screen_max_error): Likewise.
55113         (update_stats): Likewise.
55114         (print_max_error): Likewise.  Update calls to other affected
55115         functions.
55116         (print_complex_max_error): Likewise.
55117         (test_single_exception): Update calls to print_screen.
55118         (test_single_errno): Likewise.
55119         (check_float_internal): Remove xfail argument.  Update calls to
55120         other affected functions.
55121         (check_float): Likewise.
55122         (check_complex): Likewise.
55123         (check_int): Likewise.
55124         (check_long): Likewise.
55125         (check_bool): Likewise.
55126         (check_longlong): Likewise.
55127         (main): Don't print noXFails and noXPasses.
55128         * math/gen-libm-test.pl (top level): Don't mention expected
55129         failure handling in comment.
55130         (new_test): Don't handle expected failures.
55131         (parse_args): Don't mention expected failure handling in comment.
55132         (generate_testfile): Don't handle expected failures.
55133         (parse_ulps): Likewise.
55134         (print_ulps_file): Likewise.
55135         (get_failure): Remove function.
55136         (output_test): Don't handle expected failures.
55137         * make/README.libm-test: Don't mention expected failure handling.
55139         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55140         (minus_zero): Likewise.
55141         (plus_infty): Likewise.
55142         (minus_infty): Likewise.
55143         (qnan_value): Likewise.
55144         (max_value): Likewise.
55145         (min_value): Likewise.
55146         (min_subnorm_value): Likewise.
55147         (initialize): Do not initialize those variables dynamically.
55149 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55151         * io/open.c (__open_2): Moved to ...
55152         * io/open_2.c: ... this new file.
55153         * io/open64.c (__open64_2): Moved to ...
55154         * io/open64_2.c: ... this new file.
55155         * io/openat.c (__openat_2): Moved to ...
55156         * io/openat_2.c: ... this new file.
55157         * io/openat64.c (__openat64_2): Moved to ...
55158         * io/openat64_2.c: ... this new file.
55159         * io/Makefile (routines): Add them.
55160         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55161         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55162         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55163         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55164         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55165         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55166         (__openat64): Add hidden_ver.
55167         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55168         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55170         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55171         Separately conditionalize setting of GLRO(dl_sysinfo) so
55172         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55173         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55175 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55177         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55179         definition.
55180         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55181         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55182         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55183         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55184         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55186 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55188         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55189         test signgam value.
55191         * math/libm-test.inc (hypot_test): Do not use
55192         IGNORE_ZERO_INF_SIGN.
55194 2013-05-03  Andreas Jaeger  <aj@suse.de>
55196         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55197         Linux 3.9.
55198         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55199         (PF_MAX): Adjust for VSOCK change.
55201 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55205 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55207         [BZ #15264]
55208         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55209         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55210         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55212 2013-05-02  David S. Miller  <davem@davemloft.net>
55214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55216 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55218         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55220 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55222         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55224 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55226         [BZ #14952]
55227         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55228         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55229         Use __attribute__ ((__gnu_inline__)).
55230         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55231         Don't use __attribute__ ((__gnu_inline__)).
55233 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55235         [BZ #15423]
55236         * math/s_catan.c (__catan): Handle small real or imaginary part of
55237         input specially to avoid spurious underflow.
55238         * math/s_catanf.c (__catanf): Likewise.
55239         * math/s_catanh.c (__catanh): Likewise.
55240         * math/s_catanhf.c (__catanhf): Likewise.
55241         * math/s_catanhl.c (__catanhl): Likewise.
55242         * math/s_catanl.c (__catanl): Likewise.
55243         * math/libm-test.inc (catan_test): Add more tests.
55244         (catanh_test): Likewise.
55245         * sysdeps/i386/fpu/libm-test-ulps: Update.
55246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55248 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55252 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55254         [BZ #15416]
55255         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55256         accurately for denominator in atan2.
55257         * math/s_catanf.c (__catanf): Likewise.
55258         * math/s_catanh.c (__catanh): Likewise.
55259         * math/s_catanhf.c (__catanhf): Likewise.
55260         * math/s_catanhl.c (__catanhl): Likewise.
55261         * math/s_catanl.c (__catanl): Likewise.
55262         * math/libm-test.inc (catan_test): Add more tests.
55263         (catanh_test): Likewise.
55264         * sysdeps/i386/fpu/libm-test-ulps: Update.
55265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55267 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55269         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55271         * benchtests/Makefile (bench): Remove slow benchmarks.
55272         * benchtests/atan-inputs: Add slow benchmark inputs.
55273         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55274         (BENCH_FUNC): Accept variant offset.
55275         (VARIANT): Define.
55276         * benchtests/bench-skeleton.c (main): Run benchmark for each
55277         variant.
55278         * benchtests/cos-inputs: Add slow benchmark inputs.
55279         * benchtests/exp-inputs: Likewise.
55280         * benchtests/pow-inputs: Likewise.
55281         * benchtests/sin-inputs: Likewise.
55282         * benchtests/slowatan-inputs: Remove.
55283         * benchtests/slowatan.c: Remove.
55284         * benchtests/slowcos-inputs: Remove.
55285         * benchtests/slowcos.c: Remove.
55286         * benchtests/slowexp-inputs: Remove.
55287         * benchtests/slowexp.c: Remove.
55288         * benchtests/slowpow-inputs: Remove.
55289         * benchtests/slowpow.c: Remove.
55290         * benchtests/slowsin-inputs: Remove.
55291         * benchtests/slowsin.c: Remove.
55292         * benchtests/slowtan-inputs: Remove.
55293         * benchtests/slowtan.c: Remove.
55294         * benchtests/tan-inputs: Add slow benchmark inputs.
55295         * scripts/bench.pl: Parse comments and directives.
55297         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55298         in CPPFLAGS.
55299         ($(objpfx)bench-%.c): Remove *-ITER.
55300         * benchtests/bench-modf.c: Remove definition of ITER.
55301         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55302         (main): Loop for DURATION seconds instead of fixed number of
55303         iterations.
55304         * scripts/bench.pl: Don't expect iterations in parameters.
55306 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55308         * io/fchdir.c (__fchdir): Renamed from fchdir.
55309         (fchdir): Define as weak alias.
55311 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55313         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55314         (ERRNO_EDOM): Likewise.
55315         (ERRNO_ERANGE): Likewise.
55316         (noErrnoTests): New variable.
55317         (init_max_error): Set errno to 0.
55318         (test_single_errno): New function.
55319         (test_errno): Likewise.
55320         (check_float_internal): Call test_errno.  Set errno to 0.
55321         (check_complex): Refer to errno tests in comment.
55322         (check_int): Call test_errno.  Set errno to 0.
55323         (check_long): Likewise.
55324         (check_bool): Likewise.
55325         (check_longlong): Likewise.
55326         (cos_test): Use ERRNO_* flags for errno tests instead of
55327         check_int.
55328         (expm1_test): Likewise.
55329         (fmod_test): Likewise.
55330         (ilogb_test): Likewise.
55331         (lgamma_test): Likewise.
55332         (pow_test): Likewise.
55333         (remainder_test): Likewise.
55334         (sin_test): Likewise.
55335         (tan_test): Likewise.
55336         (yn_test): Likewise.
55337         (initialize): Set errno to 0.
55338         (main): Print number of errno tests.
55339         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55341 2013-04-29  Andreas Jaeger  <aj@suse.de>
55343         [BZ #15084]
55344         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55345         and RES_USEVC.
55347         [BZ #15085]
55348         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55349         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55350         unimplemented.
55352         [BZ #15380]
55353         * stdlib/random.c (__initstate): Return NULL if
55354         __initstate fails.
55356         [BZ #15086]
55357         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55358         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55359         RES_SNGLKUPREOP.
55361 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55365 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55367         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55368         of individual tests.
55369         (casin_test): Likewise.
55370         (casinh_test): Likewise.
55372 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55374         [BZ #15409]
55375         * math/s_catan.c (__catan): Handle arguments with large real or
55376         imaginary part separately without squaring.
55377         * math/s_catanf.c (__catanf): Likewise.
55378         * math/s_catanh.c (__catanh): Likewise.
55379         * math/s_catanhf.c (__catanhf): Likewise.
55380         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55381         and redefine.
55382         (__catanhl): Handle arguments with large real or imaginary part
55383         separately without squaring.
55384         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55385         and redefine.
55386         (__catanl): Handle arguments with large real or imaginary part
55387         separately without squaring.
55388         * math/libm-test.inc (catan_test): Add more tests.
55389         (catanh_test): Likewise.
55390         * sysdeps/i386/fpu/libm-test-ulps: Update.
55391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55393 2013-04-27  Andreas Jaeger  <aj@suse.de>
55395         [BZ #15007]
55396         * stdlib/stdlib.h: Update guards for qecvt.
55397         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55398         <stdlib.h>.
55400 2013-04-27  Allan McRae  <allan@archlinux.org>
55402         * sysdeps/i386/fpu/libm-test-ulps: Update.
55404 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55406         [BZ #15406]
55407         * math/s_catan.c: Include <float.h>.
55408         (__catan): Ensure underflow exception occurs for underflowed
55409         result.
55410         * math/s_catanf.c: Include <float.h>.
55411         (__catanf): Ensure underflow exception occurs for underflowed
55412         result.
55413         * math/s_catanh.c: Include <float.h>.
55414         (__catanh): Ensure underflow exception occurs for underflowed
55415         result.
55416         * math/s_catanhf.c: Include <float.h>.
55417         (__catanhf): Ensure underflow exception occurs for underflowed
55418         result.
55419         * math/s_catanhl.c: Include <float.h>.
55420         (__catanhl): Ensure underflow exception occurs for underflowed
55421         result.
55422         * math/s_catanl.c: Include <float.h>.
55423         (__catanl): Ensure underflow exception occurs for underflowed
55424         result.
55425         * math/libm-test.inc (catan_test): Add more tests.
55426         (catanh_test): Likewise.
55428         [BZ #15405]
55429         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55430         underflowed result.
55431         * math/s_ccoshf.c (__ccoshf): Likewise.
55432         * math/s_ccoshl.c (__ccoshl): Likewise.
55433         * math/s_csin.c (__csin): Likewise.
55434         * math/s_csinf.c (__csinf): Likewise.
55435         * math/s_csinh.c (__csinh): Likewise.
55436         * math/s_csinhf.c (__csinhf): Likewise.
55437         * math/s_csinhl.c (__csinhl): Likewise.
55438         * math/s_csinl.c (__csinl): Likewise.
55439         * math/libm-test.inc (ccos_test): Add more tests.
55440         (ccosh_test): Likewise.
55441         (csin_test): Likewise.
55442         (csinh_test): Likewise.
55444 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55446         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55447         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55448         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55449         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55450         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55451         powerpc/power5+/fpu folders.
55452         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55455 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55459 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55461         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55462         additions to variable.
55463         [$(config-machine) = x86_64] (modules-names): Likewise.
55464         ($(objpfx)tst-audit3): Remove dependency.
55465         ($(objpfx)tst-audit3.out): Likewise.
55466         ($(objpfx)tst-audit4): Likewise.
55467         ($(objpfx)tst-audit4.out): Likewise.
55468         ($(objpfx)tst-audit5): Likewise.
55469         ($(objpfx)tst-audit5.out): Likewise.
55470         ($(objpfx)tst-audit6): Likewise.
55471         ($(objpfx)tst-audit6.out): Likewise.
55472         ($(objpfx)tst-audit7): Likewise.
55473         ($(objpfx)tst-audit7.out): Likewise.
55474         (tst-audit3-ENV): Remove variable.
55475         (tst-audit4-ENV): Likewise.
55476         (tst-audit5-ENV): Likewise.
55477         (tst-audit6-ENV): Likewise.
55478         (tst-audit7-ENV): Likewise.
55479         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55480         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55481         addition to variable.
55482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55485         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55486         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55487         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55488         tst-audit3, tst-audit4 and tst-audit5.
55489         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55490         tst-audit6 and tst-audit7.
55491         [$(subdir) = elf] (modules-names): Add audit modules for those
55492         tests.
55493         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55494         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55495         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55496         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55497         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55498         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55499         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55500         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55501         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55502         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55503         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55504         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55505         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55506         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55507         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55508         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55509         Likewise.
55510         [$(subdir) = elf && $(config-cflags-avx) = yes]
55511         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55512         [$(subdir) = elf && $(config-cflags-avx) = yes]
55513         (CFLAGS-tst-auditmod4a.c): Likewise.
55514         [$(subdir) = elf && $(config-cflags-avx) = yes]
55515         (CFLAGS-tst-auditmod4b.c): Likewise.
55516         [$(subdir) = elf && $(config-cflags-avx) = yes]
55517         (CFLAGS-tst-auditmod6b.c): Likewise.
55518         [$(subdir) = elf && $(config-cflags-avx) = yes]
55519         (CFLAGS-tst-auditmod6c.c): Likewise.
55520         [$(subdir) = elf && $(config-cflags-avx) = yes]
55521         (CFLAGS-tst-auditmod7b.c): Likewise.
55522         * elf/tst-audit3.c: Move to ...
55523         * sysdeps/x86_64/tst-audit3.c: ... here.
55524         * elf/tst-audit4.c: Move to ...
55525         * sysdeps/x86_64/tst-audit4.c: ... here.
55526         * elf/tst-audit5.c: Move to ...
55527         * sysdeps/x86_64/tst-audit5.c: ... here.
55528         * elf/tst-audit6.c: Move to ...
55529         * sysdeps/x86_64/tst-audit6.c: ... here.
55530         * elf/tst-audit7.c: Move to ...
55531         * sysdeps/x86_64/tst-audit7.c: ... here.
55532         * elf/tst-auditmod3a.c: Move to ...
55533         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55534         * elf/tst-auditmod3b.c: Move to ...
55535         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55536         * elf/tst-auditmod4a.c: Move to ...
55537         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55538         * elf/tst-auditmod4b.c: Move to ...
55539         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55540         * elf/tst-auditmod5a.c: Move to ...
55541         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55542         * elf/tst-auditmod5b.c: Move to ...
55543         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55544         * elf/tst-auditmod6a.c: Move to ...
55545         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55546         * elf/tst-auditmod6b.c: Move to ...
55547         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55548         * elf/tst-auditmod6c.c: Move to ...
55549         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55550         * elf/tst-auditmod7a.c: Move to ...
55551         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55552         * elf/tst-auditmod7b.c: Move to ...
55553         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55555 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55557         [BZ #15366]
55558         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55559         define unconditionally.
55560         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55561         define unconditionally.
55562         (INT8_C, INT16_C, etc.): Likewise.
55564 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55566         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55567         __ehdr_start with hidden visibility.
55569         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55571 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55573         * math/libm-test.inc (cos_test): Use accurate hex constants.
55574         (sincost_test): Likewise.
55576 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55578         * math/libm-test.inc (catan_test): Add more tests.
55579         (catanh_test): Likewise.
55581         * math/s_catanf.c (__catanf): Use suffixed floating-point
55582         constants.
55583         * math/s_catanhf.c (__catanhf): Likewise.
55584         * math/s_catanhl.c (__catanhl): Likewise.
55585         * math/s_catanl.c (__catanl): Likewise.
55587         [BZ #15394]
55588         * math/s_catan.c (__catan): Calculate imaginary part of result
55589         with log1p not log unless computing log of number close to 0.
55590         * math/s_catanf.c (__catanf): Likewise.
55591         * math/s_catanl.c (__catanl): Likewise.
55592         * math/s_catanh.c (__catanh): Calculate real part of result with
55593         log1p not log unless computing log of number close to 0.
55594         * math/s_catanhf.c (__catanhf): Likewise.
55595         * math/s_catanhl.c (__catanhl): Likewise.
55596         * math/libm-test.inc (catan_test): Add more tests.
55597         (catanh_test): Likewise.
55598         * sysdeps/i386/fpu/libm-test-ulps: Update.
55599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55601 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55603         * benchtests/Makefile: Mention files in which fast and slow
55604         paths of math functions are implemented.
55606 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55608         * sysdeps/posix/timespec_get.c: New file.
55610 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55612         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55613         POWER.
55614         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55615         for POWER.
55616         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55617         powerpc/power5/fpu folders.
55618         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55619         * benchtests/Makefile: Add modf testcase.
55620         * benchtests/bench-modf.c: New file: Benchmark test for mo
55622 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55624         [BZ #14888]
55625         * time/Makefile (tests): Add tst-strptime-whitespace.
55626         * time/strptime_l.c (get_number): Use ISSPACE.
55627         (__strptime_internal): Likewise.
55628         * time/tst-strptime-whitespace.c: New test case.
55630 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55632         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55633         member.
55634         (_nss_files_init): Set it here.
55636 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55638         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55639         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55640         unsigned.
55642 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55644         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55646 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55648         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55649         size just once.
55651 2013-04-21  David S. Miller  <davem@davemloft.net>
55653         * po/ru.po: Update Russion translation from translation project.
55655 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55657         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55658         and setfsgid.
55660 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55662         * configure.in: Remove i386 configure warning. Remove i386 case.
55663         * configure: Regenerate.
55664         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55665         Add example to error message.
55666         * sysdeps/i386/configure: Regenerate.
55668 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55670         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55671         slowtan.
55672         * benchtests/cos-inputs: New file.
55673         * benchtests/slowcos-inputs: New file.
55674         * benchtests/slowcos.c: New file.
55675         * benchtests/slowtan-inputs: New file.
55676         * benchtests/slowtan.c: New file.
55677         * benchtests/tan-inputs: New file.
55679 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55681         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55682         considered kosher.
55684 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55686         * benchtests/Makefile: Include cppflags-iterator.mk to add
55687         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55689         * Makefile.in (bench-clean): New target.
55690         * benchtests/Makefile (bench-clean): Likewise.
55692 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55694         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55696 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55698         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55700 2013-04-15  Andreas Schwab  <schwab@suse.de>
55702         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55703         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55704         * nscd/pwdcache.c (cache_addpw): Likewise.
55705         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55706         more than recsize.
55708 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55710         * benchtests/Makefile (bench): Write all output to
55711         bench-out.tmp together.
55713 2013-04-15  Andreas Schwab  <schwab@suse.de>
55715         * nscd/nscd.c (main): Don't fork again after closing files.
55717 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55719         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55721         * benchtests/Rules (bench-deps): Collect dependencies into a
55722         single variable.  Add Makefile to dependencies.
55723         ($(objpfx)bench-%.c): Depend on bench-deps.
55725 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55726             Xavier Roche  <roche+kml2@exalead.com>
55728         [BZ #15361]
55729         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55730         just that it's a file descriptor.
55731         * manual/llio.texi (Synchronizing AIO Operations): Update description
55732         for EBADF error from aio_fsync.
55734 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55736         * Rules (bench): Move target definition...
55737         * benchtests/Makefile: ... here.
55739 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55741         * math/libm-test.inc (cos_test): Fix PI/2 test.
55742         (sincos_test): Likewise.
55743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55744         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55746 2013-04-11  Andreas Schwab  <schwab@suse.de>
55748         [BZ #13988]
55749         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55750         accept exponent character only when digits were seen.
55751         * stdio-common/Makefile (tests): Add bug26.
55752         * stdio-common/bug26.c: New file.
55754         [BZ #14293]
55755         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55756         non-freeable.
55758 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55760         * Makeconfig (rtld-prefix): Define built linker prefix.
55761         * Rules (run-bench): Use it.
55762         * math/Makefile (run-regen-ulps): Likewise.
55764         * Rules (bench): Remove eval.
55766 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55767             Roland McGrath  <roland@hack.frob.com>
55768             Ondrej Bilka  <neleai@seznam.cz>
55770         [BZ #15346]
55771         * time/getdate.c: Include ctype.h and alloca.h.
55772         (__getdate_r): Trim leading and trailing spaces of input.
55773         * time/tst-getdate.c (tests): Add tests with leading and
55774         trailing spaces.
55776 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55778         [BZ #14280]
55779         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55780         when computing value.
55782 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55784         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55785         Use testrun.sh to run libm tests.
55787         [BZ #15309]
55788         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55790 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55792         [BZ #15264]
55793         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55795 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55797         * Makefile.in (regen-ulps): New target.
55798         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55799         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55800         [ifneq (no,$(PERL)] (regen-ulps): New target.
55801         [ifeq (no,$(PERL)] (regen-ulps): New target.
55802         * math/libm-test.inc (ulps_file_name): Define.
55803         (output_dir): New variable.
55804         (options): Add "output-dir" option.
55805         (parse_opt): Handle 'o' case.
55806         (main): If output_dir is non-NULL use it as a prefix
55807         otherwise use "".
55808         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55810 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55812         [BZ #10060, #10062]
55813         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55814         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55815         fail configure if __sync_val_compare_and_swap is not inlined.
55816         * sysdeps/i386/configure: Regenerate.
55817         * configure.in: Build for i686 when configured for i386.
55818         * configure: Regenerate.
55819         * README: Remove i386 reference.
55821 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55823         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55826 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55828         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55829         (lmsnanval): New variables.
55830         (F): Add conversion tests.
55831         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55832         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55834         * stdio-common/tstdiomisc.c (F): Properly collect individual
55835         tests' results.
55837         [BZ #14686, #15336]
55838         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55839         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55840         Instead, use input NaN values or generate a qNaN by arithmetic
55841         operation.  Also fix bugs to comply with the standard.
55842         * math/libm-test.inc (remainder_test): Add more tests.
55844         [BZ #15335, #15342]
55845         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55847         input NaN values or generate a qNaN by arithmetic operation.
55849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55850         unreachable code.
55852         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55853         definitions.
55855 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55857         [BZ #14478]
55858         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55859         underflowed result.
55860         * math/s_cexpf.c (__cexpf): Likewise.
55861         * math/s_cexpl.c (__cexpl): Likewise.
55862         * math/libm-test.inc (cexp_test): Add more tests.
55864 2013-04-03  Andreas Schwab  <schwab@suse.de>
55866         [BZ #15330]
55867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55868         order arrays from heap if bigger than alloca cutoff.
55870 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55872         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55873         (SNAN_TESTS_double): Refer to GCC PR56831.
55874         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55875         GCC PR56828.
55877 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55879         * Rules (bench): Move bench.out after the run is complete.
55881         * Rules (bench): Echo currently running benchmark.
55883         * benchtests/Makefile (bench): Add atan and slowatan.
55884         * benchtests/atan-inputs: New file.
55885         * benchtests/slowatan-inputs: New file.
55886         * benchtests/slowatan.c: New file.
55888         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55889         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55890         its value.
55892         [BZ #15305]
55893         * sysdeps/unix/sysv/linux/kernel-features.h
55894         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55895         __ASSUME_XFS_RESTRICTED_CHOWN.
55896         * sysdeps/unix/sysv/linux/pathconf.c
55897         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55898         Save and restore errno.
55900 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55902         [BZ #15327]
55903         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55904         arguments using __kernel_casinh.
55905         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55906         arguments using __kernel_casinhf.
55907         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55908         arguments using __kernel_casinhl.
55909         * math/libm-test.inc (cacosh_test): Add more tests.
55910         * sysdeps/i386/fpu/libm-test-ulps: Update.
55911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55913 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55915         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55918         * bench/Makefile (bench): Add sin and slowsin.
55919         * benchtests/sin-inputs: New file.
55920         * benchtests/slowsin-inputs: New file.
55921         * benchtests/slowsin.c: New file.
55923         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55924         (bench): Add slowexp and slowpow.
55925         (exp-ITER): Increase iterations.
55926         (pow-ITER): Likewise.
55927         * benchtests/exp-inputs: Change input.
55928         * benchtests/pow-inputs: Likewise.
55929         * benchtests/slowexp-inputs: New file.
55930         * benchtests/slowexp.c: New file.
55931         * benchtests/slowpow-inputs: New file.
55932         * benchtests/slowpow.c: New file.
55934 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55936         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55937         instructions.
55938         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55939         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55940         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55941         * benchtests/Makefile: Add rint benchtest.
55942         * benchtests/rint-inputs: Input for rint benchtest.
55944 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55946         * Versions.def (libm): Add GLIBC_2.18.
55947         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55948         hidden libm prototypes.
55949         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55950         * math/Makefile (libm-calls): Add s_issignaling.
55951         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55952         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55953         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55954         declaration.
55955         * math/math.h [__USE_GNU] (issignaling): New macro.
55956         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55957         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55959         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55960         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55961         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55962         * manual/arith.texi (issignaling): New section.
55963         * manual/libm-err-tab.pl (@all_functions): Update comment.
55964         * math/gen-libm-test.pl (parse_args): Apply special handling for
55965         issignaling.
55966         * math/libm-test.inc (print_float, issignaling_test): New
55967         functions.
55968         (check_float_internal): Add issignaling checks.
55969         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55970         default definition.
55971         * sysdeps/powerpc/math-tests.h: New file.
55972         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55973         tests.
55974         * math/test-snan.c (TEST_FUNC): Likewise.
55976 2013-03-30  David S. Miller  <davem@davemloft.net>
55978         * po/de.po: Update from translation team.
55980 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55982         [BZ #10357]
55983         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55984         imaginary part less than 1.0 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 (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55989         (cacos_test): Add more tests.
55990         (casin_test): Likewise.
55991         (casinh_test): Likewise.
55992         * sysdeps/i386/fpu/libm-test-ulps: Update.
55993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55995 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55997         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55998         ONE with its value.
56000         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56001         (__pow_mp): Replace ONE and MONE with their values.
56002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56004         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56005         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56006         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56009         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56011         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56012         (__pow_mp): Replace ZERO and MZERO with their values.
56013         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56014         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56015         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56016         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56017         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56018         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56019         (__sqr): Likewise.
56021         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56023         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56025 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56027         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56028         Declare with __attribute__ ((weak)).
56029         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56030         Call __call_tls_dtors only if it's not NULL.
56032 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56034         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56035         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56036         magic __ehdr_start linker symbol if it's defined.
56037         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56038         them up here if it was already done.
56040         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56041         (_dl_aux_init): Use const in cast when setting it.
56042         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56043         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56044         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56046         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56047         Declare them here.
56048         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56049         * csu/libc-tls.c: Nor here.
56050         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56052         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56053         (__libc_message): Never call vsyslog.
56055 2013-03-28  Alan Modra  <amodra@gmail.com>
56057         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56058         Define as empty.
56059         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56060         Likewise.
56062 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56064         [BZ #15214]
56065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56066         underflow.
56067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56069 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56071         [BZ #15304]
56072         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56073         Don't add gid passed as argument.
56075         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56077 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56079         [BZ #15307]
56080         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56081         imaginary part between 1.0 and 1.5 and real part less than 0.5
56082         specially.
56083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56085         * math/libm-test.inc (cacos_test): Add more tests.
56086         (casin_test): Likewise.
56087         (casinh_test): Likewise.
56088         * sysdeps/i386/fpu/libm-test-ulps: Update.
56089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56091 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56093         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56094         constants.
56095         (norm): Likewise.
56096         (denorm): Likewise.
56097         (__dbl_mp): Likewise.
56098         (add_magnitudes): Likewise.
56099         (sub_magnitudes): Likewise.
56100         (__add): Likewise.
56101         (__sub): Likewise.
56102         (__mul): Likewise.
56103         (__sqr): Likewise.
56104         (__inv): Likewise.
56105         (__dvd): Likewise.
56107         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56108         commented code.
56109         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56110         (__dubcos): Likewise.
56111         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56112         (__ieee754_acos): Likewise.
56113         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56114         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56115         (__exp1): Likewise.
56116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56118         (log1): Likewise.
56119         (my_log2): Likewise.
56120         (checkint): Likewise.
56121         * sysdeps/ieee754/dbl-64/e_remainder.c
56122         (__ieee754_remainder): Likewise.
56123         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56125         (bsloww): Likewise.
56126         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56128         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56129         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56130         MANTISSA_STORE_T to store computations on mantissa.  Use
56131         macros for rounding and division.
56132         (denorm): Likewise.
56133         (__dbl_mp): Likewise.
56134         (add_magnitudes): Likewise.
56135         (sub_magnitudes): Likewise.
56136         (__mul): Likewise.
56137         (__sqr): Likewise.
56138         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56139         powers of two in terms of TWOPOW macro.
56140         (mp_no): Make type of mantissa as MANTISSA_T.
56141         [!RADIXI]: Define RADIXI.
56142         [!TWO52]: Define TWO52.
56143         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56145 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56147         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56148         llroundl symbol when building for PPC32.
56150 2013-03-24  Mark H Weaver  <mhw@netris.org>
56152         * manual/arith.texi (Normalization Functions): Fix prototypes for
56153         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56155 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56157         [BZ #13889]
56158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56159         high value to check if expl overflow.
56160         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56161         to check for underflow and overflow.
56162         * math/libm-test.inc: Add exp test.
56164 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56166         [BZ #11120]
56167         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56168         with NOT_IN_libc.
56170 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56172         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56173         symbol.
56175 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56177         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56178         wrap blocks consisting of several statements.
56180         * sysdeps/generic/math-tests.h: New file.
56181         * sysdeps/i386/fpu/math-tests.h: Likewise.
56182         * math/test-snan.c: Include it.
56183         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56185 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56187         [BZ #15285]
56188         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56189         (__ieee754_j0l): Do not improve calculations using cos of twice
56190         input for inputs above LDBL_MAX / 2.0L.
56191         (__ieee754_y0l): Likewise.
56192         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56193         (__ieee754_j1l): Do not improve calculations using cos of twice
56194         input for inputs above LDBL_MAX / 2.0L.
56195         (__ieee754_y1l): Likewise.
56196         * math/libm-test.inc (j0_test): Add another test.
56197         (j1_test): Likewise.
56198         (y0_test): Likewise.
56199         (y1_test): Likewise.
56200         * sysdeps/i386/fpu/libm-test-ulps: Update.
56202 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56204         * Rules ($(objpfx)bench-%.c): Include code from a C source
56205         file.
56207 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56209         [BZ #15287]
56210         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56211         imaginary part 1.0 and real part less than 0.5 specially.
56212         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56213         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56214         * math/libm-test.inc (cacos_test): Add more tests.
56215         (casin_test): Likewise.
56216         (casinh_test): Likewise.
56217         * sysdeps/i386/fpu/libm-test-ulps: Update.
56218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56220 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56222         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56223         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56225 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56227         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56228         * config.make.in (config-cflags-sse4): Remove variable.
56229         (config-cflags-avx): Likewise.
56230         (config-cflags-sse2avx): Likewise.
56231         (config-cflags-novzeroupper): Likewise.
56232         (config-asflags-i686): Likewise.
56233         (have-mfma4): Likewise.
56234         (have-as-vis3): Likewise.
56235         (MIG): Likewise.
56236         * configure.in (MIG): Do not AC_SUBST.
56237         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56238         (libc_cv_cc_sse4): Do not AC_SUBST.
56239         (libc_cv_cc_avx): Likewise.
56240         (libc_cv_cc_sse2avx): Likewise.
56241         (libc_cv_cc_novzeroupper): Likewise.
56242         (libc_cv_cc_fma4): Likewise.
56243         (libc_cv_as_i686): Likewise.
56244         (libc_cv_sparc_as_vis3): Likewise.
56245         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56246         LIBC_CONFIG_VAR.
56247         (config-asflags-i686): Likewise.
56248         (config-cflags-avx): Likewise.
56249         (config-cflags-sse2avx): Likewise.
56250         (have-mfma4): Likewise.
56251         (config-cflags-novzeroupper): Likewise.
56252         * sysdeps/mach/configure.in (MIG): Likewise.
56253         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56254         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56255         LIBC_CONFIG_VAR.
56256         (config-cflags-avx): Likewise.
56257         (config-cflags-sse2avx): Likewise.
56258         (have-mfma4): Likewise.
56259         (config-cflags-novzeroupper): Likewise.
56260         * configure: Regenerated.
56261         * sysdeps/i386/configure: Likewise.
56262         * sysdeps/mach/configure: Likewise.
56263         * sysdeps/sparc/configure: Likewise.
56264         * sysdeps/x86_64/configure: Likewise.
56266 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56268         [BZ #14812]
56269         * locale/programs/localedef.c (options): Put N_ translation marker
56270         on argument names, not just descriptions.
56272 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56274         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56276 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56278         [BZ #14176]
56279         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56281 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56283         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56284         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56285         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56286         [!BEFORE_ABORT] (before_abort): New function.
56287         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56288         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56289         (writev_for_fatal): New function.
56290         (WRITEV_FOR_FATAL): New macro; call that.
56291         (backtrace_and_maps): New function.
56292         (BEFORE_ABORT): New macro; call that.
56293         (struct str_list): Type removed.
56294         (__libc_message, __libc_fatal): Functions removed.
56295         Include <sysdeps/posix/libc_fatal.c> instead.
56297 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56299         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56300         constants.
56301         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56302         double constants.
56304 2013-03-19  Andreas Schwab  <schwab@suse.de>
56306         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56307         * sysdeps/gnu/configure: Regenerate.
56309         * configure.in: Substitute libc_cv_rtlddir.
56310         * configure: Regenerate.
56311         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56312         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56313         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56314         * elf/Makefile (install-others, CFLAGS-interp.c)
56315         (ldso_install, common-ldd-rewrite): Likewise.
56316         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56317         $(inst_slibdir)/$(rtld-installed-name).
56318         * scripts/rellns-sh: Add -p option.
56319         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56320         for source.
56322 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56324         * manual/nptl.texi: Renamed to ...
56325         * manual/threads.texi: ... this.
56326         * manual/Makefile (chapters): Update.
56328 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56330         [BZ #14812]
56331         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56332         on argument names, not just descriptions.
56333         * malloc/memusagestat.c (options): Likewise.
56334         * nss/getent.c (options): Likewise.
56336 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56338         [BZ #14812]
56339         * iconv/iconv_prog.c (options): Put N_ translation marker
56340         on argument names, not just descriptions.
56341         * iconv/iconvconfig.c (options): Likewise.
56343 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56345         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56346         implementation which is faster on all x86_64 architectures.
56347         Tested on AMD, Intel Nehalem, SNB, IVB.
56348         * sysdeps/x86_64/strnlen.S: Likewise.
56350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56351         Remove all multiarch strlen and strnlen versions.
56352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56353         Remove strlen and strnlen related parts.
56355         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56356         Inline strlen part.
56357         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56359         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56360         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56361         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56362         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56363         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56364         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56366 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56368         * manual/memory.texi (Malloc Tunable Parameters):
56369         Sort parameters alphabetically. Add comments for missing entries.
56371 2013-03-17  David S. Miller  <davem@davemloft.net>
56373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56375 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56377         [BZ #15283]
56378         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56379         for arguments at most half maximum finite value.
56380         * math/libm-test.inc (j0_test): Add more tests.
56381         (j1_test): Likewise.
56382         (y0_test): Likewise.
56383         (y1_test): Likewise.
56384         * sysdeps/i386/fpu/libm-test-ulps: Update.
56385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56387         [BZ #14155]
56388         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56389         1 / x and functions P and Q for arguments above 0x1p256L.
56390         (__ieee754_y0l): Likewise.
56391         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56392         (__ieee754_y1l): Likewise.
56393         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56394         (j1_test): Likewise.
56395         (y0_test): Likewise.
56396         (y1_test): Likewise.
56398 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56400         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56401         variable.
56403 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56405         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56406         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56407         zero since it's initialized to EXEC_PAGESIZE.
56409         * sysdeps/unix/sysv/linux/ldsodefs.h
56410         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56411         * sysdeps/generic/ldsodefs.h: ... here.
56413 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56415         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56417         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56418         math/test-snan.c.
56419         * math/test-snan.c: Renamed from
56420         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56421         * math/Makefile (tests): Add test-snan.
56422         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56423         test-powerpc-snan.
56425         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56426         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56427         functions.
56428         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56429         __builtin_nan family of functions.
56430         * math/libm-test.inc (initialize): Initialize qnan_value with
56431         __builtin_nan family of functions.
56432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56433         Remove variables.
56434         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56435         Remove functions.
56436         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56437         storage class.  Initialize qNaN_var and sNaN_var with
56438         __builtin_nan and __builtin_nans families of functions,
56439         respectively.
56441         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56442         (sqrt_test): Remove duplicate test with qNaN input.
56443         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56444         (round_test, signbit_test, significand_test): Note missing +/-Inf
56445         as well as qNaN tests.
56447         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56448         qNaN_var.  Fix a few strings, too.
56449         * math/libm-test.inc (nan_value): Rename to qnan_value.
56450         * math/gen-libm-test.pl (%beautify): Adjust to that.
56451         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56452         * math/test-misc.c (main): Likewise.
56453         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56454         to __qnan_bytes, and __qnan_union, respectively.
56455         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56456         Likewise.
56457         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56458         and lqnanval, respectively.
56459         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56460         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56461         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56462         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56464         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56465         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56466         doubles.
56468         * math/test-misc.c (main): Fix copy'n'pastos.
56469         * misc/tst-efgcvt.c (special): Likewise.
56471         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56472         Remove declarations.
56474 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56476         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56477         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56478         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56481 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56483         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56484         macro to return vdso values correctly in IFUNC implementations.
56485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56486         Optimization by using IFUNC.
56488 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56489             Richard Henderson  <rth@redhat.com>
56490             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56492         * Makefile.in (bench): New target.
56493         * NEWS: Mention the benchmark framework.
56494         * Rules (bench): Likewise.
56495         (binaries-bench): Generate binaries for functions to
56496         benchmark.
56497         * benchtests/Makefile: New makefile for benchmark tests.
56498         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56499         programs.
56500         * benchtests/exp-inputs: New input file for EXP function.
56501         * benchtests/pow-inputs: New input file for POW function.
56502         * scripts/bench.pl: New script to generate source files for
56503         benchmark programs.
56505 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56507         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56509         computations on mantissa.  Use macros for rounding and
56510         division.
56511         (denorm): Likewise.
56512         (__dbl_mp): Likewise.
56513         (add_magnitudes): Likewise.
56514         (sub_magnitudes): Likewise.
56515         (__mul): Likewise.
56516         (__sqr): Likewise.
56517         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56518         powers of two in terms of TWOPOW macro.
56519         (mp_no): Make type of mantissa as MANTISSA_T.
56520         [!RADIXI]: Define RADIXI.
56521         [!TWO52]: Define TWO52.
56522         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56524         * manual/nptl.texi (cindex): Modify threads to pthreads.
56526 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56528         * sysdeps/x86_64/preconfigure: Regenerated.
56530 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56532         [BZ #14155]
56533         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56534         0x1p28 and above.
56535         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56536         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56537         0x1p28 and above.
56538         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56539         * math/libm-test.inc (j0_test): Do not allow one spurious
56540         underflow exception.
56541         (y1_test): Likewise.
56543 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56545         * manual/Makefile (chapters): Add nptl.
56546         * manual/debug.texi (Debugging Support): Add link to Threads
56547         chapter.
56548         * manual/nptl.texi: New file.
56550         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56552 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56554         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56555         for non-NULL pointer before the memory validity test. Pointed
56556         out by Holger Brunck <holger.brunck@keymile.com>.
56558 2013-03-13  Andreas Schwab  <schwab@suse.de>
56560         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56561         instead of .os.
56563 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56565         * timezone/zic.c: Update from tzcode 2013b.
56567 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56569         * manual/install.texi (Configuring and compiling):
56570         Mention i686 and i586.
56571         * INSTALL: Regenerate.
56573 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56575         * sysdeps/init_array/elf-init.c: New file.
56576         * csu/elf-init.c
56577         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56578         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56580         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56581         __gmon_start__ as global, but as static with a .preinit_array pointer.
56582         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56583         * sysdeps/init_array/crti.S: New file, empty except for comments.
56584         * sysdeps/init_array/crtn.S: Likewise.
56586 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56588         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56589         definining bcopy.
56590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56591         Remove Prefer_SSE_for_memop.
56592         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56593         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56594         HAS_PREFER_SSE_FOR_MEMOP.
56595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56596         memset-x86-64.
56597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56598         Remove bzero, memset ifunc support.
56599         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56600         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56601         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56602         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56604 2013-03-11  Andreas Schwab  <schwab@suse.de>
56606         [BZ #15234]
56607         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56608         by SHLIB_COMPAT.
56609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56610         (GLIBC_2.16): Remove pthread_atfork.
56612 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56614         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56615         (ptestcases.h): Likewise.
56617 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56619         * Makeconfig ($(common-objpfx)config.status): Depend on
56620         sysdeps/*/preconfigure{,.in} too.
56622 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56624         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56625         (__free_hook): Use void * instead of __malloc_ptr_t.
56626         (__malloc_hook): Likewise.
56627         (__realloc_hook): Likewise.
56628         (__memalign_hook): Likewise.
56629         (__after_morecore_hook): Likewise.
56630         * malloc/arena.c (save_malloc_hook): Likewise.
56631         (save_free_hook): Likewise.
56632         * malloc/hooks.c (malloc_hook_ini): Likewise.
56633         (realloc_hook_ini): Likewise.
56634         (memalign_hook_ini): Likewise.
56635         * malloc/malloc.c (malloc_hook_ini): Likewise.
56636         (realloc_hook_ini): Likewise.
56637         (memalign_hook_ini): Likewise.
56638         (__free_hook): Likewise.
56639         (__malloc_hook): Likewise.
56640         (__realloc_hook): Likewise.
56641         (__memalign_hook): Likewise.
56642         (__libc_malloc): Likewise.
56643         (__libc_free): Likewise.
56644         (__libc_realloc): Likewise.
56645         (__libc_memalign): Likewise.
56646         (__libc_valloc): Likewise.
56647         (__libc_pvalloc): Likewise.
56648         (__libc_calloc): Likewise.
56649         (__posix_memalign): Likewise.
56650         * malloc/morecore.c (__sbrk): Likewise.
56651         (__default_morecore): Likewise.
56653         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56655         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56656         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56657         __malloc_ptrdiff_t.
56659         * malloc/malloc.h (__malloc_size_t): Remove macro.
56660         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56661         __malloc_size_t.
56662         (old_memalign_hook): Likewise.
56663         (old_realloc_hook): Likewise.
56664         (struct hdr): Likewise.
56665         (flood): Likewise.
56666         (mallochook): Likewise.
56667         (memalignhook): Likewise.
56668         (reallochook): Likewise.
56669         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56670         (tr_old_realloc_hook): Likewise.
56671         (tr_old_memalign_hook): Likewise.
56672         (tr_mallochook): Likewise.
56673         (tr_reallochook): Likewise.
56674         (tr_memalignhook): Likewise.
56676 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56679         default_ldbl_pack and using as default implementation.
56680         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56681         implementation.
56682         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56683         redundant definition.
56684         (ldbl_insert_mantissa): Likewise.
56685         (ldbl_canonicalize): Likewise.
56686         (ldbl_nearbyint): Likewise.
56687         (ldbl_pack): Rename to ldbl_pack_ppc.
56688         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56689         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56690         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56692 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56695         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56696         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56697         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56700         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56701         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56703 2013-03-07  Andreas Jaeger  <aj@suse.de>
56705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56706         bits/mman-linux.h.
56708 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56710         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56711         Include mpa.h and declare __MPEXP.
56712         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56714         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56715         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56717         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56718         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56720         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56721         (__slowpow): Use long double EXPL and LOGL functions to
56722         compute POW.
56723         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56724         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56726         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56727         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56728         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56731         intermediate variable to calculate exponent.
56732         (__sqr): Likewise.
56733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56734         Likewise.
56735         (__sqr): Likewise.
56737         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56738         [!NO__SQR]: Define __sqr.
56739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56740         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56741         sysdeps/ieee754/dbl-64/mpa.c.
56742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56744         [BZ #12723]
56745         * posix/Makefile (tests): Add tst-pathconf.
56746         * posix/tst-pathconf.c: New test case.
56747         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56748         _PC_PIPE_BUF.
56749         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56751 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56753         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56755 2013-03-06  Andreas Jaeger  <aj@suse.de>
56757         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56758         definition via __MAP_ANONYMOUS.
56760         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56761         it's not part of Linux headers.
56763         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56764         (MAP_HUGE_MASK): Define.
56766         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56767         Define.
56768         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56769         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56770         Define.
56771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56773         Define.
56774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56776         Define.
56777         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56779         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56780         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56781         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56782         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56783         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56784         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56786         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56787         Handle f2fs.
56789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56790         Handle f2fs and efivarfs.
56792         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56793         f2fs.
56795         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56796         (EFIVARFS_MAGIC): Add.
56797         (F2FS_LINK_MAX): Add.
56799 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56801         * stdio-common/vfprintf.c: Replace __builtin_expect with
56802         __glibc_unlikely.
56804 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56806         [BZ #13550]
56807         * sysdeps/generic/bp-sym.h: Remove file.
56808         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56809         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56810         <bp-sym.h> and <bp-asm.h>.
56811         (__longjmp): Don't use BP_SYM.
56812         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56813         and <bp-asm.h>.
56814         (memcpy): Don't use BP_SYM.
56815         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56816         <bp-sym.h> and <bp-asm.h>.
56817         (memcpy): Don't use BP_SYM.
56818         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56819         <bp-asm.h>.
56820         (memcpy): Don't use BP_SYM.
56821         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56822         <bp-asm.h>.
56823         (memset): Don't use BP_SYM.
56824         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56825         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56826         (__bzero): Don't use BP_SYM.
56827         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56828         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56829         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56830         <bp-sym.h> and <bp-asm.h>.
56831         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56832         pointers.
56833         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56834         <bp-sym.h> and <bp-asm.h>.
56835         (memcpy): Don't use BP_SYM.
56836         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56837         <bp-sym.h> and <bp-asm.h>.
56838         (memset): Don't use BP_SYM.
56839         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56840         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56841         (__bzero): Don't use BP_SYM.
56842         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56843         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56844         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56845         <bp-sym.h> and <bp-asm.h>.
56846         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56847         pointers.
56848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56849         <bp-sym.h> and <bp-asm.h>.
56850         (memcpy): Don't use BP_SYM.
56851         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56852         <bp-sym.h> and <bp-asm.h>.
56853         (memset): Don't use BP_SYM.
56854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56856         (__bzero): Don't use BP_SYM.
56857         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56858         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56859         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56860         <bp-sym.h> and <bp-asm.h>.
56861         (__memchr): Don't use BP_SYM.
56862         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56863         <bp-sym.h> and <bp-asm.h>.
56864         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56865         pointers.
56866         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56867         <bp-sym.h> and <bp-asm.h>.
56868         (memcpy): Don't use BP_SYM.
56869         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56870         <bp-sym.h> and <bp-asm.h>.
56871         (__mempcpy): Don't use BP_SYM.
56872         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56873         <bp-sym.h> and <bp-asm.h>.
56874         (__memrchr): Don't use BP_SYM.
56875         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56876         <bp-sym.h> and <bp-asm.h>.
56877         (memset): Don't use BP_SYM.
56878         (__bzero): Likewise.
56879         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56880         <bp-sym.h> and <bp-asm.h>.
56881         (__rawmemchr): Don't use BP_SYM.
56882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56883         <bp-sym.h> and <bp-asm.h>.
56884         (__STRCMP): Don't use BP_SYM.
56885         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56886         <bp-sym.h> and <bp-asm.h>.
56887         (strchr): Don't use BP_SYM.
56888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56889         <bp-sym.h> and <bp-asm.h>.
56890         (__strchrnul): Don't use BP_SYM.
56891         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56892         <bp-sym.h> and <bp-asm.h>.
56893         (strlen): Don't use BP_SYM.
56894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56895         <bp-sym.h> and <bp-asm.h>.
56896         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56897         pointers.
56898         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56899         <bp-sym.h> and <bp-asm.h>.
56900         (__strnlen): Don't use BP_SYM.
56901         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56902         <bp-sym.h> and <bp-asm.h>.
56903         (__GI__setjmp): Don't use BP_SYM.
56904         (_setjmp): Likewise.
56905         (__sigsetjmp): Likewise.
56906         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56907         (L(start_addresses)): Don't use BP_SYM.
56908         (_start): Likewise.
56909         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56910         <bp-asm.h>.
56911         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56912         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56913         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56914         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56915         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56916         <bp-asm.h>.
56917         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56918         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56919         about bounded pointers.
56920         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56921         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56922         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56923         <bp-asm.h>.
56924         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56925         about bounded pointers.  Remove GKM FIXME comments.
56926         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56927         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56928         <bp-asm.h>.
56929         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56930         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56931         Remove GKM FIXME comments.
56932         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56933         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56934         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56935         <bp-asm.h>.
56936         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56937         about bounded pointers.  Remove GKM FIXME comment.
56938         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56939         and <bp-asm.h>.
56940         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56941         pointers.
56942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56943         <bp-sym.h> and <bp-asm.h>.
56944         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56946         <bp-sym.h> and <bp-asm.h>.
56947         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56948         comment.
56950 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56952         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56953         call free(NULL).
56955 2013-03-05  David S. Miller  <davem@davemloft.net>
56957         * po/es.po: Update from translation team.
56959 2013-03-05  Andreas Jaeger  <aj@suse.de>
56961         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56962         <bits/mman-linux.h>.
56963         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56964         is fine.
56965         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56966         <bits/mman-linux.h> to end of file.
56967         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56968         is fine.
56969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56970         <bits/mman-linux.h> to end of file.
56971         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56972         is fine.
56973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56974         <bits/mman-linux.h> to end of file.
56976         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56977         (MCL_CURRENT, MCL_FUTURE): Define here.
56979 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56981         [BZ #15232]
56982         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56983         attribute_hidden.
56984         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56986 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56989         fourth parameter needed for rt_sigprocmask syscall.
56990         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56991         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56993         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56994         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56995         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56997 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56999         [BZ #13550]
57000         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57001         comment about bounded pointers.
57002         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57003         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57005 2013-03-04  Andreas Jaeger  <aj@suse.de>
57007         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57008         common definitions.
57010         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57011         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57012         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57014         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57017 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57019         [BZ #15055]
57020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57021         __ieee754_sqrl instead of __sqrl.
57023 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57025         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57026         * sysdeps/powerpc/fpu_control.h: ... here.
57027         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57028         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57029         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57030         * sysdeps/powerpc/bits/mathinline.h: ... here.
57032 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57034         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57035         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57036         to just [NEED_DL_SYSINFO_DSO].
57037         * elf/dl-support.c: Likewise.
57038         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57039         * elf/rtld.c (dl_main): Likewise.
57040         * elf/setup-vdso.h (setup_vdso): Likewise.
57041         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57042         * sysdeps/unix/sysv/linux/dl-sysdep.c
57043         (_dl_discover_osversion): Likewise.
57045 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57047         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57048         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57050 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57052         * NEWS: Mention libm performance improvements and non-x86 PI
57053         futex support.
57055         * csu/libc-start.c (__pthread_initialize_minimal): Change
57056         function arguments.
57057         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57059 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57061         [BZ #13550]
57062         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57063         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57064         <bp-sym.h> and <bp-asm.h>.
57065         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57066         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57067         and <bp-asm.h>.
57068         (memcpy): Don't use BP_SYM.
57069         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57070         <bp-asm.h>.
57071         (__mpn_add_n): Don't use BP_SYM.
57072         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57073         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57074         and <bp-asm.h>.
57075         (__mpn_addmul_1): Don't use BP_SYM.
57076         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57077         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57078         <bp-sym.h>.
57079         (_setjmp): Don't use BP_SYM.
57080         (__novmx_setjmp): Likewise.
57081         (__GI__setjmp): Likewise.
57082         (__vmx_setjmp): Likewise.
57083         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57084         <bp-sym.h>.
57085         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57086         (__bzero): Don't use BP_SYM.
57087         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57088         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57089         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57090         <bp-sym.h> and <bp-asm.h>.
57091         (memcpy): Don't use BP_SYM.
57092         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57093         <bp-sym.h> and <bp-asm.h>.
57094         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57095         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57096         <bp-sym.h> and <bp-asm.h>.
57097         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57098         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57099         <bp-asm.h>.
57100         (__mpn_lshift): Don't use BP_SYM.
57101         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57102         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57103         <bp-asm.h>.
57104         (memset): Don't use BP_SYM.
57105         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57106         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57107         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57108         <bp-asm.h>.
57109         (__mpn_mul_1): Don't use BP_SYM.
57110         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57111         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57112         <bp-sym.h> and <bp-asm.h>.
57113         (memcmp): Don't use BP_SYM.
57114         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57115         <bp-sym.h> and <bp-asm.h>.
57116         (memcpy): Don't use BP_SYM.
57117         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57118         <bp-sym.h> and <bp-asm.h>.
57119         (memset): Don't use BP_SYM.
57120         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57121         <bp-sym.h> and <bp-asm.h>.
57122         (strncmp): Don't use BP_SYM.
57123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57124         <bp-sym.h> and <bp-asm.h>.
57125         (memcpy): Don't use BP_SYM.
57126         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57127         <bp-sym.h> and <bp-asm.h>.
57128         (memset): Don't use BP_SYM.
57129         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57130         <bp-sym.h> and <bp-asm.h>.
57131         (__memchr): Don't use BP_SYM.
57132         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57133         <bp-sym.h> and <bp-asm.h>.
57134         (memcmp): Don't use BP_SYM.
57135         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57136         <bp-sym.h> and <bp-asm.h>.
57137         (memcpy): Don't use BP_SYM.
57138         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57139         <bp-sym.h> and <bp-asm.h>.
57140         (__mempcpy): Don't use BP_SYM.
57141         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57142         <bp-sym.h> and <bp-asm.h>.
57143         (__memrchr): Don't use BP_SYM.
57144         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57145         <bp-sym.h> and <bp-asm.h>.
57146         (memset): Don't use BP_SYM.
57147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57148         <bp-sym.h> and <bp-asm.h>.
57149         (__rawmemchr): Don't use BP_SYM.
57150         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57151         <bp-sym.h> and <bp-asm.h>.
57152         (__STRCMP): Don't use BP_SYM.
57153         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57154         <bp-sym.h> and <bp-asm.h>.
57155         (strchr): Don't use BP_SYM.
57156         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57157         <bp-sym.h> and <bp-asm.h>.
57158         (__strchrnul): Don't use BP_SYM.
57159         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57160         <bp-sym.h> and <bp-asm.h>.
57161         (strlen): Don't use BP_SYM.
57162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57163         <bp-sym.h> and <bp-asm.h>.
57164         (strncmp): Don't use BP_SYM.
57165         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57166         <bp-sym.h> and <bp-asm.h>.
57167         (__strnlen): Don't use BP_SYM.
57168         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57169         <bp-asm.h>.
57170         (__mpn_rshift): Don't use BP_SYM.
57171         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57172         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57173         <bp-sym.h> and <bp-asm.h>.
57174         (__sigsetjmp): Don't use BP_SYM.
57175         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57176         (L(start_addresses)): Don't use BP_SYM.
57177         (_start): Likewise.
57178         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57179         <bp-asm.h>.
57180         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57181         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57182         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57183         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57184         <bp-asm.h>.
57185         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57186         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57187         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57188         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57189         <bp-asm.h>.
57190         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57191         comments.
57192         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57193         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57194         <bp-asm.h>.
57195         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57196         FIXME comments.
57197         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57198         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57199         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57200         <bp-asm.h>.
57201         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57202         comment.
57203         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57204         and <bp-asm.h>.
57205         (strncmp): Don't use BP_SYM,
57206         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57207         <bp-asm.h>.
57208         (__mpn_sub_n): Don't use BP_SYM.
57209         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57210         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57211         and <bp-asm.h>.
57212         (__mpn_submul_1): Don't use BP_SYM.
57213         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57215         <bp-sym.h> and <bp-asm.h>.
57216         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57218         <bp-sym.h> and <bp-asm.h>.
57219         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57220         comment.
57222 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57225         Use ZK to minimize writes to Z.
57226         (sub_magnitudes): Simplify code a bit.
57227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57228         Use ZK to minimize writes to Z.
57229         (sub_magnitudes): Simplify code a bit.
57231 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57233         * csu/gmon-start.c: Add special exception to license text.
57235 2013-02-27  Richard Henderson  <rth@redhat.com>
57237         * scripts/config.guess: Update from config.git.
57238         * scripts/config.sub: Likewise.
57240 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57242         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57244         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57246         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57248         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57250         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57252 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57254         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57255         [$(build-shared = yes].
57257 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57259         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57260         (__mul): Reduce iterations for calculating mantissa.
57262         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57263         MPTWO.
57264         (__mpranred): Likewise.
57266         [BZ #15160]
57267         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57268         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57270 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57272         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57273         Define __attribute__.
57275 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57277         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57278         unused.
57279         * posix/regex_internal.h (__attribute): Remove.
57280         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57281         (re_string_context_at): Likewise.
57282         (bitset_not): Use __attribute__ and mark function as possibly
57283         unused.
57284         (bitset_merge): Likewise.
57285         (bitset_mask): Likewise.
57286         (re_string_char_size_at): Likewise.
57287         (re_string_wchar_at): Likewise.
57288         (re_string_elem_size_at): Likewise.
57290 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57292         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57293         code.
57294         (cc32): Likewise.
57296         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57297         (__acr): Likewise.
57298         (__cpy): Likewise.
57299         (norm): Likewise.
57300         (denorm): Likewise.
57301         (__dbl_mp): Likewise.
57302         (add_magnitudes): Likewise.
57303         (sub_magnitudes): Likewise.
57304         (__mul): Likewise.
57305         (__inv): Likewise.
57307         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57308         style.
57310         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57311         style.
57313         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57314         code.
57316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57317         up changes with default code.
57318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57319         Likewise.
57321 2013-02-24  Allan McRae  <allan@archlinux.org>
57323         * manual/socket.texi (The Internet Namespace): Order menu items
57324         to match that in the file.
57326         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57327         node listing of the info page menu.
57329 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57331         [BZ #13550]
57332         * sysdeps/i386/bp-asm.h: Remove file.
57333         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57334         (PARMS): Do not use macros from bp-asm.h.
57335         (S1): Likewise.
57336         (S2): Likewise.
57337         (SIZE): Likewise.
57338         (__mpn_add_n): Do not use BP_SYM
57339         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57340         "bp-asm.h".
57341         (PARMS): Do not use macros from bp-asm.h.
57342         (S1): Likewise.
57343         (SIZE): Likewise.
57344         (__mpn_addmul_1): Do not use BP_SYM
57345         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57346         "bp-asm.h".
57347         (PARMS): Do not use macros from bp-asm.h.
57348         (SIGMSK): Likewise.
57349         (_setjmp): Likewise.  Do not use BP_SYM.
57350         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57351         "bp-asm.h".
57352         (PARMS): Do not use macros from bp-asm.h.
57353         (SIGMSK): Likewise.
57354         (setjmp): Likewise.  Do not use BP_SYM.
57355         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57356         "bp-asm.h".
57357         (PARMS): Do not use macros from bp-asm.h.
57358         (__frexp): Do not use BP_SYM.
57359         (frexp): Likewise.
57360         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57361         "bp-asm.h".
57362         (PARMS): Do not use macros from bp-asm.h.
57363         (__frexpf): Do not use BP_SYM.
57364         (frexpf): Likewise.
57365         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57366         "bp-asm.h".
57367         (PARMS): Do not use macros from bp-asm.h.
57368         (__frexpl): Do not use BP_SYM.
57369         (frexpl): Likewise.
57370         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57371         "bp-asm.h".
57372         (PARMS): Do not use macros from bp-asm.h.
57373         (__remquo): Do not use BP_SYM.
57374         (remquo): Likewise.
57375         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57376         "bp-asm.h".
57377         (PARMS): Do not use macros from bp-asm.h.
57378         (__remquof): Do not use BP_SYM.
57379         (remquof): Likewise.
57380         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57381         "bp-asm.h".
57382         (PARMS): Do not use macros from bp-asm.h.
57383         (__remquol): Do not use BP_SYM.
57384         (remquol): Likewise.
57385         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57386         "bp-asm.h".
57387         (PARMS): Do not use macros from bp-asm.h.
57388         (DEST): Likewise.
57389         (SRC): Likewise.
57390         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57391         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57392         "bp-asm.h".
57393         (PARMS): Do not use macros from bp-asm.h.
57394         (strlen): Do not use BP_SYM.
57395         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57396         "bp-asm.h".
57397         (PARMS): Do not use macros from bp-asm.h.
57398         (S1): Likewise.
57399         (S2): Likewise.
57400         (SIZE): Likewise.
57401         (__mpn_add_n): Do not use BP_SYM.
57402         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57403         "bp-asm.h".
57404         (PARMS): Do not use macros from bp-asm.h.
57405         (S1): Likewise.
57406         (SIZE): Likewise.
57407         (__mpn_addmul_1): Do not use BP_SYM.
57408         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57409         weak_alias.
57410         (bzero): Likewise.
57411         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57412         "bp-asm.h".
57413         (PARMS): Do not use macros from bp-asm.h.
57414         (S): Likewise.
57415         (SIZE): Likewise.
57416         (__mpn_lshift): Do not use BP_SYM.
57417         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57418         "bp-asm.h".
57419         (PARMS): Do not use macros from bp-asm.h.
57420         (DEST): Likewise.
57421         (SRC): Likewise.
57422         (LEN): Likewise.
57423         (memcpy): Likewise.  Do not use BP_SYM.
57424         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57425         libc_hidden_def and weak_alias.
57426         (mempcpy): Do not use BP_SYM in weak_alias.
57427         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57428         "bp-asm.h".
57429         (PARMS): Do not use macros from bp-asm.h.
57430         (DEST): Likewise.
57431         (LEN): Likewise.
57432         [!BZERO_P] (CHR): Likewise.
57433         (memset): Likewise.  Do not use BP_SYM.
57434         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57435         "bp-asm.h".
57436         (PARMS): Do not use macros from bp-asm.h.
57437         (S1): Likewise.
57438         (SIZE): Likewise.
57439         (__mpn_mul_1): Do not use BP_SYM.
57440         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57441         "bp-asm.h".
57442         (PARMS): Do not use macros from bp-asm.h.
57443         (S): Likewise.
57444         (SIZE): Likewise.
57445         (__mpn_rshift): Do not use BP_SYM.
57446         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57447         "bp-asm.h".
57448         (PARMS): Do not use macros from bp-asm.h.
57449         (STR): Likewise.
57450         (CHR): Likewise.
57451         (strchr): Likewise.  Do not use BP_SYM.
57452         (index): Do not use BP_SYM in weak_alias.
57453         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57454         "bp-asm.h".
57455         (PARMS): Do not use macros from bp-asm.h.
57456         (DEST): Likewise.
57457         (SRC): Likewise.
57458         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57459         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57460         "bp-asm.h".
57461         (PARMS): Do not use macros from bp-asm.h.
57462         (strlen): Do not use BP_SYM.
57463         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57464         "bp-asm.h".
57465         (PARMS): Do not use macros from bp-asm.h.
57466         (S1): Likewise.
57467         (S2): Likewise.
57468         (SIZE): Likewise.
57469         (__mpn_sub_n): Do not use BP_SYM.
57470         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57471         "bp-asm.h".
57472         (PARMS): Do not use macros from bp-asm.h.
57473         (S1): Likewise.
57474         (SIZE): Likewise.
57475         (__mpn_submul_1): Do not use BP_SYM.
57476         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57477         "bp-asm.h".
57478         (PARMS): Do not use macros from bp-asm.h.
57479         (S1): Likewise.
57480         (S2): Likewise.
57481         (SIZE): Likewise.
57482         (__mpn_add_n): Do not use BP_SYM.
57483         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57484         weak_alias.
57485         (bzero): Likewise.
57486         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57487         "bp-asm.h".
57488         (PARMS): Do not use macros from bp-asm.h.
57489         (BLK2): Likewise.
57490         (LEN): Likewise.
57491         (memcmp): Do not use BP_SYM.
57492         (bcmp): Do not use BP_SYM in weak_alias.
57493         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57494         "bp-asm.h".
57495         (PARMS): Do not use macros from bp-asm.h.
57496         (DEST): Likewise.
57497         (SRC): Likewise.
57498         (LEN): Likewise.
57499         (memcpy): Likewise.  Do not use BP_SYM.
57500         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57501         "bp-asm.h".
57502         (PARMS): Do not use macros from bp-asm.h.
57503         (DEST): Likewise.
57504         (SRC): Likewise.
57505         (LEN): Likewise.
57506         (memmove): Likewise.  Do not use BP_SYM.
57507         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57508         "bp-asm.h".
57509         (PARMS): Do not use macros from bp-asm.h.
57510         (DEST): Likewise.
57511         (SRC): Likewise.
57512         (LEN): Likewise.
57513         (__mempcpy): Likewise.  Do not use BP_SYM.
57514         (mempcpy): Do not use BP_SYM in weak_alias.
57515         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57516         "bp-asm.h".
57517         (PARMS): Do not use macros from bp-asm.h.
57518         (DEST): Likewise.
57519         (LEN): Likewise.
57520         [!BZERO_P] (CHR): Likewise.
57521         (memset): Likewise.  Do not use BP_SYM.
57522         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57523         "bp-asm.h".
57524         (PARMS): Do not use macros from bp-asm.h.
57525         (STR2): Likewise.
57526         (strcmp): Do not use BP_SYM.
57527         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57528         "bp-asm.h".
57529         (PARMS): Do not use macros from bp-asm.h.
57530         (STR): Likewise.
57531         (DELIM): Likewise.
57532         [USE_AS_STRTOK_R] (SAVE): Likewise.
57533         (FUNCTION): Likewise.  Do not use BP_SYM.
57534         * sysdeps/i386/i686/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/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57539         (PARMS): Do not use macros from bp-asm.h.
57540         (S): Likewise.
57541         (SIZE): Likewise.
57542         (__mpn_lshift): Do not use BP_SYM.
57543         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57544         (PARMS): Do not use macros from bp-asm.h.
57545         (STR): Likewise.
57546         (CHR): Likewise.
57547         (__memchr): Do not use BP_SYM.
57548         (memchr): Do not use BP_SYM in weak_alias.
57549         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57550         (PARMS): Do not use macros from bp-asm.h.
57551         (BLK2): Likewise.
57552         (LEN): Likewise.
57553         (memcmp): Do not use BP_SYM.
57554         (bcmp): Do not use BP_SYM in weak_alias.
57555         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57556         (PARMS): Do not use macros from bp-asm.h.
57557         (S1): Likewise.
57558         (SIZE): Likewise.
57559         (__mpn_mul_1): Do not use BP_SYM.
57560         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57561         "bp-asm.h".
57562         (PARMS): Do not use macros from bp-asm.h.
57563         (STR): Likewise.
57564         (CHR): Likewise.
57565         (__rawmemchr): Do not use BP_SYM.
57566         (rawmemchr): Do not use BP_SYM in weak_alias.
57567         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57568         (PARMS): Do not use macros from bp-asm.h.
57569         (S): Likewise.
57570         (SIZE): Likewise.
57571         (__mpn_rshift): Do not use BP_SYM.
57572         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57573         (PARMS): Do not use macros from bp-asm.h.
57574         (SIGMSK): Likewise.
57575         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57576         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57577         (_start): Do not use BP_SYM.
57578         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57579         (PARMS): Do not use macros from bp-asm.h.
57580         (DEST): Likewise.
57581         (SRC): Likewise.
57582         (__stpcpy): Likewise.  Do not use BP_SYM.
57583         (stpcpy): Do not use BP_SYM in weak_alias.
57584         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57585         "bp-asm.h".
57586         (PARMS): Do not use macros from bp-asm.h.
57587         (DEST): Likewise.
57588         (SRC): Likewise.
57589         (LEN): Likewise.
57590         (__stpncpy): Likewise.  Do not use BP_SYM.
57591         (stpncpy): Do not use BP_SYM in weak_alias.
57592         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57593         (PARMS): Do not use macros from bp-asm.h.
57594         (STR): Likewise.
57595         (CHR): Likewise.
57596         (strchr): Likewise.  Do not use BP_SYM.
57597         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57598         "bp-asm.h".
57599         (PARMS): Do not use macros from bp-asm.h.
57600         (STR): Likewise.
57601         (CHR): Likewise.
57602         (__strchrnul): Likewise.  Do not use BP_SYM.
57603         (strchrnul): Do not use BP_SYM in weak_alias.
57604         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57605         "bp-asm.h".
57606         (PARMS): Do not use macros from bp-asm.h.
57607         (STOP): Likewise.
57608         (strcspn): Do not use BP_SYM.
57609         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57610         "bp-asm.h".
57611         (PARMS): Do not use macros from bp-asm.h.
57612         (STR): Likewise.
57613         (STOP): Likewise.
57614         (strpbrk): Likewise.  Do not use BP_SYM.
57615         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57616         "bp-asm.h".
57617         (PARMS): Do not use macros from bp-asm.h.
57618         (STR): Likewise.
57619         (CHR): Likewise.
57620         (strrchr): Likewise.  Do not use BP_SYM.
57621         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57622         (PARMS): Do not use macros from bp-asm.h.
57623         (SKIP): Likewise.
57624         (strspn): Do not use BP_SYM.
57625         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57626         (PARMS): Do not use macros from bp-asm.h.
57627         (STR): Likewise.
57628         (DELIM): Likewise.
57629         (SAVE): Likewise.
57630         (FUNCTION): Likewise.  Do not use BP_SYM.
57631         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57632         aliases.
57633         (strtok_r): Likewise.
57634         (__GI___strtok_r): Likewise.
57635         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57636         (PARMS): Do not use macros from bp-asm.h.
57637         (S1): Likewise.
57638         (S2): Likewise.
57639         (SIZE): Likewise.
57640         (__mpn_sub_n): Do not use BP_SYM.
57641         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57642         "bp-asm.h".
57643         (PARMS): Do not use macros from bp-asm.h.
57644         (S1): Likewise.
57645         (SIZE): Likewise.
57646         (__mpn_submul_1): Do not use BP_SYM.
57647         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57648         <bp-sym.h>.
57649         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57650         and <bp-asm.h>.
57651         (PARMS): Do not use macros from bp-asm.h.
57652         (FLAGS): Likewise.
57653         (PTID): Likewise.
57654         (TLS): Likewise.
57655         (CTID): Likewise.
57656         (__clone): Do not use BP_SYM.
57657         (clone): Do not use BP_SYM in weak_alias.
57658         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57659         and <bp-asm.h>.
57660         (PARMS): Do not use macros from bp-asm.h.
57661         (LEN): Likewise.
57662         (__mmap64): Do not use BP_SYM.
57663         (mmap64): Do not use BP_SYM in weak_alias.
57664         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57665         <bp-sym.h> and <bp-asm.h>.
57666         (PARMS): Do not use macros from bp-asm.h.
57667         (__posix_fadvise64_l64): Do not use BP_SYM.
57668         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57669         (PARMS): Do not use macros from bp-asm.h.
57670         (NSOPS): Likewise.
57671         (semtimedop): Do not use BP_SYM.
57672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57673         and <bp-asm.h>.
57675 2013-02-21  Allan McRae  <allan@archlinux.org>
57677         * manual/message.texi (Charset conversion in gettext):
57678         Move @end statement to beginning of line.
57680 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57683         static.
57684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57685         Likewise.
57687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57688         (denorm): Likewise.
57689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57692 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57694         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57695         tail-call to the resolved function if pltexit isn't needed.
57697 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57700         or Y being zero as being unlikely.
57701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57702         Likewise.
57704 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57706         * manual/nss.texi (System Databases and Name Service Switch):
57707         Remove frobnicate @pxref.
57709 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57711         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57712         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57714 2013-02-20  Petr Machata  <pmachata@redhat.com>
57716         * elf/elf.h (R_ARM_TARGET1): New macro.
57717         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57718         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57719         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57720         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57721         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57722         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57723         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57724         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57725         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57726         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57727         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57728         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57729         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57730         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57731         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57732         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57733         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57734         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57735         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57736         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57737         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57738         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57739         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57740         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57741         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57742         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57743         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57744         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57745         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57746         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57747         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57748         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57749         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57750         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57751         (R_ARM_THM_GOT_BREL12): Likewise.
57752         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57753         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57754         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57755         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57756         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57757         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57758         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57759         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57760         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57762 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57764         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57765         __attribute_used__ to __attribute__ ((unused)).
57767 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57769         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57770         powerpc mpa.c.
57771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57772         comment formatting.
57773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57775 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57777         [BZ #13550]
57778         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57779         Remove macro.
57780         (ENTER): Remove both macro definitions.
57781         (LEAVE): Likewise.
57782         (CHECK_BOUNDS_LOW): Likewise.
57783         (CHECK_BOUNDS_HIGH): Likewise.
57784         (CHECK_BOUNDS_BOTH): Likewise.
57785         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57786         (RETURN_BOUNDED_POINTER): Likewise.
57787         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57788         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57789         (POP_ERRNO_LOCATION_RETURN): Likewise.
57790         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57791         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57792         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57793         macros.
57794         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57795         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57796         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57797         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57798         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57799         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57800         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57801         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57802         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57803         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57804         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57805         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57806         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57807         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57808         removed macros.
57809         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57810         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57811         macros.
57812         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57813         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57814         * sysdeps/i386/i586/memset.S (memset): Likewise.
57815         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57817         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57818         macros.
57819         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57820         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57821         Change uses of L(2) to L(out).
57822         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57823         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57824         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57825         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57826         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57827         removed macros.
57828         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57829         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57830         macros.
57831         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57832         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57833         (RETURN): Do not use macro LEAVE.
57834         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57835         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57836         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57837         * sysdeps/i386/i686/memset.S (memset): Likewise.
57838         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57839         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57840         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57841         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57842         Likewise.
57843         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57844         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57845         L(1_2) and L(1_3) into L(1).
57846         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57847         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57848         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57849         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57850         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57851         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57852         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57853         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57854         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57855         macros.
57856         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57857         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57858         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57859         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57860         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57861         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57862         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57863         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57864         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57865         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57866         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57867         * sysdeps/i386/strspn.S (strspn): Likewise.
57868         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57869         conditional code.
57870         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57871         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57872         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57873         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57874         L(1_3) into L(1_1).
57875         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57876         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57877         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57878         macros.
57879         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57881 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57883         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57884         macro.
57886 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57888         * math/atest-exp.c (exp_mpn): Remove ROUND.
57889         * math/atest-exp2.c (exp_mpn): Likewise.
57890         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57892         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57893         * stdlib/tst-tls-atexit-lib.c: Likewise.
57894         * stdlib/tst-tls-atexit.c: Likewise.
57896 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57898         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57899         and __attribute_alloc_size__.
57901 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57903         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57904         __attribute_alloc_size__.
57905         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57906         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57908 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57910         * include/programs/xmalloc.h: New file.
57911         * catgets/gencat.c: Include it.
57912         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57913         * elf/pldd.c: Likewise.
57914         * iconv/iconv_charmap.c: Likewise.
57915         * iconv/iconvconfig.c: Likewise.
57916         * iconv/strtab.c: Likewise.
57917         * locale/programs/locale.c: Likewise.
57918         * locale/programs/localedef.h: Likewise.
57919         * locale/programs/simple-hash.c: Likewise.
57920         * nscd/nscd.h: Likewise.
57921         * nss/makedb.c: Likewise.
57922         * sysdeps/generic/ldconfig.h: Likewise.
57924 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57926         * Versions.def: Add GLIBC_2.18.
57927         * include/link.h (struct link_map): New member l_tls_dtor_count.
57928         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57929         (__call_tls_dtors): Likewise.
57930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57931         __cxa_thread_atexit_impl.
57932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57933         Likewise.
57934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57935         Likewise.
57936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57937         Likewise.
57938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57939         Likewise.
57940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57942         Likewise.
57943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57944         Likewise.
57945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57947         Likewise.
57948         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57949         (tests): Add test case tst-tls-atexit.
57950         (modules-names): Add shared library for tst-tls-atexit.
57951         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57952         (GLIBC_PRIVATE): Add __call_tls_dtors.
57953         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57954         for libstdc++.
57955         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57956         * stdlib/tst-tls-atexit.c: New test case.
57957         * stdlib/tst-tls-atexit-lib.c: New test case.
57959         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57961         * elf/Versions (ld): Add _dl_find_dso_for_object.
57962         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57963         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57964         (dl_open_worker): Use _dl_find_dso_for_object.
57965         * elf/dl-sym.c (do_sym): Likewise.
57966         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57968 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57970         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57971         Syntactic changes only.
57972         (_dl_runtime_profile): Do a tail-call to the resolved function.
57974 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57976         [BZ #13550]
57977         * sysdeps/x86_64/bp-asm.h: Remove file.
57978         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57979         <bp-sym.h> and <bp-asm.h>.
57980         (__clone): Do not use BP_SYM.
57981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57982         <bp-sym.h> and <bp-asm.h>.
57983         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57984         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57985         "bp-asm.h".
57986         (_setjmp): Do not use BP_SYM.
57987         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57988         "bp-asm.h".
57989         (setjmp): Do not use BP_SYM.
57990         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57991         libc_hidden_def.
57992         (mempcpy): Do not use BP_SYM in weak_alias.
57993         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57994         "bp-asm.h".
57995         (strchr): Do not use BP_SYM.
57996         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57997         "bp-asm.h".
57998         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57999         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58000         (_start): Do not use BP_SYM.
58001         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58002         "bp-asm.h".
58003         (strcat): Do not use BP_SYM.
58004         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58005         "bp-asm.h".
58006         (STRCMP): Do not use BP_SYM.
58007         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58008         "bp-asm.h".
58009         (STRCPY): Do not use BP_SYM.
58010         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58011         "bp-asm.h".
58012         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58013         "bp-asm.h".
58014         (FUNCTION): Do not use BP_SYM.
58015         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58016         weak_alias.
58017         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58019 2013-02-17  Andreas Jaeger  <aj@suse.de>
58021         * time/Versions: Sort entries.
58022         * string/Versions: Likewise.
58023         * resolv/Versions: Likewise.
58024         * posix/Versions: Likewise.
58025         * iconv/Versions: Likewise.
58026         * elf/Versions: Likewise.
58027         * wcsmbs/Versions: Likewise.
58029 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58031         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58032         loop termination condition.
58034         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58035         variable to calculate EZ.
58036         (__sqr): Likewise.
58038         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58039         the lower precision input.
58041 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58043         [BZ #13550]
58044         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58045         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58046         (run-via-rtld-prefix): Do not handle %-bp tests.
58047         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58048         (all-object-suffixes): Remove .ob.
58049         (bppfx): Remove variable.
58050         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58051         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58052         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58053         [$(build-bounded) = yes] (libtype.ob): Likewise.
58054         * Makerules (elide-routines.ob): Remove variable.
58055         (do-tests-clean): Do not handle *-bp.out.
58056         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58057         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58058         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58059         (tests): Do not include $(tests-bp.out).
58060         (xtests): Do not include $(xtests-bp.out).
58061         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58062         [$(build-bounded) = yes] ($(addprefix
58063         $(objpfx),$(binaries-bounded))): Remove rule.
58064         ($(objpfx)%-bp.out): Remove rule.
58065         * config.make.in (build-bounded): Remove variable.
58066         * crypt/Makefile [$(build-bounded) = yes]
58067         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58068         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58069         append to variable.
58070         [$(build-bounded) = yes] (install-lib): Likewise.
58071         [$(build-bounded) = yes] (generated): Likewise.
58072         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58073         Remove rule.
58074         * intl/Makefile [$(build-bounded) = yes]
58075         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58076         * math/Makefile [$(build-bounded) = yes]
58077         ($(tests:%=$(objpfx)%-bp): Likewise.
58078         * misc/Makefile [$(build-bounded) = yes]
58079         ($(objpfx)tst-tsearch-bp): Likewise.
58080         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58081         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58082         Remove dependency.
58083         * string/Makefile (o-objects.ob): Remove variable.
58084         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58085         (CFLAGS-.ob): Remove variable.
58086         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58087         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58088         both definitions of variable.
58089         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58090         (ASFLAGS-.ob): Remove variable.
58092 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58094         [BZ #13550]
58095         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58096         Remove __BOUNDED_POINTERS__ from condition.
58097         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58098         * string/bits/string2.h [!__NO_STRING_INLINES &&
58099         !__BOUNDED_POINTERS__]: Likewise.
58100         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58101         Likewise.
58102         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58103         Remove conditional code.
58104         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58105         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58106         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58107         condition.
58109         [BZ #13550]
58110         * csu/libc-start.c: Do not include <bp-sym.h>.
58111         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58112         * elf/dl-open.c: Do not include <bp-sym.h>.
58113         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58114         * math/fegetenv.c: Do not include <bp-sym.h>.
58115         (fegetenv): Do not use BP_SYM in versioned symbols.
58116         * nptl/sysdeps/pthread/bits/libc-lockP.h
58117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58118         <bp-sym.h>.
58119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58120         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58122         (__pthread_mutex_destroy): Likewise.
58123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58124         (__pthread_mutex_lock): Likewise.
58125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58126         (__pthread_mutex_trylock): Likewise.
58127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58128         (__pthread_mutex_unlock): Likewise.
58129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58130         (__pthread_mutexattr_init): Likewise.
58131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58132         (__pthread_mutexattr_destroy): Likewise.
58133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58134         (__pthread_mutexattr_settype): Likewise.
58135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58136         (__pthread_rwlock_init): Likewise.
58137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58138         (__pthread_rwlock_destroy): Likewise.
58139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58140         (__pthread_rwlock_rdlock): Likewise.
58141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58142         (__pthread_rwlock_tryrdlock): Likewise.
58143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58144         (__pthread_rwlock_wrlock): Likewise.
58145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58146         (__pthread_rwlock_trywrlock): Likewise.
58147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58148         (__pthread_rwlock_unlock): Likewise.
58149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58150         (__pthread_key_create): Likewise.
58151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58152         (__pthread_setspecific): Likewise.
58153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58154         (__pthread_getspecific): Likewise.
58155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58156         Likewise.
58157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58158         (_pthread_cleanup_push_defer): Likewise.
58159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58160         (_pthread_cleanup_pop_restore): Likewise.
58161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58162         (pthread_setcancelstate): Likewise.
58163         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58164         <bp-sym.h>.
58165         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58166         (memchr): Do not use BP_SYM in weak_alias.
58167         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58168         (fegetenv): Do not use BP_SYM in versioned symbols.
58169         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58170         (fesetenv): Do not use BP_SYM in versioned symbols.
58171         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58172         (feupdateenv): Do not use BP_SYM in versioned symbols.
58173         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58174         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58175         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58176         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58177         (open64): Do not use BP_SYM in weak_alias.
58178         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58179         (fegetenv): Do not use BP_SYM in versioned symbols.
58180         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58181         (fesetenv): Do not use BP_SYM in versioned symbols.
58182         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58183         (feupdateenv): Do not use BP_SYM in versioned symbols.
58184         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58185         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58186         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58187         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58188         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58189         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58191         <bp-sym.h>.
58192         (__libc_start_main): Do not use BP_SYM.
58194 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58197         redundant return line.
58198         (norm): Likewise.
58199         (denorm): Likewise.
58200         (dbl_mp): Likewise.
58201         (sub_magnitudes): Likewise.
58202         (__add): Likewise.
58203         (__sub): Likewise.
58204         (__mul): Likewise.
58205         (__inv): Likewise.
58206         (__dvd): Likewise.
58207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58208         (norm): Likewise.
58209         (denorm): Likewise.
58210         (dbl_mp): Likewise.
58211         (sub_magnitudes): Likewise.
58212         (__add): Likewise.
58213         (__sub): Likewise.
58214         (__mul): Likewise.
58215         (__inv): Likewise.
58216         (__dvd): Likewise.
58218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58219         instead of __mul.
58220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58221         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58222         (cc32): Likewise.
58224         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58225         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58227         of __mul for squares.
58228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58229         function
58230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58231         Likewise.
58232         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58233         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58235 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58237         [BZ #13550]
58238         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58239         code.
58240         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58241         prototype or function definition.  Rename ubp_* variables and
58242         parameters.  Remove argv definitions conditional on
58243         [__BOUNDED_POINTERS__].
58244         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58245         * elf/dl-runtime.c (_dl_fixup): Likewise.
58246         * include/set-hooks.h (RUN_HOOK): Likewise.
58247         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58248         definition.
58249         * string/strcpy.c (strcpy): Do not use __unbounded.
58250         * sysdeps/generic/frame.h (struct layout): Likewise.
58251         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58252         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58253         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58254         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58255         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58256         (__backtrace): Likewise.
58257         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58258         use __ptrvalue.
58259         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58261         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58262         Likewise.
58263         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58264         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58265         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58266         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58267         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58268         Do not use __unbounded.
58269         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58270         Rename __unboundedrlimits parameter to rlimits in prototype.
58271         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58272         Do not use __unbounded.
58273         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58274         not use __ptrvalue.
58275         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58276         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58277         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58279         __ptrvalue or __unbounded.
58280         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58281         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58282         use __unbounded.
58283         (__new_msgctl): Do not use __ptrvalue.
58284         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58285         __unbounded.
58286         (__libc_msgrcv): Do not use __ptrvalue.
58287         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58288         startup_info): Do not use __unbounded.
58289         (__libc_start_main): Likewise.  Rename ubp_* variables and
58290         parameters.  Remove argv definitions conditional on
58291         [__BOUNDED_POINTERS__].
58292         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58293         __ptrvalue.
58294         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58295         use __unbounded.
58296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58297         or __ptrvalue.
58298         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58299         use __unbounded.
58300         (__new_shmctl): Do not use __ptrvalue.
58301         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58302         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58303         Likewise.
58304         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58306         (__libc_sigaction): Likewise.
58307         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58308         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58309         Likewise.
58310         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58312 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58314         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58316         * string/mempcpy.c: Implement by calling memcpy.
58318 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58323         evaluation.
58325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58326         values in the mantissa.
58328         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58329         minimize writes to Z.
58330         (sub_magnitudes): Simplify code a bit.
58332 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58334         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58335         from the message.  The linker prefixes all warnings with that already.
58337 2013-02-12  Andreas Schwab  <schwab@suse.de>
58339         [BZ #15078]
58340         * posix/regexec.c (extend_buffers): Add parameter min_len.
58341         (check_matching): Pass minimum needed length.
58342         (clean_state_log_if_needed): Likewise.
58343         (get_subexp): Likewise.
58344         * posix/Makefile (tests): Add bug-regex34.
58345         (bug-regex34-ENV): Define.
58346         * posix/bug-regex34.c: New file.
58348         [BZ #11561]
58349         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58350         elements compare against the byte sequence of it, not its name.
58351         * posix/Makefile (tests): Add bug-regex35.
58352         (bug-regex35-ENV): Define.
58353         * posix/bug-regex35.c: New file.
58355 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58357         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58358         comment.
58359         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58360         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58361         (CHECK_EOL): Add undef.
58363 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58365         * bits/stdlib-bsearch.h: New file.
58366         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58367         * stdlib/stdlib.h: Likewise.
58369 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58371         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58372         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58373         declaration.
58374         * manual/search.texi (Array Search Function): Add missing const in
58375         lfind prototype.
58376         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58377         declaration to use rlim_t.
58378         (Basic Scheduling Functions): Remove erroneous const from
58379         sched_getparam prototype.  Remove erroneous * from
58380         sched_get_priority_max and sched_get_priority_min prototypes.
58381         (Resource Usage): Fix summary @comment on vtimes to refer to
58382         sys/vtimes.h rather than vtimes.h.
58383         Add missing *s in vtimes prototype.
58384         (Limits on Resources): Fix ulimit prototype to return long int.
58385         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58386         prototypes to use long int rather than double.
58387         (BSD Random): Fix initstate and setstate to use char *, not void *.
58388         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58389         prototype to make second argument 'struct aiocb64 *const[]'.
58390         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58391         (Status of AIO Operations): Remove erroneous const in aio_return and
58392         aio_return64 prototypes.
58393         (Synchronizing I/O): Fix sync prototype to return void.
58394         * manual/startup.texi (Suboptions): Remove an erroneous const in
58395         getsubopt prototype.
58396         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58397         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58398         use size_t rather than int.
58399         (Scanning All Users): Likewise for getpwent_r.
58400         (Setting Groups): Add missing const to setgroups prototype.
58401         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58402         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58403         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58404         'const void *' rather than 'const char *'.
58405         (Host Address Functions): Likewise for inet_ntop.
58406         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58407         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58408         ssize_t for return value.
58409         (Sending Data): Likewise for send, sendto, sendmsg.
58410         (Socket Option Functions): Add a missing const in setsockopt prototype.
58411         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58412         use wchar_t for the argument.
58413         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58414         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58415         take no arguments.
58416         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58417         double/float/long double for second argument.
58418         Fix return types of significand, significandf, significandl.
58419         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58420         argument in fchmod prototype.
58421         (File Owner): Use uid_t and gid_t in fchown prototype.
58422         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58423         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58424         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58425         use 'const struct dirent **' as argument types to CMP function pointer
58426         argument.
58427         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58428         (File Times): Fix summary magic @comment for struct utimbuf and utime
58429         to refer to utime.h, not time.h.
58430         * manual/string.texi (Argz Functions): Add missing const in
58431         argz_extract and argz_next prototypes.
58432         (Finding Tokens in a String): Likewise for basename.
58433         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58434         (Copying and Concatenation): Fix typo in wmemmove prototype.
58435         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58436         (Signal Stack): Remove erroneous const in sigstack prototype.
58437         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58438         prototype.
58439         (Simple Calendar Time): Likewise for stime.
58440         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58441         prototype.
58442         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58443         say sys/sysctl.h instead.
58444         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58445         and vsyslog prototypes.
58447 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58449         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58450         Remove.
58452 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58454         * misc/sys/mman.h: Fix typo in mremap comment.
58456 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58458         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58459         the '\0' terminator.
58461 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58463         [BZ #13550]
58464         * debug/segfault.c: Don't include <bp-checks.h>.
58465         * sysdeps/generic/bp-checks.h: Remove file.
58466         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58467         (__GETDENTS): Don't use CHECK_N.
58468         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58469         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58470         (__getgroups): Don't use CHECK_N.
58471         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58472         (setgroups): Don't use CHECK_N.
58473         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58474         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58475         (__libc_msgrcv): Don't use CHECK_N.
58476         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58477         (__libc_msgsnd): Don't use CHECK_N.
58478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58479         <bp-checks.h>.
58480         (__libc_pread): Don't use CHECK_N.
58481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58482         include <bp-checks.h>.
58483         (__libc_pread64): Don't use CHECK_N.
58484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58485         include <bp-checks.h>.
58486         (__libc_pwrite): Don't use CHECK_N.
58487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58488         include <bp-checks.h>.
58489         (__libc_pwrite64): Don't use CHECK_N.
58490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58491         <bp-checks.h>.
58492         (__libc_pread): Don't use CHECK_N.
58493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58494         include <bp-checks.h>.
58495         (__libc_pread64): Don't use CHECK_N.
58496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58497         include <bp-checks.h>.
58498         (__libc_pwrite): Don't use CHECK_N.
58499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58500         include <bp-checks.h>.
58501         (__libc_pwrite64): Don't use CHECK_N.
58502         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58503         (do_pread): Don't use CHECK_N.
58504         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58505         (do_pread64): Don't use CHECK_N.
58506         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58507         (do_pwrite): Don't use CHECK_N.
58508         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58509         (do_pwrite64): Don't use CHECK_N.
58510         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58511         (__libc_readv): Don't use CHECK_N.
58512         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58513         (semop): Don't use CHECK_N.
58514         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58515         <bp-checks.h>.
58516         (semtimedop): Don't use CHECK_N.
58517         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58518         (__libc_pread): Don't use CHECK_N.
58519         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58520         <bp-checks.h>.
58521         (__libc_pread64): Don't use CHECK_N.
58522         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58523         <bp-checks.h>.
58524         (__libc_pwrite): Don't use CHECK_N.
58525         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58526         <bp-checks.h>.
58527         (__libc_pwrite64): Don't use CHECK_N.
58528         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58529         <bp-checks.h>.
58530         (__libc_msgrcv): Don't use CHECK_N.
58531         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58532         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58533         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58534         (__libc_writev): Don't use CHECK_N.
58536 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58538         * string/strcpy.c: Removed unused variable.
58540         * Makeconfig (+sysdep-includes): Define with := rather than =.
58541         Use an existing include/ subdir of each sysdeps dir before it.
58543 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58545         * nscd/connection.c (register_traced_file): Comment function.
58546         [HAVE_INOTIFY] (union __inev): Define.
58547         [HAVE_INOTIFY] (inotify_check_files): New function.
58548         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58549         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58550         clear_db_cache.
58551         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58553 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58555         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58556         loaded if not already and that a failure is permanent.
58558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58560         [BZ #15006]
58561         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58562         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58564 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58566         [BZ #13550]
58567         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58568         (CHECK_1_NULL_OK): Likewise.
58569         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58570         (__fxstat): Do not use CHECK_1.
58571         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58572         <bp-checks.h>.
58573         (___fxstat64): Do not use CHECK_1.
58574         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58575         <bp-checks.h>.
58576         (__fxstatat): Do not use CHECK_1.
58577         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58578         <bp-checks.h>.
58579         (__fxstatat64): Do not use CHECK_1.
58580         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58581         <bp-checks.h>.
58582         (__fxstat): Do not use CHECK_1.
58583         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58584         <bp-checks.h>.
58585         (__fxstatat): Do not use CHECK_1.
58586         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58587         <bp-checks.h>.
58588         (__getresgid): Do not use CHECK_1.
58589         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58590         <bp-checks.h>.
58591         (__getresuid): Do not use CHECK_1.
58592         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58593         <bp-checks.h>.
58594         (__lxstat): Do not use CHECK_1.
58595         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58596         <bp-checks.h>.
58597         (__old_msgctl): Do not use CHECK_1.
58598         (__new_msgctl): Likewise.
58599         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58600         <bp-checks.h>.
58601         (__new_setrlimit): Do not use CHECK_1.
58602         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58603         <bp-checks.h>.
58604         (__old_shmctl): Do not use CHECK_1.
58605         (__new_shmctl): Likewise.
58606         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58607         <bp-checks.h>.
58608         (__xstat): Do not use CHECK_1.
58609         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58610         (__lxstat): Do not use CHECK_1.
58611         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58612         <bp-checks.h>.
58613         (___lxstat64): Do not use CHECK_1.
58614         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58615         (__old_msgctl): Do not use CHECK_1.
58616         (__new_msgctl): Likewise.
58617         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58618         <bp-checks.h>.
58619         (__gettimeofday): Do not use CHECK_1.
58620         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58621         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58622         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58623         <bp-checks.h>.
58624         (__gettimeofday): Do not use CHECK_1.
58625         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58626         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58627         (__new_shmctl): Do not use CHECK_1.
58628         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58629         <bp-checks.h>.
58630         (do_sigtimedwait): Do not use CHECK_1.
58631         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58632         <bp-checks.h>.
58633         (do_sigwaitinfo): Do not use CHECK_1.
58634         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58635         <bp-checks.h>.
58636         (msgctl): Do not use CHECK_1.
58637         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58638         <bp-checks.h>.
58639         (shmctl): Do not use CHECK_1.
58640         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58641         (ustat): Do not use CHECK_1.
58642         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58643         <bp-checks.h>.
58644         (__fxstat): Do not use CHECK_1.
58645         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58646         <bp-checks.h>.
58647         (__fxstatat): Do not use CHECK_1.
58648         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58649         <bp-checks.h>.
58650         (__lxstat): Do not use CHECK_1.
58651         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58652         <bp-checks.h>.
58653         (__xstat): Do not use CHECK_1.
58654         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58655         (__xstat): Do not use CHECK_1.
58656         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58657         (___xstat64): Do not use CHECK_1.
58659         [BZ #13550]
58660         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58661         definitions.
58662         (CHECK_BOUNDS_HIGH): Likewise.
58663         * string/strcpy.c: Do not include <bp-checks.h>.
58664         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58666 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58668         * nscd/nscd-client.h (__nscd_drop_map_ref):
58669         Add __attribute__ ((unused)).
58670         * nis/nss-nisplus.h (niserr2nss): Likewise.
58672         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58673         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58675         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58676         Remove inline keyword.
58677         * include/rounding-mode.h (round_away): Likewise.
58678         * libio/wfileops.c (adjust_wide_data): Likewise.
58679         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58680         (__m128i_strloadu_tolower): Likewise.
58681         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58682         (__m128i_strloadu_tolower): Likewise.
58683         * time/mktime.c (ydhms_diff): Likewise.
58684         * locale/elem-hash.h (elem_hash): Likewise.
58685         * locale/setlocale.c (setdata): Likewise.
58686         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58687         (re_string_wchar_at): Likewise.
58688         (bitset_not, bitset_merge, bitset_mask): Likewise.
58689         [!(__GNUC__ > 3)] (inline): Remove macro.
58690         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58691         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58692         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58693         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58694         * string/memcmp.c (memcmp_bytes): Likewise.
58695         * locale/programs/locarchive.c (compute_hashval): Likewise.
58696         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58697         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58698         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58699         * nss/getent.c (print_rpc, print_protocols): Likewise.
58700         (print_passwd, print_group, print_aliases): Likewise.
58701         * nis/nss-nisplus.h (niserr2nss): Likewise.
58702         * nscd/connections.c (restart_p): Likewise.
58703         Change return type to bool.
58705 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58707         * Makeconfig (all-Depend-files): Add existing
58708         $(sorted-subdirs:=/Depend) files.
58709         (all-subdirs): Remove nss.
58710         * sysdeps/unix/inet/Subdirs: Add it here instead.
58711         * hesiod/Depend: New file.
58713         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58714         instead of calling alloca.
58716         * io/lseek.c (__lseek): Rename to __libc_lseek.
58717         Define __lseek as an alias.
58719         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58721 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58723         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58724         else clause and remove check for non-standard endianness.
58726 2013-02-04  David S. Miller  <davem@davemloft.net>
58728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58730 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58732         [BZ #13550]
58733         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58734         (__ubp_memchr): Remove prototype.
58735         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58736         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58737         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58738         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58739         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58740         Remove alias.
58741         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58742         (__ubp_memchr): Likewise.
58743         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58744         (__ubp_memchr): Likewise.
58745         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58746         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58747         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58748         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58749         CHECK_STRING.
58750         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58751         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58752         (__getcwd): Do not use CHECK_STRING.
58753         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58754         <bp-checks.h>.
58755         (__real_chown): Do not use CHECK_STRING.
58756         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58757         <bp-checks.h>.
58758         (fchownat): Do not use CHECK_STRING.
58759         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58760         CHECK_STRING.
58761         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58762         <bp-checks.h>.
58763         (__lchown): Do not use CHECK_STRING.
58764         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58765         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58766         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58767         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58769         include <bp-checks.h>.
58770         (truncate64): Do not use CHECK_STRING.
58771         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58772         <bp-checks.h>.
58773         (__real_chown): Do not use CHECK_STRING.
58774         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58775         <bp-checks.h>.
58776         (__lchown): Do not use CHECK_STRING.
58777         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58778         <bp-checks.h>.
58779         (__chown): Do not use CHECK_STRING.
58780         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58781         <bp-checks.h>.
58782         (truncate64): Do not use CHECK_STRING.
58783         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58784         Likewise.
58785         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58786         (__xmknod): Do not use CHECK_STRING.
58787         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58788         <bp-checks.h>.
58789         (__xmknodat): Do not use CHECK_STRING.
58790         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58791         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58793 2013-02-04  Andreas Schwab  <schwab@suse.de>
58795         [BZ #14142]
58796         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58797         * include/netdb.h: Likewise for h_errno.
58798         * elf/tst-stackguard1.c: Include <tls.h>.
58800 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58802         * elf/link.h (struct link_map): Extend the l_addr comment.
58803         * include/link.h (struct link_map): Likewise.
58805 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58807         [BZ #13550]
58808         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58809         (BOUNDED_1): Remove macro.
58810         * debug/backtrace.c: Don't include <bp-checks.h>.
58811         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58812         (__backtrace): Likewise.
58813         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58814         <bp-checks.h>.
58815         (__backtrace): Don't use BOUNDED_1.
58816         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58817         <bp-checks.h>.
58818         (__backtrace): Don't use BOUNDED_1.
58819         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58820         (__backtrace): Don't use BOUNDED_1.
58821         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58822         (shmat): Don't use BOUNDED_N.
58824 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58826         [BZ #13550]
58827         * sysdeps/generic/bp-start.h: Remove file.
58828         * csu/libc-start.c: Don't include <bp-start.h>.
58829         (LIBC_START_MAIN): Set up __environ directly instead of using
58830         INIT_ARGV_and_ENVIRON.
58831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58832         <bp-start.h>.
58834         [BZ #13550]
58835         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58836         definitions.
58837         (CHECK_FCNTL): Likewise.
58838         (CHECK_N_PAGES): Likewise.
58840         [BZ #13550]
58841         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58842         definitions.
58843         (CHECK_SIGSET_NULL_OK): Likewise.
58844         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58845         <bp-checks.h>.
58846         (sigpending): Don't use CHECK_SIGSET.
58847         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58848         <bp-checks.h>.
58849         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58850         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58851         <bp-checks.h>.
58852         (do_sigsuspend): Don't use CHECK_SIGSET.
58853         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58854         use CHECK_SIGSET.
58855         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58856         (do_sigwait): Don't use CHECK_SIGSET.
58857         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58858         use CHECK_SIGSET.
58859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58860         include <bp-checks.h>.
58861         (sigpending): Don't use CHECK_SIGSET.
58862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58863         include <bp-checks.h>.
58864         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58865         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58866         <bp-checks.h>.
58867         (sigpending): Don't use CHECK_SIGSET.
58868         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58869         <bp-checks.h>.
58870         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58872         [BZ #13550]
58873         * sysdeps/generic/bp-semctl.h: Remove file.
58874         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58875         <bp-checks.h> and <bp-semctl.h>.
58876         (__old_semctl): Don't use CHECK_SEMCTL.
58877         (__new_semctl): Likewise.
58878         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58879         and <bp-semctl.h>.
58880         (__old_semctl): Don't use CHECK_SEMCTL.
58881         (__new_semctl): Likewise.
58882         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58883         <bp-checks.h> and <bp-semctl.h>.
58884         (__old_semctl): Don't use CHECK_SEMCTL.
58885         (__new_semctl): Likewise.
58886         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58887         <bp-checks.h> and <bp-semctl.h>.
58888         (semctl): Don't use CHECK_SEMCTL.
58890         [BZ #13550]
58891         * Makerules (elide-bp-thunks): Remove variable.
58892         (elide-routines.oS): Don't use $(elide-bp-thunks).
58893         (elide-routines.os): Likewise.
58894         (elide-routines.o): Likewise.
58895         (elide-routines.op): Likewise.
58896         (elide-routines.og): Likewise.
58897         (objects): Don't use $(bp-thunks).
58898         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58899         include.
58900         (common-generated): Do not add s-proto-bp.d.
58901         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58902         (int): Likewise.
58903         (typ): Likewise.
58904         Do not generate makefile rules for bounded-pointer thunks.
58905         * sysdeps/generic/bp-thunks.h: Remove file.
58906         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58907         * sysdeps/unix/s-proto-bp.S: Likewise.
58909         [BZ #15062]
58910         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58911         parts of result separately when argument is not close to line from
58912         -i to i and one part of argument is small.
58913         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58914         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58915         * math/libm-test.inc (cacos_test): Add more tests.
58916         (casin_test): Likewise.
58917         (casinh_test): Likewise.
58918         * sysdeps/i386/fpu/libm-test-ulps: Update.
58919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58921 2013-01-31  David S. Miller  <davem@davemloft.net>
58923         * po/de.po: Update from translation team.
58925 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58927         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58929 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58931         * configure.in (_AC_PROG_CC_C89): New definition.
58932         * configure: Regenerate.
58934         * configure.in (AC_PROG_CPP): New definition.
58935         * configure: Regenerate.
58937 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58939         * debug/tst-backtrace.h: New file.
58940         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58941         (ret): Remove variable.
58942         (x): Likewise.
58943         (FAIL): Remove macro.
58944         (NO_INLINE): Likewise.
58945         (fn1): Use match function instead of strstr.
58946         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58947         (ret): Remove variable.
58948         (x): Likewise.
58949         (FAIL): Remove macro.
58950         (NO_INLINE): Likewise.
58951         (fn): Use match function instead of strstr.
58952         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58953         (ret): Remove variable.
58954         (x): Likewise.
58955         (FAIL): Remove macro.
58956         (NO_INLINE): Likewise.
58957         (handle_signal): Use match function instead of strstr.
58958         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58959         (ret): Remove variable.
58960         (x): Likewise.
58961         (FAIL): Remove macro.
58962         (NO_INLINE): Likewise.
58963         (handle_signal): Use match function instead of strstr.
58965 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58967         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58969 2013-01-23  David S. Miller  <davem@davemloft.net>
58971         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58972         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58973         argument of CAS if possible.
58974         * sysdeps/sparc/sparc64/bits/atomic.h
58975         (__arch_compare_and_exchange_val_32_acq): Likewise.
58976         (__arch_compare_and_exchange_val_64_acq): Likewise.
58978 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58980         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58981         * sysdeps/posix/ulimit.c: ... this.
58982         Include <limits.h>.
58983         * sysdeps/unix/bsd/ulimit.c: Remove file.
58985 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58987         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58988         (LDFLAGS-tst-array5): Likewise.
58990 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58992         [BZ #15036]
58993         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58994         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58995         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58996         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58998 2013-01-21  David S. Miller  <davem@davemloft.net>
59000         * sysdeps/sparc/backtrace.c: New file.
59001         * sysdeps/sparc/sparc32/backtrace.h: New file.
59002         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59003         * sysdeps/sparc/sparc64/backtrace.h: New file.
59004         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59005         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59006         -funwind-tables.
59008 2013-01-21  Andreas Schwab  <schwab@suse.de>
59010         [BZ #15020]
59011         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59012         closed its stdout.
59014 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59017         "mpa2.h".
59018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59020 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59021             Mark Mitchell  <mark@codesourcery.com>
59022             Tom de Vries  <tom@codesourcery.com>
59023             Paul Pluzhnikov  <ppluzhnikov@google.com>
59025         * debug/tst-backtrace2.c: New file.
59026         * debug/tst-backtrace3.c: Likewise.
59027         * debug/tst-backtrace4.c: Likewise.
59028         * debug/tst-backtrace5.c: Likewise.
59029         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59030         (CFLAGS-tst-backtrace3.c): Likewise.
59031         (CFLAGS-tst-backtrace4.c): Likewise.
59032         (CFLAGS-tst-backtrace5.c): Likewise.
59033         (LDFLAGS-tst-backtrace2): Likewise.
59034         (LDFLAGS-tst-backtrace3): Likewise.
59035         (LDFLAGS-tst-backtrace4): Likewise.
59036         (LDFLAGS-tst-backtrace5): Likewise.
59037         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59038         tst-backtrace4 and tst-backtrace5.
59040 2013-01-18  Anton Blanchard  <anton@samba.org>
59041             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59043         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59044         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59045         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59046         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59048         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59049         "+r" and remove output regs list as redundant.  Add explicit inline
59050         asm to specify register of return val to work around compiler codegen
59051         bug.  Remove (int) cast on return value.  Add return type parameter to
59052         use in macro so that this macro does not truncate return value for
59053         64-bit values.
59054         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59055         pass to INTERNAL_VSYSCALL_NCS.
59056         (INLINE_VSYSCALL): Add 'long int' as return type to
59057         INTERNAL_VSYSCALL_NCS macro invocation.
59058         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59059         INTERNAL_VSYSCALL_NCS macro invocation.
59060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59062 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59064         [BZ #14496]
59065         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59066         Fix application of SIMD FP exception mask.
59068         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59069         mp_no from a power of two.
59070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59071         __mpexp_twomm1.  Use __pow_mp.
59073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59074         multiplication.
59076 2013-01-17  David S. Miller  <davem@davemloft.net>
59078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59080 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59082         [BZ #15023]
59083         * include/complex.h: Condition contents on [!_COMPLEX_H].
59084         (__kernel_casinhf): New prototype.
59085         (__kernel_casinh): Likewise.
59086         (__kernel_casinhl): Likewise.
59087         * math/Makefile (libm_calls): Add k_casinh.
59088         * math/k_casinh.c: New file.
59089         * math/k_casinhf.c: Likewise.
59090         * math/k_casinhl.c: Likewise.
59091         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59092         finite nonzero arguments.
59093         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59094         finite nonzero arguments.
59095         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59096         finite nonzero arguments.
59097         * math/s_casinh.c: Do not include <float.h>.
59098         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59099         * math/s_casinhf.c: Do not include <float.h>.
59100         (__casinhf): Move code for finite nonzero arguments to
59101         k_casinhf.c.
59102         * math/s_casinhl.c: Do not include <float.h>.
59103         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59104         redefine.
59105         (__casinhl): Move code for finite nonzero arguments to
59106         k_casinhl.c.
59107         * math/libm-test.inc (cacos_test): Add more tests.
59108         * sysdeps/i386/fpu/libm-test-ulps: Update.
59109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59111 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59113         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59114         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59115         [!HAVE_MREMAP]: Remove [defined linux] case.
59116         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59118 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59120         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59122 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59124         * elf/elf.h (R_386_SIZE32): New relocation.
59125         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59126         R_386_SIZE32.
59127         (elf_machine_rela): Likewise.
59128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59129         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59131 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59133         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59134         (FP_FAST_FMA): Do not define.
59135         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59136         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59137         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59138         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59139         !_SOFT_FLOAT]: Likewise.
59140         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59141         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59142         value.
59143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59144         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59145         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59146         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59147         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59148         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59149         file.
59151 2013-01-16  Andreas Schwab  <schwab@suse.de>
59153         [BZ #14327]
59154         * include/stdlib.h (__mktemp): Add declaration.
59155         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59156         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59158 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59160         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59161         definitions.
59162         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59163         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59164         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59165         definitions here.
59166         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59167         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59168         definitions.
59169         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59170         and ONE.
59171         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59172         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59174         definitions.
59175         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59176         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59177         definitions.
59178         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59180         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59182 2013-01-15  David S. Miller  <davem@davemloft.net>
59184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59185         trunc{,f} to libm-sysdep_routes.
59186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59188         file.
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59191         file.
59192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59193         file.
59194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59200         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59201         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59204         nearbyint{,f} to libm-sysdep_routes.
59205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59207         New file.
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59209         file.
59210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59211         New file.
59212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59213         file.
59214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59217         file.
59218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59219         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59220         file.
59221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59222         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59223         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59225         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59226         libc_feholdexcept and libc_fesetenv.
59228 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59230         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59232 2013-01-14  David S. Miller  <davem@davemloft.net>
59234         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59235         (SPARC_ASM_VIS2_IFUNC): Likewise.
59236         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59238         use of 'siam' instruction.
59239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59240         Likewise.
59241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59242         Likewise.
59243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59244         Likewise.
59245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59250         file.
59251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59252         file.
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59254         file.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59256         file.
59257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59262         new VIS2 routines.
59263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59266         Likewise.
59267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59272         routines to libm-sysdep_routines.
59273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59276         fdim/fdimf to libm-sysdep_routines.
59277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59278         file.
59279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59281         file.
59282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59285         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59286         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59287         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59288         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59290 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59293         to optimize copies.
59295         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59300         local variable MPTWO.
59301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59302         Likewise.
59304 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59306         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59307         GLOB_NOESCAPE.
59309 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59311         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59313 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59315         * manual/pattern.texi (glob_t): Document gl_flags.
59316         (glob64_t): Likewise.
59318 2013-01-11  David S. Miller  <davem@davemloft.net>
59320         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59321         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59322         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59323         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59324         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59325         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59326         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59327         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59328         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59329         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59330         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59331         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59332         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59334         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59335         sparc V9 rather than using V8 code.
59336         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59337         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59339         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59340         Move to...
59341         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59342         Here.
59344 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59346         [BZ #14941]
59347         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59348         not in the main loop.
59349         * configure: Regenerated.
59351 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59353         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59354         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59355         to just #else.
59356         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59357         [!__GLIBC_HAVE_LONG_LONG] case.
59358         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59359         condition to just #else.
59360         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59361         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59362         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59363         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59364         unconditional.
59365         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59366         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59367         #elif condition to just #else.
59368         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59369         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59370         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59371         #elif condition to just #else.
59373 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59375         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59376         (EF_MIPS_ARCH_64): Fix value.
59377         (EF_MIPS_ARCH_32R2): New.
59378         (EF_MIPS_ARCH_64R2): New.
59380 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59382         * Makeconfig (+link-pie-before-libc): New.
59383         (+link-pie-after-libc): Likewise.
59384         (+link-pie-tests): Likewise.
59385         (+link-pie): Rewritten.
59386         (link-before-libc): Remove $(config-LDFLAGS).
59387         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59388         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59389         (config-LDFLAGS): Renamed to ...
59390         (rtld-LDFLAGS): This.
59391         (rtld-tests-LDFLAGS): New macro.
59392         (link-libc-rpath-link): Likewise.
59393         (link-libc-tests-rpath-link): Likewise.
59394         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59395         (link-libc): Prepand $(link-libc-rpath-link).
59396         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59397         (test-program-prefix): New macro.
59398         (test-via-rtld-prefix): Likewise.
59399         (test-program-cmd): Likewise.
59400         (host-test-program-cmd): Likewise.
59401         * Makefile ($(common-objpfx)testrun.sh): Replace
59402         $(run-program-prefix) with $(test-program-prefix).
59403         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59404         $(rtld-LDFLAGS).
59405         ($(common-objpfx)shlib.lds): Likewise.
59406         (build-module-helper): Likewise.
59407         ($(common-objpfx)format.lds): Likewise.
59408         * Rules (binaries-pie-tests): New.
59409         (binaries-pie-notests): Likewise.
59410         (binaries-pie): Rewritten.
59411         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59412         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59413         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59414         (make-test-out): Replace $(host-built-program-cmd) with
59415         $(host-test-program-cmd).
59416         * config.make.in (build-hardcoded-path-in-tests): New variable.
59417         * configure.in (--enable-hardcoded-path-in-tests): New configure
59418         option.
59419         (hardcoded_path_in_tests): New AC_SUBST.
59420         * configure: Regenerated.
59421         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59422         $(built-program-cmd) with $(test-program-cmd).
59423         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59424         (test_program_cmd): This.
59425         * elf/Makefile ($(objpfx)order.out): Run test with
59426         $(test-program-prefix).
59427         ($(objpfx)order2.out): Likewise.
59428         ($(objpfx)tst-initorder.out): Likewise.
59429         ($(objpfx)tst-initorder2.out): Likewise.
59430         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59431         $(test-program-cmd).
59432         ($(objpfx)tst-array1-static.out): Likewise.
59433         ($(objpfx)tst-array2.out): Likewise.
59434         ($(objpfx)tst-array3.out): Likewise.
59435         ($(objpfx)tst-array4.out): Likewise.
59436         ($(objpfx)tst-array5.out): Likewise.
59437         ($(objpfx)tst-array5-static.out): Likewise.
59438         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59439         $(test-program-cmd).
59440         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59441         $(run-program-prefix) with $(test-program-prefix).
59442         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59443         (test_program_prefix): This.
59444         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59445         $(run-program-prefix) with $(test-program-prefix).
59446         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59447         (test_program_prefix): This.
59448         * iconvdata/tst-tables.sh: Likewise.
59449         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59450         $(run-program-prefix) with $(test-program-prefix).
59451         ($(objpfx)tst-translit.out): Likewise.
59452         ($(objpfx)tst-gettext2.out): Likewise.
59453         ($(objpfx)tst-gettext4.out): Likewise.
59454         ($(objpfx)tst-gettext6.out): Likewise.
59455         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59456         (test_program_prefix): This.
59457         * intl/tst-gettext2.sh: Likewise.
59458         * intl/tst-gettext4.sh  Likewise.
59459         * intl/tst-gettext6.sh: Likewise.
59460         * intl/tst-translit.sh: Likewise.
59461         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59462         with $(test-program-cmd).
59463         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59464         $(run-program-prefix) with $(test-program-prefix).
59465         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59466         (test_program_prefix): This.
59467         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59468         $(run-program-prefix) with $(test-program-prefix).
59469         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59470         (test_program_prefix): This.
59471         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59472         * posix/Makefile ($(objpfx)globtest.out): Replace
59473         $(run-via-rtld-prefix) and $(test-wrapper) with
59474         $(test-program-prefix) and $(test-via-rtld-prefix).
59475         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59476         $(test-program-prefix).
59477         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59478         $(host-test-program-cmd).
59479         (tst-spawn-ARGS): Likewise.
59480         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59481         $(test-program-prefix).
59482         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59483         (test_via_rtld_prefix): This.
59484         (test_wrapper): Renamed to ...
59485         (test_program_prefix): This.
59486         (run_program_prefix): Replaced by test_program_prefix.
59487         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59488         (test_program_prefix): This.
59489         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59490         with $(host-test-program-cmd).
59491         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59492         $(run-program-prefix) with $(test-program-prefix).
59493         ($(objpfx)tst-printf.out): Likewise.
59494         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59495         $(test-program-cmd).
59496         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59497         (test_program_prefix): This.
59498         * stdio-common/tst-unbputc.sh: Likewise.
59499         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59500         $(run-program-prefix) with $(test-program-prefix).
59501         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59502         (test_program_prefix): This.
59503         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59504         $(built-program-cmd) with $(test-program-cmd).
59506 2013-01-11  Andreas Jaeger  <aj@suse.de>
59508         [BZ #15003]
59509         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59510         value. Sync with Linux 3.7.
59512 2013-01-10  David S. Miller  <davem@davemloft.net>
59514         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59515         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59516         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59518 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59520         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59521         never set.
59522         * configure: Regenerated.
59524 2013-01-10  David S. Miller  <davem@davemloft.net>
59526         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59527         sparc V9 rather than using V8 code.
59528         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59529         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59531 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59533         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59534         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59535         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59536         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59537         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59538         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59539         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59540         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59541         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59542         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59543         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59544         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59545         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59546         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59547         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59548         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59549         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59550         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59551         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59552         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59553         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59554         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59555         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59556         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59557         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59558         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59559         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59561 2013-01-10  David S. Miller  <davem@davemloft.net>
59563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59565 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59567         * posix/Makefile (tests-static): New variable.
59568         (tests): Add $(tests-static).
59569         (tst-exec-static-ARGS): New variable.
59570         (tst-spawn-static-ARGS): Likewise.
59571         * posix/tst-exec-static.c: New file.
59572         * posix/tst-spawn-static.c: Likewise.
59573         * posix/tst-exec.c: Support run directly.
59574         * posix/tst-spawn.c: Likewise.
59576 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59578         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59579         long.
59580         * math/bits/mathcalls.h (llrint): Likewise.
59581         (llround): Likewise.
59582         * stdlib/stdlib.h (struct drand48_data): Likewise.
59583         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59584         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59585         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59586         Likewise.
59587         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59588         Likewise.
59589         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59590         (elf_greg_t): Likewise.
59591         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59592         (__jmp_buf): Likewise.
59593         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59594         definitions.
59595         (llrint): Likewise, for all definitions.
59596         (llrintl): Likewise.
59598         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59599         Remove [__GNUC__] condition.
59600         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59601         condition to just [__USE_ISOC99].
59602         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59604 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59606         [BZ #14200]
59607         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59608         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59609         defined.
59610         (_POSIX_V6_ILP32_OFF32): Likewise.
59611         (_XBS5_ILP32_OFF32): Likewise.
59612         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59613         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59615 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59617         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59619         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59620         doubles __mpexp_twomm1.  Adjust usage.
59621         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59622         Remove.
59624 2013-01-10  Andreas Schwab  <schwab@suse.de>
59626         [BZ #14964]
59627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59628         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59630 2013-01-09  David S. Miller  <davem@davemloft.net>
59632         [BZ #15003]
59633         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59634         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59635         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59636         (TCP_FASTOPEN): Define.
59637         (tcp_repair_opt): New structure.
59638         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59639         enum values.
59640         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59641         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59642         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59643         (tcp_cookie_transactions): New structure.
59645 2013-01-09  Anton Blanchard  <anton@samba.org>
59647         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59648         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59649         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59650         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59652 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59654         * include/features.h (__USE_ANSI): Remove.
59656 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59658         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59660         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59662 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59664         * sysdeps/s390/fpu/libm-test-ulps: Update.
59666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59668         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59669         (__acr): Likewise.
59670         (__cpy): Likewise.
59671         (norm): Likewise.
59672         (denorm): Likewise.
59673         (__mp_dbl): Likewise.
59674         (__dbl_mp): Likewise.
59675         (add_magnitudes): Likewise.
59676         (sub_magnitudes): Likewise.
59677         (__add): Likewise.
59678         (__sub): Likewise.
59679         (__mul): Likewise.
59680         (__inv): Likewise.
59681         (__dvd): Likewise.
59682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59683         (__acr): Likewise.
59684         (__cpy): Likewise.
59685         (norm): Likewise.
59686         (denorm): Likewise.
59687         (__mp_dbl): Likewise.
59688         (__dbl_mp): Likewise.
59689         (add_magnitudes): Likewise.
59690         (sub_magnitudes): Likewise.
59691         (__add): Likewise.
59692         (__sub): Likewise.
59693         (__mul): Likewise.
59694         (__inv): Likewise.
59695         (__dvd): Likewise.
59696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59697         (__acr): Likewise.
59698         (__cpy): Likewise.
59699         (norm): Likewise.
59700         (denorm): Likewise.
59701         (__mp_dbl): Likewise.
59702         (__dbl_mp): Likewise.
59703         (add_magnitudes): Likewise.
59704         (sub_magnitudes): Likewise.
59705         (__add): Likewise.
59706         (__sub): Likewise.
59707         (__mul): Likewise.
59708         (__inv): Likewise.
59709         (__dvd): Likewise.
59711 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59713         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59714         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59715         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59716         2 && __USE_EXTERN_INLINES]: Likewise.
59718 2013-01-08  Andreas Jaeger  <aj@suse.de>
59720         [BZ# 14985]
59721         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59722         Remove.
59723         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59724         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59726 2013-01-07  Anton Blanchard  <anton@samba.org>
59728         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59729         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59730         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59731         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59732         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59733         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59734         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59735         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59737         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59739         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59740         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59742         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59743         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59744         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59746         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59747         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59748         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59749         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59750         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59751         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59752         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59753         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59754         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59755         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59756         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59757         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59758         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59760         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59761         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59762         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59763         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59764         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59765         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59766         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59768         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59769         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59770         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59772 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59774         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59775         (__MALLOC_PMT): Likewise.
59776         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59777         [__GNUC__], only on [_LIBC].
59778         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59779         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59780         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59781         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59782         forward declaration.
59783         (realloc_hook_ini): Likewise.
59784         (memalign_hook_ini): Likewise.
59785         (__libc_memalign): Do not use __MALLOC_PMT in variable
59786         declaration.
59787         (__libc_valloc): Likewise.
59788         (__libc_pvalloc): Likewise.
59789         (__libc_calloc): Likewise.
59790         (__posix_memalign): Likewise.
59792         [BZ #14996]
59793         * math/s_casinh.c: Include <float.h>.
59794         (__casinh): Do not do computation with squaring and square root
59795         for large arguments.
59796         * math/s_casinhf.c: Include <float.h>.
59797         (__casinhf): Do not do computation with squaring and square root
59798         for large arguments.
59799         * math/s_casinhl.c: Include <float.h>.
59800         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59801         (__casinhl): Do not do computation with squaring and square root
59802         for large arguments.
59803         * math/libm-test.inc (casin_test): Add more tests.
59804         (casinh_test): Likewise.
59805         * sysdeps/i386/fpu/libm-test-ulps: Update.
59806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59808 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59810         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59811         (__x86_64_raw_data_cache_size): Likewise.
59812         (__x86_64_data_cache_size_half): Likewise.
59813         (__x86_64_raw_data_cache_size_half): Likewise.
59814         (__x86_64_shared_cache_size): Likewise.
59815         (__x86_64_raw_shared_cache_size): Likewise.
59816         (__x86_64_shared_cache_size_half): Likewise.
59817         (__x86_64_raw_shared_cache_size_half): Likewise.
59818         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59819         to ...
59820         (__x86_data_cache_size): This.
59821         (__x86_64_raw_data_cache_size): Renamed to ...
59822         (__x86_raw_data_cache_size): This.
59823         (__x86_64_data_cache_size_half): Renamed to ...
59824         (__x86_data_cache_size_half): This.
59825         (__x86_64_raw_data_cache_size_half): Renamed to ...
59826         (__x86_raw_data_cache_size_half): This.
59827         (__x86_64_shared_cache_size): Renamed to ...
59828         (__x86_shared_cache_size): This.
59829         (__x86_64_raw_shared_cache_size): Renamed to ...
59830         (__x86_raw_shared_cache_size): This.
59831         (__x86_64_shared_cache_size_half): Renamed to ...
59832         (__x86_shared_cache_size_half): This.
59833         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59834         (__x86_raw_shared_cache_size_half): This.
59835         * sysdeps/x86_64/memcpy.S: Updated.
59836         * sysdeps/x86_64/memset.S: Likewise.
59837         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59838         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59841 2013-01-04  David S. Miller  <davem@davemloft.net>
59843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59845 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59847         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59848         1 to avoid redefinition warning.
59849         (__USE_GNU): Don't define.
59850         (init_signaling_nan): Protoize.
59852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59854 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59856         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59858         (__cpymn): Likewise.
59859         (norm): Remove commented code.
59860         (denorm): Likewise.
59861         (__mp_dbl): Likewise.
59862         (__inv): Likewise.
59863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59864         (__cpymn): Likewise.
59865         (norm): Remove commented code.
59866         (denorm): Likewise.
59867         (__mp_dbl): Likewise.
59868         (__inv): Likewise.
59870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59871         mp_no value for 1.0 and 2.0.
59872         (norm): Use RADIXI instead of radixi.d.
59873         (denorm): Likewise.
59874         (__mul): Use 0.0 instead of zero.d.
59875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59876         mp_no value for 1.0 and 2.0.
59877         (norm): Use RADIXI instead of radixi.d.
59878         (denorm): Likewise.
59879         (__mul): Use 0.0 instead of zero.d.
59881 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59883         [BZ #14994]
59884         * math/s_casinh.c (__casinh): Reduce finite argument to first
59885         quadrant then set signs of results at the end.
59886         * math/s_casinhf.c (__casinhf): Likewise.
59887         * math/s_casinhl.c (__casinhl): Likewise.
59888         * math/libm-test.inc (casin_test): Add more tests.
59889         (casinh_test): Likewise.
59890         * sysdeps/i386/fpu/libm-test-ulps: Update.
59891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59893 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59895         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59897         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59899         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59900         declarations.
59901         (denorm): Likewise.
59902         (__mp_dbl): Likewise.
59903         (__inv): Likewise.
59905         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59906         and adjust the header comment.
59908         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59909         variable name from declaration.
59911 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59914         Initialize COMMON_CPUID_INDEX_7 element.
59915         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59916         (CPUID_RTM): Likewise.
59917         (HAS_RTM): Likewise.
59918         (COMMON_CPUID_INDEX_7): New enum.
59920 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59922         [BZ #14981]
59923         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59924         size is zero, record memory as freed.
59926 2013-01-03  Andreas Jaeger  <aj@suse.de>
59928         * po/ia.po: Add new Interlingua translation.
59930 2012-01-03  Allan McRae  <allan@archlinux.org>
59932         * locale/programs/localedef.c: Fix description of '--posix' flag.
59934 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59936         * NEWS: Update dates in second copyright notice.
59937         * README: Update copyright dates in example.
59938         * manual/libc.texinfo: Update copyright dates.
59939         * scripts/test-installation.pl: Update copyright date in --version
59940         output.
59942         * hurd/ctty-input.c: Fix copyright notice formatting.
59943         * hurd/ctty-output.c: Likewise.
59944         * hurd/dtable.c: Likewise.
59945         * hurd/hurd-raise.c: Likewise.
59946         * hurd/hurdprio.c: Likewise.
59947         * hurd/msgportdemux.c: Likewise.
59948         * misc/sys/file.h: Likewise.
59949         * misc/sys/ioctl.h: Likewise.
59950         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59951         * sysdeps/mach/hurd/chdir.c: Likewise.
59952         * sysdeps/mach/hurd/fchdir.c: Likewise.
59953         * sysdeps/mach/hurd/rename.c: Likewise.
59954         * sysdeps/mach/hurd/rmdir.c: Likewise.
59955         * sysdeps/mach/hurd/seekdir.c: Likewise.
59956         * sysdeps/mach/hurd/setsid.c: Likewise.
59957         * sysdeps/posix/wait3.c: Likewise.
59959         * All files with FSF copyright notices: Update copyright dates
59960         using scripts/update-copyrights.
59961         * intl/plural.c: Regenerated.
59962         * locale/programs/charmap-kw.h: Likewise.
59963         * locale/programs/locfile-kw.h: Likewise.
59965 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59967         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59968         four values.
59970         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59971         calculation loop and add branch prediction.
59973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59974         check access beyond bounds of m1np.
59976         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59977         MPTWO.
59978         (__inv): Remove local variable MPTWO to use the global
59979         constant.
59980         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59981         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59982         variable MPTWO.
59983         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59984         MP3HALFS static const.
59986 2013-01-01  David S. Miller  <davem@davemloft.net>
59988         * po/ca.po: Update from translation team.
59990 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59992         * scripts/update-copyrights: New file.
59993         * Makeconfig: Reformat copyright notice.
59994         * ctype/ctype.h: Likewise.
59995         * debug/swprintf_chk.c: Likewise.
59996         * elf/dl-cache.c: Likewise.
59997         * elf/dl-debug.c: Likewise.
59998         * elf/dl-object.c: Likewise.
59999         * grp/initgroups.c: Likewise.
60000         * hurd/Makefile: Likewise.
60001         * hurd/hurd/signal.h: Likewise.
60002         * hurd/hurdfault.c: Likewise.
60003         * hurd/hurdioctl.c: Likewise.
60004         * hurd/hurdlookup.c: Likewise.
60005         * hurd/intr-msg.c: Likewise.
60006         * iconv/gconv_open.c: Likewise.
60007         * libio/swprintf.c: Likewise.
60008         * locale/lc-ctype.c: Likewise.
60009         * locale/nl_langinfo.c: Likewise.
60010         * mach/Machrules: Likewise.
60011         * mach/Makefile: Likewise.
60012         * malloc/obstack.h: Likewise.
60013         * manual/Makefile: Likewise.
60014         * manual/tsort.awk: Likewise.
60015         * misc/bits/stab.def: Likewise.
60016         * nis/nis_print_group_entry.c: Likewise.
60017         * nis/nis_table.c: Likewise.
60018         * nis/nss_compat/compat-pwd.c: Likewise.
60019         * nis/nss_compat/compat-spwd.c: Likewise.
60020         * po/Makefile: Likewise.
60021         * posix/fnmatch.c: Likewise.
60022         * posix/regex.h: Likewise.
60023         * resolv/Makefile: Likewise.
60024         * resolv/nss_dns/dns-network.c: Likewise.
60025         * resolv/res_hconf.c: Likewise.
60026         * scripts/gen-sorted.awk: Likewise.
60027         * soft-fp/soft-fp.h: Likewise.
60028         * stdio-common/printf.h: Likewise.
60029         * stdlib/monetary.h: Likewise.
60030         * stdlib/random.c: Likewise.
60031         * stdlib/random_r.c: Likewise.
60032         * sysdeps/generic/Makefile: Likewise.
60033         * sysdeps/gnu/Makefile: Likewise.
60034         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60038         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60040         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60041         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60042         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60043         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60044         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60045         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60046         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60047         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60048         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60049         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60050         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60051         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60052         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60053         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60054         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60055         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60056         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60057         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60058         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60059         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60060         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60061         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60062         * sysdeps/mach/hurd/errnos.awk: Likewise.
60063         * sysdeps/mach/hurd/fork.c: Likewise.
60064         * sysdeps/mach/hurd/getcwd.c: Likewise.
60065         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60066         * sysdeps/mach/hurd/mmap.c: Likewise.
60067         * sysdeps/mach/hurd/utimes.c: Likewise.
60068         * sysdeps/mach/hurd/xmknod.c: Likewise.
60069         * sysdeps/posix/profil.c: Likewise.
60070         * sysdeps/posix/readdir_r.c: Likewise.
60071         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60072         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60073         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60074         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60076         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60077         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60078         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60080         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60081         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60082         * sysdeps/pthread/lio_listio.c: Likewise.
60083         * sysdeps/sparc/dl-procinfo.h: Likewise.
60084         * sysdeps/unix/i386/sysdep.S: Likewise.
60085         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60086         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60087         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60088         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60090         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60091         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60092         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60093         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60094         * sysdeps/wordsize-32/divdi3.c: Likewise.
60095         * time/sys/time.h: Likewise.
60096         * wcsmbs/Makefile: Likewise.
60098 2013-01-01  David S. Miller  <davem@davemloft.net>
60100         * po/fr.po: Update from translation team.
60102         * catgets/gencat.c: Update copyright year.
60103         * csu/version.c: Likewise.
60104         * debug/catchsegv.sh: Likewise.
60105         * debug/pcprofiledump.c: Likewise.
60106         * debug/xtrace.sh: Likewise.
60107         * elf/ldconfig.c: Likewise.
60108         * elf/ldd.bash.in: Likewise.
60109         * elf/pldd.c: Likewise.
60110         * elf/sotruss.ksh: Likewise.
60111         * elf/sprof.c: Likewise.
60112         * iconv/iconv_prog.c: Likewise.
60113         * iconv/iconvconfig.c: Likewise.
60114         * locale/programs/locale.c: Likewise.
60115         * locale/programs/localedef.c: Likewise.
60116         * login/programs/pt_chown.c: Likewise.
60117         * malloc/memusage.sh: Likewise.
60118         * malloc/memusagestat.c: Likewise.
60119         * malloc/mtrace.pl: Likewise.
60120         * nscd/nscd.c: Likewise.
60121         * nss/getent.c: Likewise.
60122         * nss/makedb.c: Likewise.
60123         * posix/getconf.c: Likewise.
60125 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60127         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60128         numbers.
60130 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60132         * math/bits/mathcalls.h (modf): Use __nonnull.
60134 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60136         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60137         (split): Use macro CN instead of the bare value.
60138         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60139         could be used.
60140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60141         instead of the bare value.
60142         (power1): Likewise.
60144 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60146         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60147         __ATAN_TWOM.
60148         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60150         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60151         their values.
60152         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60153         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60154         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60155         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60157 2012-12-28  Andreas Jaeger  <aj@suse.de>
60159         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60160         values are from Linux 3.7.
60162         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60163         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60165 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60167         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60168         TRUE case.
60170         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60171         (norm): Likewise.
60172         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60173         variables with preprocessor constants.
60174         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60175         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60176         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60178 2012-12-27  Bruno Haible  <bruno@clisp.org>
60180         [BZ #14317]
60181         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60182         only if needed.
60184 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60186         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60187         and use variable directly.
60188         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60190         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60191         MPONE.
60192         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60193         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60194         variable MPONE.
60195         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60197         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60198         include directive.  Remove local variable MPONE.
60199         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60200         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60201         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60203 2012-12-25  David S. Miller  <davem@davemloft.net>
60205         * version.h (RELEASE): Set to "development".
60206         (VERSION): Set to "2.17.90".
60207         * NEWS: Add 2.18 section.
60209 2012-12-21  David S. Miller  <davem@davemloft.net>
60211         * po/hr.po: Update from translation team.
60213 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60215         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60217 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60219         * NEWS:  Mention new memcpy for MIPS.
60221 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60223         * manual/contrib.texi (Contributors): Spelling correction.
60225 2012-12-15  David S. Miller  <davem@davemloft.net>
60227         * po/ru.po: Update from translation team.
60229 2012-12-13  David S. Miller  <davem@davemloft.net>
60231         * NEWS: Mention IFUNC testsuite enhancements.
60233         * po/pl.po: Update from translation team.
60234         * po/bg.po: Likewise.
60236         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60237         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60239 2012-12-11  David S. Miller  <davem@davemloft.net>
60241         * po/sv.po: Update from translation team.
60243         * po/vi.po: Update from translation team.
60245         * po/cs.po: Update from translation team.
60247         * po/de.po: Update from translation team.
60248         * po/eo.po: Likewise.
60249         * po/nl.po: Likewise.
60251 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60253         [BZ #14246]
60254         * manual/argp.texi (Argp Helper Functions): Move node to follow
60255         Argp Parsing State.
60257         [BZ #14872]
60258         * manual/conf.texi (Limits on File System Capacity): Mention if
60259         terminating null is included in the max size.
60261 2012-12-10  Andreas Jaeger  <aj@suse.de>
60263         * po/cs.po: Update from translation team.
60265 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60267         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60268         void pointer and cast to uintptr_t.
60269         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60270         path.
60271         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60272         * sysdeps/s390/s390-64/memset.S: Likewise.
60274 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60276         [BZ #14833]
60277         * menual/message.texi (Message Translation): Fix typos.
60278         (Helper programs for gettext): Likewise.
60280 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60282         [BZ #14898]
60283         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60284         Change to -1.
60286 2012-12-07  David S. Miller  <davem@davemloft.net>
60288         * po/libc.pot: Update.
60290 2012-12-07  Richard Henderson  <rth@redhat.com>
60292         [BZ #10114]
60293         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60294         normal/normal case to before the switch.
60295         (_FP_DIV): Likewise.
60297 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60298             Mike Frysinger  <vapier@gentoo.org>
60300         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60301         check for __NR_fadvise64_64.
60303 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60305         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60306         0, not just to plain "0" as a statement.
60307         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60308         with cw.
60310 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60312         * NEWS: Use sourceware.org in Bugzilla URL.
60314 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60317         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60319         * stdio-common/tst-put-error.c (do_test): Add newline to the
60320         padded test to ensure flush.
60322 2012-12-05  Jeff Law  <law@redhat.com>
60324         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60326 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60328         * README: Don't refer to ports add-on as distributed separately.
60329         Mention AArch64 in list of systems supported in the ports add-on.
60331         * LICENSES: Add more non-FSF copyright and license notices.
60333         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60334         ((unused)).
60336         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60338         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60339         10000 as width of padded output.
60341 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60343         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60346         variable LX with __attribute__ ((unused)).
60347         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60348         Likewise.
60349         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60350         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60352         with __attribute__ ((unused)).
60354 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60356         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60358 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60360         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60361         (CFLAGS-nldbl-acos.c): New variable.
60362         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60363         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60364         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60365         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60366         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60367         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60368         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60369         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60370         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60371         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60372         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60373         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60374         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60375         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60376         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60377         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60378         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60379         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60380         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60381         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60382         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60383         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60384         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60385         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60386         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60387         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60388         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60389         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60390         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60391         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60392         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60393         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60394         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60395         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60396         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60397         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60398         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60399         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60400         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60401         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60402         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60403         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60404         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60405         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60406         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60407         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60408         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60409         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60410         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60411         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60412         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60413         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60414         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60415         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60416         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60417         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60418         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60419         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60420         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60421         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60422         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60423         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60424         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60425         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60426         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60427         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60428         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60429         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60430         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60431         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60432         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60433         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60434         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60435         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60436         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60437         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60438         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60439         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60440         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60441         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60442         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60443         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60444         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60445         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60446         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60447         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60448         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60449         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60450         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60451         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60452         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60453         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60454         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60455         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60456         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60457         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60458         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60461         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60463         [BZ #14914]
60464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60465         whole low double instead of just low 47 bits when splitting values
60466         into two parts.
60468 2012-12-03  Allan McRae  <allan@archlinux.org>
60470         * manual/stdio.texi (Predefined Printf Handlers): Remove
60471         @hsep and @vsep usage.
60473 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60475         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60476         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60478 2012-12-03  Jeff Law  <law@redhat.com>
60480         * time/sys/time.h (settimeofday): Do not mark TV argument
60481         as __nonnull.
60483 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60485         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60486         when currently writing and seek to current position when not.
60487         * libio/Makefile (tests): Remove bug-fclose1.
60488         * libio/bug-fclose1.c: Delete.
60490 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60492         * manual/arith.texi (feenableexcept): Fix typo.
60493         (fedisableexcept): Likewise.
60495 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60497         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60498         second, differently-typed declaration, rather than a cast.
60500 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60502         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60503         * include/rpc/svc.h: ... here.
60505 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60507         [BZ #13013]
60508         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60509         depending n and resplen2 to catch cases where answer
60510         equals answerp2.
60512 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60514         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60515         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60517 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60519         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60521 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60523         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60525 2012-11-28  Jeff Law  <law@redhat.com>
60527         [BZ #13761]
60528         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60529         dataset_temporary.  Track alloca usage into alloca_used.
60530         If dataset is large allocate and release it via malloc/free.
60532 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60534         [BZ #14197]
60535         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60537 2012-11-28  David S. Miller  <davem@davemloft.net>
60539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60541 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60543         [BZ #14803]
60544         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60545         of pi/2 rounded to nearest to 64 bits.
60546         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60547         nearest to 64 bits.
60548         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60549         bits.
60551 2012-11-28  Jeff Law <law@redhat.com>
60552             Martin Osvald <mosvald@redhat.com>
60554         [BZ #14889]
60555         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60556         * sunrpc/svc.c: Include time.h.
60557         (__svc_accept_failed): New function.
60558         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60559         any reason other than EINTR, call __svc_accept_failed.
60560         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60561         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60563 2012-11-28  Andreas Schwab  <schwab@suse.de>
60565         * scripts/abilist.awk: Also handle indirect functions in .opd
60566         section.
60568 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60570         [BZ #13881]
60571         * sysdeps/x86/fpu/powl_helper.c: New file.
60572         * sysdeps/x86/fpu/Makefile: Likewise.
60573         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60574         (p3): New object.
60575         (__ieee754_powl): Use __powl_helper for finite arguments except
60576         integer exponents below 8.
60577         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60578         (p3): New object.
60579         (__ieee754_powl): Use __powl_helper for finite arguments except
60580         integer exponents below 8.
60581         * math/libm-test.inc (pow_test): Add more tests and enable some
60582         previously disabled tests.
60583         * sysdeps/i386/fpu/libm-test-ulps: Update.
60584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60586 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60587             Carlos O'Donell  <carlos_odonell@mentor.com>
60589         * nss/makedb.c (is_prime): Assert that input is odd and greater
60590         than 4.  Note that fact in a comment too.
60591         (next_prime): Add 4 to input.
60593 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60595         [BZ #11741]
60596         * libio/Makefile (tests): Add test case tst-fwrite-error.
60597         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60598         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60599         * libio/tst-fwrite-error.c: New test case.
60601 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60603         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60604         before casting to void *.
60605         * include/libc-internal.h (__pointer_type): New macro.
60606         (__integer_if_pointer_type_sub): Likewise.
60607         (__integer_if_pointer_type): Likewise.
60608         (cast_to_integer): Likewise.
60609         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60610         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60611         before casting to atomic64_t.
60612         (atomic_exchange_acq): Likewise.
60613         (__arch_exchange_and_add_body): Likewise.
60614         (__arch_add_body): Likewise.
60615         (atomic_add_negative): Likewise.
60616         (atomic_add_zero): Likewise.
60618 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60620         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60621         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60622         (add_fdes): Likewise.
60623         (linear_search_fdes): Likewise.
60624         (binary_search_unencoded_fdes): Likewise.
60626 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60628         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60630 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60632         * configure.in: Autodetect C++ header directories.
60633         * configure: Regenerated.
60635 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60637         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60639 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60643 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60645         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60646         LDBL_MANT_DIG == 106]: Disable some tests.
60647         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60648         Likewise.
60649         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60650         Likewise.
60652         [BZ #14871]
60653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60654         input for small inputs.  Return +/- pi/2 for large inputs.
60655         * math/libm-test.inc (atan_test): Add more tests.
60657         * sysdeps/generic/unwind-dw2-fde-glibc.c
60658         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60659         __attribute__ ((unused)).
60661         [BZ #14645]
60662         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60663         x * y if x and y are nonzero and z is zero.
60665         [BZ #14811]
60666         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60667         nonzero exponents with absolute value below 0x1p-117 to +/-
60668         0x1p-117.
60670         [BZ #14869]
60671         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60672         up arguments below 2**-450, not just those below 2**-500.
60673         * math/libm-test.inc (hypot_test): Add another test.
60675         [BZ #14868]
60676         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60677         Return a+b for ratio over 2**120, not 2**60.
60678         * math/libm-test.inc (hypot_test): Add another test.
60680         * math/libm-test.inc (clog_test): Use
60681         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60682         (clog10_test): Likewise.
60684         [BZ #6778]
60685         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60687 2012-11-22  Andreas Schwab  <schwab@suse.de>
60689         * sysdeps/i386/fpu/libm-test-ulps: Update.
60691 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60693         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60694         printf output with newline.
60696 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60698         [BZ #14865]
60699         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60700         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60701         -z nodlopen, -z initfirst and -z execstack support.
60702         * configure: Regenerated.
60704         * elf/elf.h (DF_1_NODIRECT): New macro.
60705         (DF_1_IGNMULDEF): Likewise.
60706         (DF_1_NOKSYMS): Likewise.
60707         (DF_1_NOHDR): Likewise.
60708         (DF_1_EDITED): Likewise.
60709         (DF_1_NORELOC): Likewise.
60710         (DF_1_SYMINTPOSE): Likewise.
60711         (DF_1_GLOBAUDIT): Likewise.
60712         (DF_1_SINGLETON): Likewise.
60713         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60714         DT_1_SUPPORTED_MASK bits.
60715         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60717 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60719         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60721 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60723         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60724         macro.
60726         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60727         (sendmmsg): Move declarations...
60728         * socket/sys/socket.h: ... here.
60729         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60730         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60731         include it from...
60732         * socket/recvmmsg.c: ... this new file.
60733         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60734         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60735         definition of __sendmmsg hidden.
60736         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60737         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60738         Move ENOSYS stub into and include it from...
60739         * socket/sendmmsg.c: ... this new file.
60740         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60741         (sysdep_routines): Move recvmmsg and sendmmsg...
60742         * socket/Makefile (routines): ... here.
60743         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60744         (GLIBC_PRIVATE): Add __sendmmsg.
60745         * include/sys/socket.h (__sendmmsg): Add declarations.
60746         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60747         sendmmsg.
60749 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60751         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60752         variable I1 with __attribute__ ((unused)).
60753         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60755 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60757         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60758         DUMMY variables with __attribute__ ((unused)).
60760         * bits/byteswap.h: Include <bits/types.h>.
60761         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60763 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60765         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60766         string_t.  Do not manually set errno.
60767         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60768         length with __strnlen.  Make sure to both set errno and return it on
60769         failure.
60771 2012-11-19  David S. Miller  <davem@davemloft.net>
60773         With help from Joseph Myers.
60774         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60775         very large arguments properly.
60776         * math/libm-test.inc (atan_test): New tests.
60777         (atan2_test): New tests.
60778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60781 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60783         [BZ #14856]
60784         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60785         Define to 3.
60787         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60788         [POSIX] (EADDRNOTAVAIL): Likewise.
60789         [POSIX] (EAFNOSUPPORT): Likewise.
60790         [POSIX] (EALREADY): Likewise.
60791         [POSIX] (ECONNABORTED): Likewise.
60792         [POSIX] (ECONNREFUSED): Likewise.
60793         [POSIX] (ECONNRESET): Likewise.
60794         [POSIX] (EDESTADDRREQ): Likewise.
60795         [POSIX] (EDQUOT): Likewise.
60796         [POSIX] (EHOSTUNREACH): Likewise.
60797         [POSIX] (EIDRM): Likewise.
60798         [POSIX] (EISCONN): Likewise.
60799         [POSIX] (ELOOP): Likewise.
60800         [POSIX] (EMULTIHOP): Likewise.
60801         [POSIX] (ENETDOWN): Likewise.
60802         [POSIX] (ENETUNREACH): Likewise.
60803         [POSIX] (ENOBUFS): Likewise.
60804         [POSIX] (ENODATA): Likewise.
60805         [POSIX] (ENOLINK): Likewise.
60806         [POSIX] (ENOMSG): Likewise.
60807         [POSIX] (ENOPROTOOPT): Likewise.
60808         [POSIX] (ENOSR): Likewise.
60809         [POSIX] (ENOSTR): Likewise.
60810         [POSIX] (ENOTCONN): Likewise.
60811         [POSIX] (ENOTSOCK): Likewise.
60812         [POSIX] (EOPNOTSUPP): Likewise.
60813         [POSIX] (EOVERFLOW): Likewise.
60814         [POSIX] (EPROTO): Likewise.
60815         [POSIX] (EPROTONOSUPPORT): Likewise.
60816         [POSIX] (EPROTOTYPE): Likewise.
60817         [POSIX] (ESTALE): Likewise.
60818         [POSIX] (ETIME): Likewise.
60819         [POSIX] (ETXTBSY): Likewise.
60820         [POSIX] (EWOULDBLOCK): Likewise.
60821         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60822         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60823         [POSIX] (SEEK_CUR): Likewise.
60824         [POSIX] (SEEK_END): Likewise.
60825         [POSIX || UNIX98] (mode_t): Do not require.
60826         [POSIX] (off_t): Likewise.
60827         [POSIX] (pid_t): Likewise.
60828         [POSIX] (sys/stat.h): Do not allow header.
60829         [POSIX] (unistd.h): Likewise.
60830         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60831         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60832         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60833         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60834         require.
60835         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60836         sigevent): Specify elements.
60837         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60838         entry.
60839         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60840         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60842         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60843         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60844         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60845         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60846         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60847         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60848         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60849         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60850         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60851         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60852         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60853         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60854         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60855         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60856         Likewise.
60857         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60858         Likewise.
60859         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60860         Likewise.
60861         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60862         Likewise.
60863         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60864         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60865         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60866         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60867         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60868         Specify lower bound on value.
60869         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60870         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60871         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60872         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60873         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60874         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60875         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60876         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60877         value.
60878         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60879         as optional.
60880         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60881         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60882         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60883         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60884         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60885         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60886         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60887         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60888         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60889         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60890         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60891         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60892         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60893         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60894         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60895         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60896         entry.
60897         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60898         optional.
60899         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60900         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60901         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60902         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60903         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60904         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60905         Likewise.
60906         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60907         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60908         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60909         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60910         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60911         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60913         as optional.
60914         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60915         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60916         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60917         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60918         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60919         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60920         specify as optional.
60921         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60922         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60923         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60924         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60925         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60926         [XPG3] (NL_LANGMAX): Likewise.
60927         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60928         [POSIX || XPG3] (NL_NMAX): Likewise.
60929         [POSIX || XPG3] (NL_SETMAX): Likewise.
60930         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60931         [XPG3] (NZERO): Likewise.
60932         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60933         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60934         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60935         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60936         (REG_ERANGE): Expect.
60937         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60938         optional-constant.
60939         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60940         Use (void) in prototype.
60941         [POSIX] (*_t): Allow.
60942         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60943         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60944         (WRDE_BADVAL): Expect.
60946         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60947         expect.
60948         [XPG3 || XPG4] (O_RSYNC): Likewise.
60949         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60950         Likewise.
60951         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60952         [XPG3 || XPG4] (sigqueue): Likewise.
60953         [XPG3 || XPG4] (sigtimedwait): Likewise.
60954         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60955         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60956         [XPG3 || XPG4] (vsnprintf): Likewise.
60957         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60958         Likewise.
60959         [XPG3 || XPG4] (blksize_t): Likewise.
60960         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60961         Likewise.
60962         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60963         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60964         [XPG3 || XPG4] (struct itimerspec): Likewise.
60965         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60966         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60967         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60968         [XPG3 || XPG4] (clockid_t): Likewise.
60969         [XPG3 || XPG4] (timer_t): Likewise.
60970         [XPG3 || XPG4] (clock_getres): Likewise.
60971         [XPG3 || XPG4] (clock_gettime): Likewise.
60972         [XPG3 || XPG4] (clock_settime): Likewise.
60973         [XPG3 || XPG4] (nanosleep): Likewise.
60974         [XPG3 || XPG4] (timer_create): Likewise.
60975         [XPG3 || XPG4] (timer_delete): Likewise.
60976         [XPG3 || XPG4] (timer_gettime): Likewise.
60977         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60978         [XPG3 || XPG4] (timer_settime): Likewise.
60979         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60980         [XPG3 || XPG4] (getlogin_r): Likewise.
60981         [XPG3 || XPG4] (pread): Likewise.
60982         [XPG3 || XPG4] (pthread_atfork): Likewise.
60983         [XPG3 || XPG4] (pwrite): Likewise.
60985         [BZ #14835]
60986         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60987         <bits/siginfo.h>.
60989 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60991         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60992         finalizing MALLSTREAM.
60994         * sysdeps/mach/hurd/syncfs.c: New file.
60996 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60998         [BZ #14719]
60999         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61000         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61002         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61003         (_nss_dns_gethostbyname4_r): Likewise.
61004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61005         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61007 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61009         [BZ #13763]
61010         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61012 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61014         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61015         * elf/cache.c (print_entry): Print ",AArch64" for
61016         FLAG_AARCH64_LIB64
61018         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61019         * elf/cache.c (print_entry): Print ",hard-float" for
61020         FLAG_ARM_LIBHF.
61022 2012-11-18  David S. Miller  <davem@davemloft.net>
61024         With help from Joseph Myers.
61025         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61026         cutoff to 2**-13.
61027         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61028         cutoff to 2**-25.
61029         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61030         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61031         small.
61032         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61033         * math/libm-test.inc (y0_test): New tests.
61034         (y1_test): New tests.
61035         * sysdeps/i386/fpu/libm-test-ulps: Update.
61036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61039 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61041         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61042         64-bit targets.
61043         * configure: Regenerated.
61045 2012-11-17  David S. Miller  <davem@davemloft.net>
61047         [BZ #14811]
61048         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61049         nonzero exponents with absolute value below 0x1p-128 to +/-
61050         0x1p-128.
61052 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61054         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61056         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61058         * posix/getconf-speclist.c: New file.
61059         * posix/posix-envs.def: Likewise.
61060         * posix/confstr.c (START_ENV_GROUP): New macro.
61061         (END_ENV_GROUP): Likewise.
61062         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61063         (KNOWN_PRESENT_ENV_STRING): Likewise.
61064         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61065         (UNKNOWN_ENVIRONMENT): Likewise.
61066         (confstr): Include posix-envs.def instead of handling
61067         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61068         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61069         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61070         (END_ENV_GROUP): Likewise.
61071         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61072         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61073         (UNKNOWN_ENVIRONMENT): Likewise.
61074         (__sysconf): Include posix-envs.def instead of handling associated
61075         cases directly here.
61076         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61077         preprocessing getconf-speclist.c rather than running getconf or
61078         generating empty file.
61080 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61082         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61084 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61086         [BZ #14672]
61087         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61089 2012-11-16  David S. Miller  <davem@davemloft.net>
61091         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61092         smaller than LDBL_EPSILON/2.0L, just return xm1.
61094 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61096         * elf/tst-array1.c (init): Set constructor priority to 1000.
61097         (fini): Set destructor priority to 1000.
61098         * elf/tst-array2dep.c: Likewise.
61100 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61102         [BZ #11741]
61103         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61104         (_IO_new_file_xsputn): Also return EOF if none of the input
61105         data was written when overflow failed.
61106         * libio/iopadn.c (_IO_padn): Likewise.
61107         * libio/iowpadn.c (_IO_wpadn): Likewise.
61108         * stdio-common/tst-put-error.c: Add copyright notice.
61109         (do_test): Add case for printing padded string.
61110         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61111         _IO_padn returned error.
61112         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61113         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61114         return EOF.
61116 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61118         * libio/libioP.h: Add comment note that the references to C++
61119         bits are now obsolete.
61121 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61123         * math/libm-test.inc (check_complex): Use asprintf.
61125 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61127         * debug/pcprofiledump.c (print_version): Update copyright year.
61128         * malloc/memusagestat.c (print_version): Likewise.
61130 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61132         [BZ #14831]
61133         * elf/Makefile (tests): Add tst-audit8.
61134         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61135         ($(objpfx)tst-audit8.out): New target.
61136         (tst-audit8-ENV): New variable.
61137         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61138         audit if l_reloc_result is NULL.
61139         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61140         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61141         * elf/tst-audit8.c: New file.
61143 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61145         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61146         * misc/Makefile (CFLAGS-select.c): Define.
61147         * posix/Makefile (CFLAGS-pause.c): Define.
61149 2012-11-13  David S. Miller  <davem@davemloft.net>
61151         * crypt/Makefile: Move test targets after toplevel Rules
61152         inclusion.  Grab any necessary sysdep routines when linking.
61153         * crypt/md5.c (md5_process_block): Remove define, we will always
61154         name it __md5_process_block.
61155         (md5_finish_ctx): Update md5_process_block call.
61156         (md5_stream): Likewise.
61157         (md5_process_bytes): Likewise.
61158         (md5_process_block): Rename to __md5_process_block and move to ...
61159         * crypt/md5-block.c: ... here.
61160         * crypt/sha256.c (sha256_process_block): Move to ...
61161         * crypt/sha256-block.c: ... here.
61162         * crypt/sha512.c (sha512_process_block): Move to ...
61163         * crypt/sha512-block.c: ... here.
61164         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61165         path.
61166         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61167         * sysdeps/sparc/sparc64/multiarch/Makefile
61168         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61169         crypt subdir.
61170         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61171         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61172         multiarch changes.
61173         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61174         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61175         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61176         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61177         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61178         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61179         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61180         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61182         file.
61183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61184         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61185         file.
61186         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61188 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61190         * timezone/tzselect.ksh: Update from tzcode git revision
61191         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61192         * timezone/zdump.c: Likewise.
61193         * timezone/zic.c: Likewise.
61194         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61195         in TZVERSION setting, not $(PKGVERSION).
61196         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61197         REPORT_BUGS_TO settings.
61199         [BZ #14838]
61200         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61201         macro.
61203 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61205         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61206         detection to immediately after _FP_ROUND().
61207         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61208         bits are 0.
61210 2012-11-11  David S. Miller  <davem@davemloft.net>
61212         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61213         inttypes.h
61214         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61215         __close rather than their public counterparts.
61217 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61219         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61220         file.
61221         [UNIX98] (sem_timedwait): Do not expect.
61222         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61223         [XPG4 || UNIX98] (sockatmark): Do not expect.
61224         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61225         (clock_getcpuclockid): Do not expect.
61226         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61227         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61228         Do not expect.
61229         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61230         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61231         [UNIX98] (vwscanf): Likewise.
61232         [UNIX98] (vswscanf): Likewise.
61234 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61236         * timezone/version.h: Remove file.
61237         * timezone/README: Do not refer to version.h.
61238         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61239         $(objpfx)version.h.
61240         ($(objpfx)zdump.o): Likewise.
61241         ($(objpfx)version.h): New target.
61243         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61244         2012i.
61245         * timezone/README: Don't mention modification to tzselect.ksh.
61246         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61247         work on unmodified tzselect.ksh.  Substitute version numbers in
61248         tzselect.ksh.
61250         * Makefile (format-me): Remove.
61251         (INSTALL): Adjust indentation.  Use commands directly instead of
61252         using $(format-me).
61254         * aclocal.m4 (ACX_PKGVERSION): New macro.
61255         (ACX_BUGURL): Likewise.
61256         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61257         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61258         (REPORT_BUGS_TO): Likewise.
61259         * configure: Regenerated.
61260         * config.h.in (PKGVERSION): New macro.
61261         (REPORT_BUGS_TO): Likewise.
61262         * config.make.in (PKGVERSION): New variable.
61263         (PKGVERSION_TEXI): Likewise.
61264         (REPORT_BUGS_TO): Likewise.
61265         (REPORT_BUGS_TEXI): Likewise.
61266         * Makefile (format-me): Use -I$(common-objpfx)manual.
61267         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61268         ($(common-objpfx)manual/%): New target.
61269         (manual/%): Remove target.
61270         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61271         (print_version): Use PKGVERSION.
61272         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61273         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61274         and REPORT_BUGS_TO.
61275         ($(objpfx)xtrace): Likewise.
61276         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61277         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61278         (print_version): Use PKGVERSION.
61279         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61280         (do_version): Use PKGVERSION.
61281         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61282         REPORT_BUGS_TO.
61283         (common-ldd-rewrite): Likewise.
61284         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61285         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61286         (print_version): Use PKGVERSION.
61287         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61288         * elf/pldd.c (argp_program_bug_address): Remove variable.
61289         (more_help): New function.
61290         (argp): Use more_help.
61291         (print_version): Use PKGVERSION.
61292         * elf/sln.c (main): Use PKGVERSION.
61293         (usage): Use REPORT_BUGS_TO.
61294         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61295         (top level): Use PKGVERSION.
61296         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61297         (print_version): Use PKGVERSION.
61298         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61299         (print_version): Use PKGVERSION.
61300         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61301         (print_version): Use PKGVERSION.
61302         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61303         (print_version): Use PKGVERSION.
61304         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61305         (print_version): Use PKGVERSION.
61306         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61307         (print_version): Use PKGVERSION.
61308         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61309         and BUGURL.
61310         ($(objpfx)memusage): Likewise.
61311         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61312         (do_version): Use PKGVERSION.
61313         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61314         (print_version): Use PKGVERSION.
61315         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61316         ($PKGVERSION): New variable.
61317         ($REPORT_BUGS_TO): Likewise.
61318         (usage): Use $REPORT_BUGS_TO.
61319         (top level): Use $PKGVERSION.
61320         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61321         ($(objpfx)pkgvers.texi): New rule.
61322         ($(objpfx)stamp-pkgvers): Likewise.
61323         * manual/install.texi: Include pkgvers.texi.
61324         (--with-pkgversion): Document new configure option.
61325         (--with-bugurl): Likewise.
61326         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61327         than necessarily for this particular distribution.  Use
61328         REPORT_BUGS_TO for where to report bugs.
61329         * INSTALL: Regenerated.
61330         * manual/libc.texinfo: Include pkgvers.texi.
61331         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61332         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61333         (print_version): Use PKGVERSION.
61334         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61335         (print_version): Use PKGVERSION.
61336         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61337         (print_version): Use PKGVERSION.
61338         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61339         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61340         macro.
61341         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61342         (print_version): Use PKGVERSION.
61343         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61344         (print_version): Use PKGVERSION.
61345         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61346         and PKGVERSION.
61348         * timezone/checktab.awk: Update from tzcode 2012i.
61349         * timezone/ialloc.c: Likewise.
61350         * timezone/private.h: Likewise.
61351         * timezone/scheck.c: Likewise.
61352         * timezone/tzfile.h: Likewise.
61353         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61354         (TZVERSION): Hardcode tzcode version number.
61355         * timezone/zdump.c: Update from tzcode 2012i.
61356         * timezone/zic.c: Likewise.
61357         * timezone/version.h: New file.
61358         * timezone/README: Describe version.h.  Update upstream location.
61360         [BZ #14824]
61361         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61362         (mktemp): Enable declaration.
61363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61366         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61367         Likewise.
61368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61369         Likewise.
61370         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61371         Likewise.
61372         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61373         Likewise.
61374         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61375         Likewise.
61376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61377         Likewise.
61379         [BZ #14821]
61380         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61381         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61382         for copies of such integer values.
61383         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61384         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61386 2012-11-09  Andreas Jaeger  <aj@suse.de>
61388         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61389         definitions and declarations that are provided by
61390         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61392 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61394         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61395         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61396         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61397         definition.
61399 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61401         * elf/elf.h: Update comment before AArch64 relocations.
61403 2012-11-07  David S. Miller  <davem@davemloft.net>
61405         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61406         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61407         (__start_context): Declare.
61408         (__makecontext_ret): Delete.
61409         (__makecontext): Hook up __start_context instead of
61410         __makecontext_ret.
61411         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61412         (sysdep_routines): Add __start_context when in stdlib.
61414 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61416         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61417         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61418         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61419         hardcoded "nm".
61420         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61421         (READELF): New variable.  Use it instead of hardcoded "readelf".
61423 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61425         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61426         * sysdeps/x86/Makefile: Here.
61427         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61428         * sysdeps/x86/tst-xmmymm.sh: This.
61430 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61432         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61433         expectations.
61434         [UNIX98] (pthread_barrier_t): Do not expect.
61435         [UNIX98] (pthread_barrierattr_t): Likewise.
61436         [UNIX98] (pthread_spinlock_t): Likewise.
61437         [UNIX98] (pthread_barrier_destroy): Likewise.
61438         [UNIX98] (pthread_barrier_init): Likewise.
61439         [UNIX98] (pthread_barrier_wait): Likewise.
61440         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61441         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61442         [UNIX98] (pthread_barrierattr_init): Likewise.
61443         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61444         [UNIX98] (pthread_getcpuclockid): Likewise.
61445         [UNIX98] (pthread_mutex_timedlock): Likewise.
61446         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61447         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61448         [UNIX98] (pthread_sigmask): Likewise.
61449         [UNIX98] (pthread_spin_destroy): Likewise.
61450         [UNIX98] (pthread_spin_init): Likewise.
61451         [UNIX98] (pthread_spin_lock): Likewise.
61452         [UNIX98] (pthread_spin_trylock): Likewise.
61453         [UNIX98] (pthread_spin_unlock): Likewise.
61454         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61455         Do not expect.
61456         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61457         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61458         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61459         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61460         [XPG3 || XPG4] (pthread_key_t): Likewise.
61461         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61462         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61463         [XPG3 || XPG4] (pthread_once_t): Likewise.
61464         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61465         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61466         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61467         [XPG3 || XPG4] (pthread_t): Likewise.
61469         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61470         not expect.
61471         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61473         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61474         Change function return type to int.
61476         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61477         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61478         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61479         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61480         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61481         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61482         [!POSIX] (posix_madvise): Likewise.
61483         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61484         && !UNIX98].
61485         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61486         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61487         (mode_t): Likewise.
61488         (posix_mem_offset): Likewise.
61489         (posix_typed_mem_get_info): Likewise.
61490         (posix_typed_mem_open): Likewise.
61492         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61493         Change condition to [XOPEN2K8].
61495         * conform/conformtest.pl: Preprocess allow-header data with -x c
61496         instead of from stdin.
61497         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61498         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61499         [C99-based standards] (cerfc): Likewise.
61500         [C99-based standards] (cexp2): Likewise.
61501         [C99-based standards] (cexpm1): Likewise.
61502         [C99-based standards] (clog10): Likewise.
61503         [C99-based standards] (clog1p): Likewise.
61504         [C99-based standards] (clog2): Likewise.
61505         [C99-based standards] (clgamma): Likewise.
61506         [C99-based standards] (ctgamma): Likewise.
61507         [C99-based standards] (cerff): Likewise.
61508         [C99-based standards] (cerfcf): Likewise.
61509         [C99-based standards] (cexp2f): Likewise.
61510         [C99-based standards] (cexpm1f): Likewise.
61511         [C99-based standards] (clog10f): Likewise.
61512         [C99-based standards] (clog1pf): Likewise.
61513         [C99-based standards] (clog2f): Likewise.
61514         [C99-based standards] (clgammaf): Likewise.
61515         [C99-based standards] (ctgammaf): Likewise.
61516         [C99-based standards] (cerfl): Likewise.
61517         [C99-based standards] (cerfcl): Likewise.
61518         [C99-based standards] (cexp2l): Likewise.
61519         [C99-based standards] (cexpm1l): Likewise.
61520         [C99-based standards] (clog10l): Likewise.
61521         [C99-based standards] (clog1pl): Likewise.
61522         [C99-based standards] (clog2l): Likewise.
61523         [C99-based standards] (clgammal): Likewise.
61524         [C99-based standards] (ctgammal): Likewise.
61525         * conform/data/inttypes.h-data [C99-based standards]: Include
61526         stdint.h-data.  Remove all expectations for stdint.h contents.
61527         [C99-based standards] (PRI*): Do not allow.
61528         [C99-based standards] (SCN*): Likewise.
61529         [C99-based standards] (*_t): Likewise.
61530         [C99-based-standards] (PRId8): Expect macro.
61531         [C99-based-standards] (PRIi8): Likewise.
61532         [C99-based-standards] (PRIo8): Likewise.
61533         [C99-based-standards] (PRIu8): Likewise.
61534         [C99-based-standards] (PRIx8): Likewise.
61535         [C99-based-standards] (PRIX8): Likewise.
61536         [C99-based-standards] (SCNd8): Likewise.
61537         [C99-based-standards] (SCNi8): Likewise.
61538         [C99-based-standards] (SCNo8): Likewise.
61539         [C99-based-standards] (SCNu8): Likewise.
61540         [C99-based-standards] (SCNx8): Likewise.
61541         [C99-based-standards] (PRIdLEAST8): Likewise.
61542         [C99-based-standards] (PRIiLEAST8): Likewise.
61543         [C99-based-standards] (PRIoLEAST8): Likewise.
61544         [C99-based-standards] (PRIuLEAST8): Likewise.
61545         [C99-based-standards] (PRIxLEAST8): Likewise.
61546         [C99-based-standards] (PRIXLEAST8): Likewise.
61547         [C99-based-standards] (SCNdLEAST8): Likewise.
61548         [C99-based-standards] (SCNiLEAST8): Likewise.
61549         [C99-based-standards] (SCNoLEAST8): Likewise.
61550         [C99-based-standards] (SCNuLEAST8): Likewise.
61551         [C99-based-standards] (SCNxLEAST8): Likewise.
61552         [C99-based-standards] (PRIdFAST8): Likewise.
61553         [C99-based-standards] (PRIiFAST8): Likewise.
61554         [C99-based-standards] (PRIoFAST8): Likewise.
61555         [C99-based-standards] (PRIuFAST8): Likewise.
61556         [C99-based-standards] (PRIxFAST8): Likewise.
61557         [C99-based-standards] (PRIXFAST8): Likewise.
61558         [C99-based-standards] (SCNdFAST8): Likewise.
61559         [C99-based-standards] (SCNiFAST8): Likewise.
61560         [C99-based-standards] (SCNoFAST8): Likewise.
61561         [C99-based-standards] (SCNuFAST8): Likewise.
61562         [C99-based-standards] (SCNxFAST8): Likewise.
61563         [C99-based-standards] (PRId16): Likewise.
61564         [C99-based-standards] (PRIi16): Likewise.
61565         [C99-based-standards] (PRIo16): Likewise.
61566         [C99-based-standards] (PRIu16): Likewise.
61567         [C99-based-standards] (PRIx16): Likewise.
61568         [C99-based-standards] (PRIX16): Likewise.
61569         [C99-based-standards] (SCNd16): Likewise.
61570         [C99-based-standards] (SCNi16): Likewise.
61571         [C99-based-standards] (SCNo16): Likewise.
61572         [C99-based-standards] (SCNu16): Likewise.
61573         [C99-based-standards] (SCNx16): Likewise.
61574         [C99-based-standards] (PRIdLEAST16): Likewise.
61575         [C99-based-standards] (PRIiLEAST16): Likewise.
61576         [C99-based-standards] (PRIoLEAST16): Likewise.
61577         [C99-based-standards] (PRIuLEAST16): Likewise.
61578         [C99-based-standards] (PRIxLEAST16): Likewise.
61579         [C99-based-standards] (PRIXLEAST16): Likewise.
61580         [C99-based-standards] (SCNdLEAST16): Likewise.
61581         [C99-based-standards] (SCNiLEAST16): Likewise.
61582         [C99-based-standards] (SCNoLEAST16): Likewise.
61583         [C99-based-standards] (SCNuLEAST16): Likewise.
61584         [C99-based-standards] (SCNxLEAST16): Likewise.
61585         [C99-based-standards] (PRIdFAST16): Likewise.
61586         [C99-based-standards] (PRIiFAST16): Likewise.
61587         [C99-based-standards] (PRIoFAST16): Likewise.
61588         [C99-based-standards] (PRIuFAST16): Likewise.
61589         [C99-based-standards] (PRIxFAST16): Likewise.
61590         [C99-based-standards] (PRIXFAST16): Likewise.
61591         [C99-based-standards] (SCNdFAST16): Likewise.
61592         [C99-based-standards] (SCNiFAST16): Likewise.
61593         [C99-based-standards] (SCNoFAST16): Likewise.
61594         [C99-based-standards] (SCNuFAST16): Likewise.
61595         [C99-based-standards] (SCNxFAST16): Likewise.
61596         [C99-based-standards] (PRId32): Likewise.
61597         [C99-based-standards] (PRIi32): Likewise.
61598         [C99-based-standards] (PRIo32): Likewise.
61599         [C99-based-standards] (PRIu32): Likewise.
61600         [C99-based-standards] (PRIx32): Likewise.
61601         [C99-based-standards] (PRIX32): Likewise.
61602         [C99-based-standards] (SCNd32): Likewise.
61603         [C99-based-standards] (SCNi32): Likewise.
61604         [C99-based-standards] (SCNo32): Likewise.
61605         [C99-based-standards] (SCNu32): Likewise.
61606         [C99-based-standards] (SCNx32): Likewise.
61607         [C99-based-standards] (PRIdLEAST32): Likewise.
61608         [C99-based-standards] (PRIiLEAST32): Likewise.
61609         [C99-based-standards] (PRIoLEAST32): Likewise.
61610         [C99-based-standards] (PRIuLEAST32): Likewise.
61611         [C99-based-standards] (PRIxLEAST32): Likewise.
61612         [C99-based-standards] (PRIXLEAST32): Likewise.
61613         [C99-based-standards] (SCNdLEAST32): Likewise.
61614         [C99-based-standards] (SCNiLEAST32): Likewise.
61615         [C99-based-standards] (SCNoLEAST32): Likewise.
61616         [C99-based-standards] (SCNuLEAST32): Likewise.
61617         [C99-based-standards] (SCNxLEAST32): Likewise.
61618         [C99-based-standards] (PRIdFAST32): Likewise.
61619         [C99-based-standards] (PRIiFAST32): Likewise.
61620         [C99-based-standards] (PRIoFAST32): Likewise.
61621         [C99-based-standards] (PRIuFAST32): Likewise.
61622         [C99-based-standards] (PRIxFAST32): Likewise.
61623         [C99-based-standards] (PRIXFAST32): Likewise.
61624         [C99-based-standards] (SCNdFAST32): Likewise.
61625         [C99-based-standards] (SCNiFAST32): Likewise.
61626         [C99-based-standards] (SCNoFAST32): Likewise.
61627         [C99-based-standards] (SCNuFAST32): Likewise.
61628         [C99-based-standards] (SCNxFAST32): Likewise.
61629         [C99-based-standards] (PRId64): Likewise.
61630         [C99-based-standards] (PRIi64): Likewise.
61631         [C99-based-standards] (PRIo64): Likewise.
61632         [C99-based-standards] (PRIu64): Likewise.
61633         [C99-based-standards] (PRIx64): Likewise.
61634         [C99-based-standards] (PRIX64): Likewise.
61635         [C99-based-standards] (SCNd64): Likewise.
61636         [C99-based-standards] (SCNi64): Likewise.
61637         [C99-based-standards] (SCNo64): Likewise.
61638         [C99-based-standards] (SCNu64): Likewise.
61639         [C99-based-standards] (SCNx64): Likewise.
61640         [C99-based-standards] (PRIdLEAST64): Likewise.
61641         [C99-based-standards] (PRIiLEAST64): Likewise.
61642         [C99-based-standards] (PRIoLEAST64): Likewise.
61643         [C99-based-standards] (PRIuLEAST64): Likewise.
61644         [C99-based-standards] (PRIxLEAST64): Likewise.
61645         [C99-based-standards] (PRIXLEAST64): Likewise.
61646         [C99-based-standards] (SCNdLEAST64): Likewise.
61647         [C99-based-standards] (SCNiLEAST64): Likewise.
61648         [C99-based-standards] (SCNoLEAST64): Likewise.
61649         [C99-based-standards] (SCNuLEAST64): Likewise.
61650         [C99-based-standards] (SCNxLEAST64): Likewise.
61651         [C99-based-standards] (PRIdFAST64): Likewise.
61652         [C99-based-standards] (PRIiFAST64): Likewise.
61653         [C99-based-standards] (PRIoFAST64): Likewise.
61654         [C99-based-standards] (PRIuFAST64): Likewise.
61655         [C99-based-standards] (PRIxFAST64): Likewise.
61656         [C99-based-standards] (PRIXFAST64): Likewise.
61657         [C99-based-standards] (SCNdFAST64): Likewise.
61658         [C99-based-standards] (SCNiFAST64): Likewise.
61659         [C99-based-standards] (SCNoFAST64): Likewise.
61660         [C99-based-standards] (SCNuFAST64): Likewise.
61661         [C99-based-standards] (SCNxFAST64): Likewise.
61662         [C99-based-standards] (PRIdMAX): Likewise.
61663         [C99-based-standards] (PRIiMAX): Likewise.
61664         [C99-based-standards] (PRIoMAX): Likewise.
61665         [C99-based-standards] (PRIuMAX): Likewise.
61666         [C99-based-standards] (PRIxMAX): Likewise.
61667         [C99-based-standards] (PRIXMAX): Likewise.
61668         [C99-based-standards] (SCNdMAX): Likewise.
61669         [C99-based-standards] (SCNiMAX): Likewise.
61670         [C99-based-standards] (SCNoMAX): Likewise.
61671         [C99-based-standards] (SCNuMAX): Likewise.
61672         [C99-based-standards] (SCNxMAX): Likewise.
61673         [C99-based-standards] (PRIdPTR): Likewise.
61674         [C99-based-standards] (PRIiPTR): Likewise.
61675         [C99-based-standards] (PRIoPTR): Likewise.
61676         [C99-based-standards] (PRIuPTR): Likewise.
61677         [C99-based-standards] (PRIxPTR): Likewise.
61678         [C99-based-standards] (PRIXPTR): Likewise.
61679         [C99-based-standards] (SCNdPTR): Likewise.
61680         [C99-based-standards] (SCNiPTR): Likewise.
61681         [C99-based-standards] (SCNoPTR): Likewise.
61682         [C99-based-standards] (SCNuPTR): Likewise.
61683         [C99-based-standards] (SCNxPTR): Likewise.
61684         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61685         allow.
61686         * conform/data/stdint.h-data: Update comments to clarify
61687         requirements.
61688         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61689         type.
61690         [C99-based standards] (INT8_MAX): Likewise.
61691         [C99-based standards] (INT16_MIN): Likewise.
61692         [C99-based standards] (INT16_MAX): Likewise.
61693         [C99-based standards] (INT32_MIN): Likewise.
61694         [C99-based standards] (INT32_MAX): Likewise.
61695         [C99-based standards] (INT64_MIN): Likewise.
61696         [C99-based standards] (INT64_MAX): Likewise.
61697         [C99-based standards] (UINT8_MAX): Likewise.
61698         [C99-based standards] (UINT16_MAX): Likewise.
61699         [C99-based standards] (UINT32_MAX): Likewise.
61700         [C99-based standards] (UINT64_MAX): Likewise.
61701         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61702         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61703         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61704         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61705         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61706         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61707         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61708         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61709         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61710         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61711         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61712         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61713         [C99-based standards] (INT_FAST8_MIN): Likewise.
61714         [C99-based standards] (INT_FAST8_MAX): Likewise.
61715         [C99-based standards] (INT_FAST16_MIN): Likewise.
61716         [C99-based standards] (INT_FAST16_MAX): Likewise.
61717         [C99-based standards] (INT_FAST32_MIN): Likewise.
61718         [C99-based standards] (INT_FAST32_MAX): Likewise.
61719         [C99-based standards] (INT_FAST64_MIN): Likewise.
61720         [C99-based standards] (INT_FAST64_MAX): Likewise.
61721         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61722         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61723         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61724         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61725         [C99-based standards] (INTPTR_MIN): Likewise.
61726         [C99-based standards] (INTPTR_MAX): Likewise.
61727         [C99-based standards] (UINTPTR_MAX): Likewise.
61728         [C99-based standards] (INTMAX_MIN): Likewise.
61729         [C99-based standards] (INTMAX_MAX): Likewise.
61730         [C99-based standards] (UINTMAX_MAX): Likewise.
61731         [C99-based standards] (PTRDIFF_MIN): Likewise.
61732         [C99-based standards] (PTRDIFF_MAX): Likewise.
61733         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61734         [C99-based standards] (SIZE_MAX): Likewise.
61735         [C99-based standards] (WCHAR_MAX): Likewise.
61736         [C99-based standards] (WINT_MAX): Likewise.
61737         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61738         constraint on value.
61739         [C99-based standards] (WCHAR_MIN): Likewise.
61740         [C99-based standards] (WINT_MIN): Likewise.
61741         [C99-based standards] (*_t): Allow.
61742         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61743         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61744         Include math.h-data and complex.h-data.  Remove all expectations
61745         of math.h and complex.h contents.
61746         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61747         at end of line.
61748         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61749         (struct tm): Expect tag.
61750         [C99-based-standards] (wcstof): Expect function.
61751         [C99-based-standards] (wcstold): Likewise.
61752         [C99-based-standards] (wcstoll): Likewise.
61753         [C99-based-standards] (wcstoull): Likewise.
61754         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61755         macro-int-constant.  Specify type.
61756         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61757         constraint on value.
61758         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61759         Specify type.
61760         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61761         Specify value.
61762         [ISO C standards]: Do not allow headers.
61763         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61764         wcs[abcdefghijklmnopqrstuvwxyz]*.
61765         [ISO C standards] (*_t): Do not allow.
61766         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61767         Expect function.
61768         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61769         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61770         Specify type.
61771         [ISO C standards]: Do not allow headers.
61772         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61773         is[abcdefghijklmnopqrstuvwxyz]*.
61774         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61775         to[abcdefghijklmnopqrstuvwxyz]*.
61776         [ISO C standards] (*_t): Do not allow.
61777         * conform/data/stdalign.h-data: New file.
61778         * conform/data/stdbool.h-data: Likewise.
61779         * conform/data/stdnoreturn.h-data: Likewise.
61781 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61783         [BZ #14815]
61784         * manual/filesys.texi (Directory Entries): Typo fix.
61785         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61787 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61789         * elf/elf.h (EM_AARCH64): New macro.
61790         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61791         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61792         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61793         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61794         (R_AARCH64_TLSDESC): Likewise.
61795         (NT_ARM_TLS): Likewise.
61796         (NT_ARM_HW_BREAK): Likewise.
61797         (NT_ARM_HW_WATCH): Likewise.
61799 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61801         [BZ #14811]
61802         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61803         (__ieee754_powl): Saturate nonzero exponents with absolute value
61804         below 0x1p-79 to +/- 0x1p-79.
61805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61806         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61807         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61808         nonzero exponents with absolute value below 0x1p-32 to +/-
61809         0x1p-32.
61810         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61811         (__ieee754_powl): Saturate nonzero exponents with absolute value
61812         below 0x1p-79 to +/- 0x1p-79.
61813         * math/libm-test.inc (pow_test): Add more tests.
61815 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61817         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61818         _dl_s390_cap_flags with kernel. Increase string length.
61819         (_dl_s390_platforms): Add z196 and zEC12.
61821 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61823         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61824         Change XOPEN21K to XOPEN2K.
61826 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61828         * string/memmove.c: Use memcpy when possible.
61830 2012-11-06  Andreas Jaeger  <aj@suse.de>
61832         * po/eo.po: Update from translation team.
61834 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61836         [BZ #14793]
61837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61838         exponent and small x and y exponents, scale x or y up.  Increase
61839         by 2 the exponent used in scaling up.
61840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61841         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61842         * math/libm-test.inc (fma_test): Add more tests.
61843         (fma_test_towardzero): Likewise.
61844         (fma_test_downward): Likewise.
61845         (fma_test_upward): Likewise.
61847 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61849         [BZ #14805]
61850         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61851         fenv_t *.
61853         [BZ #14801]
61854         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61855         namespace for names of struct fields.
61856         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61857         fenv_t fields.
61858         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61859         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61861 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61863         [BZ #3665]
61864         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61866 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61868         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61869         PTR_DEMANGLE.
61871         [BZ #5246]
61872         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61873         PTR_DEMANGLE.
61875 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61877         [BZ #14797]
61878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61879         definitely overflow as x * y not x * y + z.
61880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61882         * math/libm-test.inc (fma_test): Add more tests.
61883         (fma_test_towardzero): Likewise.
61884         (fma_test_downward): Likewise.
61885         (fma_test_upward): Likewise.
61887 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61889         [BZ #157]
61891         * include/stub-tag.h: Remove file.
61892         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61893         '#include' of it.
61894         * manual/maint.texi (Porting): Don't reference it.
61895         * Makerules ($(objpfx)stubs): Likewise.
61896         * dirent/closedir.c: Don't include <stub-tag.h>.
61897         * dirent/dirfd.c: Likewise.
61898         * dirent/fdopendir.c: Likewise.
61899         * dirent/getdents.c: Likewise.
61900         * dirent/getdents64.c: Likewise.
61901         * dirent/opendir.c: Likewise.
61902         * dirent/readdir.c: Likewise.
61903         * dirent/readdir64.c: Likewise.
61904         * dirent/readdir64_r.c: Likewise.
61905         * dirent/readdir_r.c: Likewise.
61906         * dirent/rewinddir.c: Likewise.
61907         * dirent/seekdir.c: Likewise.
61908         * dirent/telldir.c: Likewise.
61909         * gmon/profil.c: Likewise.
61910         * grp/setgroups.c: Likewise.
61911         * inet/if_index.c: Likewise.
61912         * io/access.c: Likewise.
61913         * io/chdir.c: Likewise.
61914         * io/chmod.c: Likewise.
61915         * io/chown.c: Likewise.
61916         * io/close.c: Likewise.
61917         * io/dup.c: Likewise.
61918         * io/dup2.c: Likewise.
61919         * io/dup3.c: Likewise.
61920         * io/euidaccess.c: Likewise.
61921         * io/faccessat.c: Likewise.
61922         * io/fchdir.c: Likewise.
61923         * io/fchmod.c: Likewise.
61924         * io/fchmodat.c: Likewise.
61925         * io/fchown.c: Likewise.
61926         * io/fchownat.c: Likewise.
61927         * io/fcntl.c: Likewise.
61928         * io/flock.c: Likewise.
61929         * io/fstatfs.c: Likewise.
61930         * io/fstatfs64.c: Likewise.
61931         * io/fstatvfs.c: Likewise.
61932         * io/fstatvfs64.c: Likewise.
61933         * io/futimens.c: Likewise.
61934         * io/fxstat.c: Likewise.
61935         * io/fxstat64.c: Likewise.
61936         * io/fxstatat.c: Likewise.
61937         * io/fxstatat64.c: Likewise.
61938         * io/getcwd.c: Likewise.
61939         * io/isatty.c: Likewise.
61940         * io/lchmod.c: Likewise.
61941         * io/lchown.c: Likewise.
61942         * io/link.c: Likewise.
61943         * io/linkat.c: Likewise.
61944         * io/lseek.c: Likewise.
61945         * io/lseek64.c: Likewise.
61946         * io/lxstat64.c: Likewise.
61947         * io/mkdir.c: Likewise.
61948         * io/mkdirat.c: Likewise.
61949         * io/mkfifo.c: Likewise.
61950         * io/mkfifoat.c: Likewise.
61951         * io/open.c: Likewise.
61952         * io/open64.c: Likewise.
61953         * io/openat.c: Likewise.
61954         * io/openat64.c: Likewise.
61955         * io/pipe.c: Likewise.
61956         * io/pipe2.c: Likewise.
61957         * io/poll.c: Likewise.
61958         * io/posix_fadvise.c: Likewise.
61959         * io/posix_fadvise64.c: Likewise.
61960         * io/posix_fallocate.c: Likewise.
61961         * io/posix_fallocate64.c: Likewise.
61962         * io/read.c: Likewise.
61963         * io/readlink.c: Likewise.
61964         * io/readlinkat.c: Likewise.
61965         * io/rmdir.c: Likewise.
61966         * io/sendfile.c: Likewise.
61967         * io/sendfile64.c: Likewise.
61968         * io/statfs.c: Likewise.
61969         * io/statfs64.c: Likewise.
61970         * io/statvfs.c: Likewise.
61971         * io/statvfs64.c: Likewise.
61972         * io/symlink.c: Likewise.
61973         * io/symlinkat.c: Likewise.
61974         * io/ttyname.c: Likewise.
61975         * io/ttyname_r.c: Likewise.
61976         * io/umask.c: Likewise.
61977         * io/unlink.c: Likewise.
61978         * io/unlinkat.c: Likewise.
61979         * io/utime.c: Likewise.
61980         * io/utimensat.c: Likewise.
61981         * io/write.c: Likewise.
61982         * io/xmknod.c: Likewise.
61983         * io/xmknodat.c: Likewise.
61984         * io/xstat.c: Likewise.
61985         * io/xstat64.c: Likewise.
61986         * login/getpt.c: Likewise.
61987         * login/grantpt.c: Likewise.
61988         * login/unlockpt.c: Likewise.
61989         * math/e_acoshl.c: Likewise.
61990         * math/e_acosl.c: Likewise.
61991         * math/e_asinl.c: Likewise.
61992         * math/e_atan2l.c: Likewise.
61993         * math/e_atanhl.c: Likewise.
61994         * math/e_coshl.c: Likewise.
61995         * math/e_expl.c: Likewise.
61996         * math/e_fmodl.c: Likewise.
61997         * math/e_gammal_r.c: Likewise.
61998         * math/e_hypotl.c: Likewise.
61999         * math/e_j0l.c: Likewise.
62000         * math/e_j1l.c: Likewise.
62001         * math/e_jnl.c: Likewise.
62002         * math/e_lgammal_r.c: Likewise.
62003         * math/e_log10l.c: Likewise.
62004         * math/e_log2l.c: Likewise.
62005         * math/e_logl.c: Likewise.
62006         * math/e_powl.c: Likewise.
62007         * math/e_rem_pio2l.c: Likewise.
62008         * math/e_sinhl.c: Likewise.
62009         * math/e_sqrtl.c: Likewise.
62010         * math/fclrexcpt.c: Likewise.
62011         * math/fedisblxcpt.c: Likewise.
62012         * math/feenablxcpt.c: Likewise.
62013         * math/fegetenv.c: Likewise.
62014         * math/fegetexcept.c: Likewise.
62015         * math/fegetround.c: Likewise.
62016         * math/feholdexcpt.c: Likewise.
62017         * math/fesetenv.c: Likewise.
62018         * math/fesetround.c: Likewise.
62019         * math/feupdateenv.c: Likewise.
62020         * math/fgetexcptflg.c: Likewise.
62021         * math/fraiseexcpt.c: Likewise.
62022         * math/fsetexcptflg.c: Likewise.
62023         * math/ftestexcept.c: Likewise.
62024         * math/k_cosl.c: Likewise.
62025         * math/k_rem_pio2l.c: Likewise.
62026         * math/k_sinl.c: Likewise.
62027         * math/k_tanl.c: Likewise.
62028         * math/s_asinhl.c: Likewise.
62029         * math/s_atanl.c: Likewise.
62030         * math/s_cbrtl.c: Likewise.
62031         * math/s_erfl.c: Likewise.
62032         * math/s_expm1l.c: Likewise.
62033         * math/s_log1pl.c: Likewise.
62034         * math/s_tanhl.c: Likewise.
62035         * misc/acct.c: Likewise.
62036         * misc/brk.c: Likewise.
62037         * misc/chflags.c: Likewise.
62038         * misc/chroot.c: Likewise.
62039         * misc/fchflags.c: Likewise.
62040         * misc/fgetxattr.c: Likewise.
62041         * misc/flistxattr.c: Likewise.
62042         * misc/fremovexattr.c: Likewise.
62043         * misc/fsetxattr.c: Likewise.
62044         * misc/fsync.c: Likewise.
62045         * misc/ftruncate.c: Likewise.
62046         * misc/futimes.c: Likewise.
62047         * misc/futimesat.c: Likewise.
62048         * misc/getdomain.c: Likewise.
62049         * misc/getdtsz.c: Likewise.
62050         * misc/gethostid.c: Likewise.
62051         * misc/gethostname.c: Likewise.
62052         * misc/getloadavg.c: Likewise.
62053         * misc/getpagesize.c: Likewise.
62054         * misc/getsysstats.c: Likewise.
62055         * misc/getxattr.c: Likewise.
62056         * misc/gtty.c: Likewise.
62057         * misc/ioctl.c: Likewise.
62058         * misc/lgetxattr.c: Likewise.
62059         * misc/listxattr.c: Likewise.
62060         * misc/llistxattr.c: Likewise.
62061         * misc/lremovexattr.c: Likewise.
62062         * misc/lsetxattr.c: Likewise.
62063         * misc/lutimes.c: Likewise.
62064         * misc/madvise.c: Likewise.
62065         * misc/mincore.c: Likewise.
62066         * misc/mlock.c: Likewise.
62067         * misc/mlockall.c: Likewise.
62068         * misc/mmap.c: Likewise.
62069         * misc/mprotect.c: Likewise.
62070         * misc/msync.c: Likewise.
62071         * misc/munlock.c: Likewise.
62072         * misc/munlockall.c: Likewise.
62073         * misc/munmap.c: Likewise.
62074         * misc/preadv.c: Likewise.
62075         * misc/preadv64.c: Likewise.
62076         * misc/ptrace.c: Likewise.
62077         * misc/pwritev.c: Likewise.
62078         * misc/pwritev64.c: Likewise.
62079         * misc/readv.c: Likewise.
62080         * misc/reboot.c: Likewise.
62081         * misc/remap_file_pages.c: Likewise.
62082         * misc/removexattr.c: Likewise.
62083         * misc/revoke.c: Likewise.
62084         * misc/select.c: Likewise.
62085         * misc/setdomain.c: Likewise.
62086         * misc/setegid.c: Likewise.
62087         * misc/seteuid.c: Likewise.
62088         * misc/sethostid.c: Likewise.
62089         * misc/sethostname.c: Likewise.
62090         * misc/setregid.c: Likewise.
62091         * misc/setreuid.c: Likewise.
62092         * misc/setxattr.c: Likewise.
62093         * misc/sstk.c: Likewise.
62094         * misc/stty.c: Likewise.
62095         * misc/swapoff.c: Likewise.
62096         * misc/swapon.c: Likewise.
62097         * misc/sync.c: Likewise.
62098         * misc/syncfs.c: Likewise.
62099         * misc/syscall.c: Likewise.
62100         * misc/truncate.c: Likewise.
62101         * misc/ualarm.c: Likewise.
62102         * misc/usleep.c: Likewise.
62103         * misc/ustat.c: Likewise.
62104         * misc/utimes.c: Likewise.
62105         * misc/vhangup.c: Likewise.
62106         * misc/writev.c: Likewise.
62107         * posix/_exit.c: Likewise.
62108         * posix/alarm.c: Likewise.
62109         * posix/execve.c: Likewise.
62110         * posix/fexecve.c: Likewise.
62111         * posix/fork.c: Likewise.
62112         * posix/fpathconf.c: Likewise.
62113         * posix/getaddrinfo.c: Likewise.
62114         * posix/getegid.c: Likewise.
62115         * posix/geteuid.c: Likewise.
62116         * posix/getgid.c: Likewise.
62117         * posix/getgroups.c: Likewise.
62118         * posix/getlogin.c: Likewise.
62119         * posix/getlogin_r.c: Likewise.
62120         * posix/getpgid.c: Likewise.
62121         * posix/getpid.c: Likewise.
62122         * posix/getppid.c: Likewise.
62123         * posix/getresgid.c: Likewise.
62124         * posix/getresuid.c: Likewise.
62125         * posix/getsid.c: Likewise.
62126         * posix/getuid.c: Likewise.
62127         * posix/glob64.c: Likewise.
62128         * posix/nanosleep.c: Likewise.
62129         * posix/pathconf.c: Likewise.
62130         * posix/pause.c: Likewise.
62131         * posix/posix_madvise.c: Likewise.
62132         * posix/pread.c: Likewise.
62133         * posix/pread64.c: Likewise.
62134         * posix/pwrite.c: Likewise.
62135         * posix/pwrite64.c: Likewise.
62136         * posix/sched_getaffinity.c: Likewise.
62137         * posix/sched_getp.c: Likewise.
62138         * posix/sched_gets.c: Likewise.
62139         * posix/sched_primax.c: Likewise.
62140         * posix/sched_primin.c: Likewise.
62141         * posix/sched_rr_gi.c: Likewise.
62142         * posix/sched_setaffinity.c: Likewise.
62143         * posix/sched_setp.c: Likewise.
62144         * posix/sched_sets.c: Likewise.
62145         * posix/sched_yield.c: Likewise.
62146         * posix/setgid.c: Likewise.
62147         * posix/setlogin.c: Likewise.
62148         * posix/setpgid.c: Likewise.
62149         * posix/setresgid.c: Likewise.
62150         * posix/setresuid.c: Likewise.
62151         * posix/setsid.c: Likewise.
62152         * posix/setuid.c: Likewise.
62153         * posix/sleep.c: Likewise.
62154         * posix/spawni.c: Likewise.
62155         * posix/sysconf.c: Likewise.
62156         * posix/times.c: Likewise.
62157         * posix/wait.c: Likewise.
62158         * posix/wait3.c: Likewise.
62159         * posix/wait4.c: Likewise.
62160         * posix/waitpid.c: Likewise.
62161         * resolv/gai_sigqueue.c: Likewise.
62162         * resource/getpriority.c: Likewise.
62163         * resource/getrlimit.c: Likewise.
62164         * resource/getrusage.c: Likewise.
62165         * resource/nice.c: Likewise.
62166         * resource/setpriority.c: Likewise.
62167         * resource/setrlimit.c: Likewise.
62168         * resource/ulimit.c: Likewise.
62169         * rt/aio_cancel.c: Likewise.
62170         * rt/aio_fsync.c: Likewise.
62171         * rt/aio_read.c: Likewise.
62172         * rt/aio_sigqueue.c: Likewise.
62173         * rt/aio_suspend.c: Likewise.
62174         * rt/aio_write.c: Likewise.
62175         * rt/clock_getres.c: Likewise.
62176         * rt/clock_gettime.c: Likewise.
62177         * rt/clock_nanosleep.c: Likewise.
62178         * rt/clock_settime.c: Likewise.
62179         * rt/lio_listio.c: Likewise.
62180         * rt/mq_close.c: Likewise.
62181         * rt/mq_getattr.c: Likewise.
62182         * rt/mq_notify.c: Likewise.
62183         * rt/mq_open.c: Likewise.
62184         * rt/mq_receive.c: Likewise.
62185         * rt/mq_send.c: Likewise.
62186         * rt/mq_setattr.c: Likewise.
62187         * rt/mq_timedreceive.c: Likewise.
62188         * rt/mq_timedsend.c: Likewise.
62189         * rt/mq_unlink.c: Likewise.
62190         * rt/shm_open.c: Likewise.
62191         * rt/shm_unlink.c: Likewise.
62192         * rt/timer_create.c: Likewise.
62193         * rt/timer_delete.c: Likewise.
62194         * rt/timer_getoverr.c: Likewise.
62195         * rt/timer_gettime.c: Likewise.
62196         * rt/timer_settime.c: Likewise.
62197         * setjmp/__longjmp.c: Likewise.
62198         * setjmp/setjmp.c: Likewise.
62199         * signal/kill.c: Likewise.
62200         * signal/killpg.c: Likewise.
62201         * signal/raise.c: Likewise.
62202         * signal/sigaction.c: Likewise.
62203         * signal/sigaltstack.c: Likewise.
62204         * signal/sigblock.c: Likewise.
62205         * signal/sigignore.c: Likewise.
62206         * signal/sigintr.c: Likewise.
62207         * signal/signal.c: Likewise.
62208         * signal/sigpause.c: Likewise.
62209         * signal/sigpending.c: Likewise.
62210         * signal/sigqueue.c: Likewise.
62211         * signal/sigreturn.c: Likewise.
62212         * signal/sigset.c: Likewise.
62213         * signal/sigsetmask.c: Likewise.
62214         * signal/sigstack.c: Likewise.
62215         * signal/sigsuspend.c: Likewise.
62216         * signal/sigtimedwait.c: Likewise.
62217         * signal/sigvec.c: Likewise.
62218         * signal/sigwait.c: Likewise.
62219         * signal/sigwaitinfo.c: Likewise.
62220         * signal/sysv_signal.c: Likewise.
62221         * socket/accept.c: Likewise.
62222         * socket/accept4.c: Likewise.
62223         * socket/bind.c: Likewise.
62224         * socket/connect.c: Likewise.
62225         * socket/getpeername.c: Likewise.
62226         * socket/getsockname.c: Likewise.
62227         * socket/getsockopt.c: Likewise.
62228         * socket/isfdtype.c: Likewise.
62229         * socket/listen.c: Likewise.
62230         * socket/recv.c: Likewise.
62231         * socket/recvfrom.c: Likewise.
62232         * socket/recvmsg.c: Likewise.
62233         * socket/send.c: Likewise.
62234         * socket/sendmsg.c: Likewise.
62235         * socket/sendto.c: Likewise.
62236         * socket/setsockopt.c: Likewise.
62237         * socket/shutdown.c: Likewise.
62238         * socket/sockatmark.c: Likewise.
62239         * socket/socket.c: Likewise.
62240         * socket/socketpair.c: Likewise.
62241         * stdio-common/ctermid.c: Likewise.
62242         * stdio-common/cuserid.c: Likewise.
62243         * stdio-common/remove.c: Likewise.
62244         * stdio-common/rename.c: Likewise.
62245         * stdio-common/renameat.c: Likewise.
62246         * stdio-common/tempname.c: Likewise.
62247         * stdlib/getcontext.c: Likewise.
62248         * stdlib/makecontext.c: Likewise.
62249         * stdlib/setcontext.c: Likewise.
62250         * stdlib/swapcontext.c: Likewise.
62251         * stdlib/system.c: Likewise.
62252         * streams/fattach.c: Likewise.
62253         * streams/fdetach.c: Likewise.
62254         * streams/getmsg.c: Likewise.
62255         * streams/getpmsg.c: Likewise.
62256         * streams/putmsg.c: Likewise.
62257         * streams/putpmsg.c: Likewise.
62258         * sysdeps/unix/bsd/getpt.c: Likewise.
62259         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62260         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62261         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62263         Likewise.
62264         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62265         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62266         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62267         * sysvipc/msgctl.c: Likewise.
62268         * sysvipc/msgget.c: Likewise.
62269         * sysvipc/msgrcv.c: Likewise.
62270         * sysvipc/msgsnd.c: Likewise.
62271         * sysvipc/semctl.c: Likewise.
62272         * sysvipc/semget.c: Likewise.
62273         * sysvipc/semop.c: Likewise.
62274         * sysvipc/semtimedop.c: Likewise.
62275         * sysvipc/shmat.c: Likewise.
62276         * sysvipc/shmctl.c: Likewise.
62277         * sysvipc/shmdt.c: Likewise.
62278         * sysvipc/shmget.c: Likewise.
62279         * termios/tcdrain.c: Likewise.
62280         * termios/tcflow.c: Likewise.
62281         * termios/tcflush.c: Likewise.
62282         * termios/tcgetattr.c: Likewise.
62283         * termios/tcgetpgrp.c: Likewise.
62284         * termios/tcsendbrk.c: Likewise.
62285         * termios/tcsetattr.c: Likewise.
62286         * termios/tcsetpgrp.c: Likewise.
62287         * time/adjtime.c: Likewise.
62288         * time/clock.c: Likewise.
62289         * time/getitimer.c: Likewise.
62290         * time/gettimeofday.c: Likewise.
62291         * time/setitimer.c: Likewise.
62292         * time/settimeofday.c: Likewise.
62293         * time/stime.c: Likewise.
62294         * time/time.c: Likewise.
62296 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62298         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62299         /usr/old/bin.
62301         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62302         instead of spaces.
62303         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62305 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62307         [BZ #14796]
62308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62309         FE_TONEAREST before applying Dekker multiplication and Knuth
62310         addition.  Clear inexact exceptions and check for exact zero
62311         results afterwards.
62312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62313         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62315         * math/libm-test.inc (fma_test): Add more tests.
62316         (fma_test_towardzero): Likewise.
62317         (fma_test_downward): Likewise.
62318         (fma_test_upward): Likewise.
62319         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62320         function.
62321         (libc_fesetround): New macro.
62322         (libc_fesetroundf): Likewise.
62323         (libc_fesetroundl): Likewise.
62324         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62325         function.
62326         (libc_fesetround_387): Likewise.
62327         (libc_fesetroundf): New macro.
62328         (libc_fesetround): Likewise.
62329         (libc_fesetroundl): Likewise.
62330         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62331         function.
62332         (libc_fesetroundf): New macro.
62333         (libc_fesetround): Likewise.
62334         (libc_fesetroundl): Likewise.
62335         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62336         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62337         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62338         libm_hidden_ver.
62339         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62340         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62341         libm_hidden_def.
62342         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62343         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62344         libm_hidden_ver.
62345         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62346         libm_hidden_def.
62348         [BZ #3439]
62349         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62350         integer constant usable in #if and use that to give value to enum
62351         constant.
62352         (FE_DIVBYZERO): Likewise.
62353         (FE_UNDERFLOW): Likewise.
62354         (FE_OVERFLOW): Likewise.
62355         (FE_INVALID): Likewise.
62356         (FE_INVALID_SNAN): Likewise.
62357         (FE_INVALID_ISI): Likewise.
62358         (FE_INVALID_IDI): Likewise.
62359         (FE_INVALID_ZDZ): Likewise.
62360         (FE_INVALID_IMZ): Likewise.
62361         (FE_INVALID_COMPARE): Likewise.
62362         (FE_INVALID_SOFTWARE): Likewise.
62363         (FE_INVALID_SQRT): Likewise.
62364         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62365         (FE_TONEAREST): Likewise.
62366         (FE_TOWARDZERO): Likewise.
62367         (FE_UPWARD): Likewise.
62368         (FE_DOWNWARD): Likewise.
62369         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62370         (FE_DIVBYZERO): Likewise.
62371         (FE_OVERFLOW): Likewise.
62372         (FE_UNDERFLOW): Likewise.
62373         (FE_INEXACT): Likewise.
62374         (FE_TONEAREST): Likewise.
62375         (FE_DOWNWARD): Likewise.
62376         (FE_UPWARD): Likewise.
62377         (FE_TOWARDZERO): Likewise.
62378         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62379         (FE_UNDERFLOW): Likewise.
62380         (FE_OVERFLOW): Likewise.
62381         (FE_DIVBYZERO): Likewise.
62382         (FE_INVALID): Likewise.
62383         (FE_TONEAREST): Likewise.
62384         (FE_TOWARDZERO): Likewise.
62385         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62386         (FE_OVERFLOW): Likewise.
62387         (FE_UNDERFLOW): Likewise.
62388         (FE_DIVBYZERO): Likewise.
62389         (FE_INEXACT): Likewise.
62390         (FE_TONEAREST): Likewise.
62391         (FE_TOWARDZERO): Likewise.
62392         (FE_UPWARD): Likewise.
62393         (FE_DOWNWARD): Likewise.
62394         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62395         (FE_DIVBYZERO): Likewise.
62396         (FE_OVERFLOW): Likewise.
62397         (FE_UNDERFLOW): Likewise.
62398         (FE_INEXACT): Likewise.
62399         (FE_TONEAREST): Likewise.
62400         (FE_DOWNWARD): Likewise.
62401         (FE_UPWARD): Likewise.
62402         (FE_TOWARDZERO): Likewise.
62404 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62406         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62408 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62410         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62411         commands.  Quote $PWD.
62412         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62413         -x" by "export".
62414         (remove_newlines): Remove.
62416 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62418         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62419         * stdlib/stdlib.h (atof): Moved to ...
62420         * include/bits/stdlib-float.h: Here.  New file.
62421         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62422         * stdlib/bits/stdlib-float.h: New file.
62423         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62424         -mno-sse -mno-mmx.
62425         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62426         <xmmintrin.h>.
62428 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62430         * conform/conformtest.pl (@headers): Add fenv.h.
62431         * conform/data/fenv.h-data: New file.
62432         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62433         include of <math/fenv.h>.
62435         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62436         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62437         && !UNIX98].  Enables tests for XOPEN2K8.
62438         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62439         POSIX2008]: Likewise.
62441         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62442         (struct rusage): Do not expect type or its members.
62444         [BZ #3439]
62445         * math/math.h (FP_NAN): Define macro to integer constant usable in
62446         #if and use that to give value to enum constant.
62447         (FP_INFINITE): Likewise.
62448         (FP_ZERO): Likewise.
62449         (FP_SUBNORMAL): Likewise.
62450         (FP_NORMAL): Likewise.
62452 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62454         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62455         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62456         arguments.
62458 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62460         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62461         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62462         autoconf-time if not.
62463         * configure.in: Remove AC_PREREQ.
62465 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62467         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62468         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62469         of the internal implementation.
62471 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62473         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62474         except include of <misc/sys/syslog.h>.
62476 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62479         function returns with a NULL context exit with zero.
62481 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62483         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62485 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62487         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62488         (run_program_cmd): This.
62489         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62490         (tst_langinfo): New variable.  Use it.
62492 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62494         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62495         floating point opcodes.
62497 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62499         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62500         variable.
62502         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62504         * sysdeps/mach/hurd/powerpc: Remove directory.
62505         * sysdeps/mach/powerpc: Likewise.
62507 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62509         * scripts/check-local-headers.sh: Ignore c++ headers.
62511 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62513         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62514         __libc_cleanup_region_start argument.
62516 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62518         [BZ #14784]
62519         [BZ #14785]
62520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62521         x * y using scaling, not as x * y + z.
62522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62524         * math/libm-test.inc (fma_test): Add more tests.
62525         (fma_test_towardzero): Likewise.
62526         (fma_test_downward): Likewise.
62527         (fma_test_upward): Likewise.
62529 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62531         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62533 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62535         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62536         New variable.
62538 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62540         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62542 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62545         Fix sort order.
62546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62547         Likewise.
62549 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62552         Fix the order of the list for glibc 2.17.
62553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62554         Likewise.
62556 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62560 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62562         [BZ #14610]
62563         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62564         for low part of x being zero before using __atanl (y).
62565         * math/libm-test.inc (atan2_test): Add another test.
62567         * manual/install.texi (Configuring and compiling): Document
62568         general use of test-wrapper and test-wrapper-env.
62569         * INSTALL: Regenerated.
62571         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62572         (__fma): Do not extract and scale down low bits on after-rounding
62573         systems when result rounded to normal precision would have normal
62574         exponent.
62575         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62576         (__fmal): Do not extract and scale down low bits on after-rounding
62577         systems when result rounded to normal precision would have normal
62578         exponent.
62579         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62580         (__fmal): Do not extract and scale down low bits on after-rounding
62581         systems when result rounded to normal precision would have normal
62582         exponent.
62583         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62584         macro.
62585         (fma_test): Add more tests.
62586         (fma_test_towardzero): Likewise.
62587         (fma_test_downward): Likewise.
62588         (fma_test_upward): Likewise.
62590 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62592         * sysdeps/i386/tininess.h: Renamed to ...
62593         * sysdeps/x86/tininess.h: This.
62594         * sysdeps/x86_64/tininess.h: Removed.
62596 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62598         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62599         input.  Use $(build-program-cmd).
62600         ($(objpfx)tst-array1-static.out): Likewise.
62601         ($(objpfx)tst-array2.out): Likewise.
62602         ($(objpfx)tst-array3.out): Likewise.
62603         ($(objpfx)tst-array4.out): Likewise.
62604         ($(objpfx)tst-array5.out): Likewise.
62605         ($(objpfx)tst-array5-static.out): Likewise.
62607 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62609         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62610         if defined.
62612         * nss/nsswitch.h (nss_interface_function): Provide new
62613         macro for use with NSS functions.
62614         * grp/initgroups.c: Use new macro.
62615         * nss/getXXbyYY.c: Likewise.
62616         * nss/getXXbyYY_r.c: Likewise.
62617         * nss/getXXent.c: Likewise.
62618         * nss/getXXent_r.c: Likewise.
62619         * sysdeps/posix/getaddrinfo.c: Likewise.
62621 2012-10-30  Andreas Jaeger  <aj@suse.de>
62623         * po/ru.po: Update Russion translation from translation project.
62625 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62627         [BZ #14152]
62628         [BZ #14783]
62629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62630         result and shift together with sticky bit instead of replicating
62631         round-to-nearest rounding.
62632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62634         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62635         missing underflow exceptions.
62636         (fma_test_towardzero): Add more tests.
62637         (fma_test_downward): Likewise.
62638         (fma_test_upward): Likewise.
62640         [BZ #14047]
62641         * sysdeps/generic/tininess.h: New file.
62642         * sysdeps/i386/tininess.h: Likewise.
62643         * sysdeps/sh/tininess.h: Likewise.
62644         * sysdeps/x86_64/tininess.h: Likewise.
62645         * stdlib/tst-strtod-underflow.c: Likewise.
62646         * stdlib/tst-tininess.c: Likewise.
62647         * stdlib/strtod_l.c: Include <tininess.h>.
62648         (round_and_return): Do not set errno for exact underflow cases.
62649         Force an underflow exception when setting errno for underflow.
62650         Determine underflow based on rounding to normal precision if
62651         TININESS_AFTER_ROUNDING.
62652         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62653         ERANGE for exact underflow cases.
62654         * stdlib/Makefile (tests): Add tst-tininess and
62655         tst-strtod-underflow.
62656         ($(objpfx)tst-tininess): Use $(link-libm).
62657         ($(objpfx)tst-strtod-underflow): Likewise.
62659 2012-10-30  Andreas Jaeger  <aj@suse.de>
62661         [BZ#14767]
62662         * elf/Makefile (tests): Remove conditional for have-initfini-array
62663         since this is now always required and the variable does not exist
62664         anymore.
62665         (tests-static): Likewise.
62666         (modules-names): Likewise.
62668         * po/eo.po: Add Esperanto translation from translation project.
62670         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62671         merged with constructor/destructor.
62672         (init_array): Likewise.
62673         * elf/tst-array2dep.c (fini_array): Likewise.
62674         (init_array): Likewise.
62676 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62678         * manual/message.texi: Delete @cartouche tags.
62680 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62682         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62683         EOPNOTSUPP.
62684         * sysdeps/mach/hurd/fsync.c: Likewise.
62686         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62687         [_POSIX_REALTIME_SIGNALS]: Change condition to
62688         [_POSIX_REALTIME_SIGNALS > 0].
62690 2012-10-27  Andreas Jaeger  <aj@suse.de>
62692         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62693         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62695         [__WORDSIZE != 64]: Likewise.
62697 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62699         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62700         *  iconvdata/tst-tables.sh: Likewise.
62702 2012-10-25  David S. Miller  <davem@davemloft.net>
62704         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62705         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62706         of strtoull.
62708         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62709         ifunc-impl-list.c
62710         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62711         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62712         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62713         file.
62715 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62718         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62719         __getdirentries.
62721 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62722             Jim Blandy  <jimb@codesourcery.com>
62724         * scripts/cross-test-ssh.sh: New file.
62725         * manual/install.texi (Configuring and compiling): Document use of
62726         cross-test-ssh.sh.
62727         * INSTALL: Regenerated.
62729 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62731         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62732         EOPNOTSUPP.
62734 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62736         * Makeconfig (run-program-prefix): Fix comment.
62738 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62739             Jim Blandy  <jimb@codesourcery.com>
62741         * Makeconfig (test-wrapper): New variable,
62742         (test-wrapper-env): Likewise.
62743         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62744         (run-built-tests): Define to yes.
62745         (run-program-prefix): Use $(test-wrapper).
62746         (built-program-cmd): Likewise.
62747         * Rules (make-test-out): Use $(test-wrapper-env) and
62748         $(host-built-program-cmd).
62749         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62750         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62751         tst-pathopt.sh.
62752         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62753         $(test-wrapper-env) to tst-rtld-load-self.sh.
62754         ($(objpfx)order2.out): Use $(test-wrapper).
62755         ($(objpfx)tst-initorder.out): Likewise.
62756         ($(objpfx)tst-initorder2.out): Likewise.
62757         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62758         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62759         (test_wrapper_env): New variable.  Use it to run ld.so.
62760         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62761         Use it to run ld.so.
62762         (test_wrapper_env): Likewise.
62763         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62764         $(test-wrapper) to run-iconv-test.sh.
62765         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62766         (ICONV): Use $test_wrapper.
62767         * posix/Makefile ($(objpfx)globtest.out): Pass
62768         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62769         globtest.sh, not $(run-program-prefix).
62770         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62771         (test_wrapper): Likewise.
62772         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62773         set together with run_via_rtld_prefix.
62774         (run_program_prefix): Define in terms of test_wrapper and
62775         run_via_rtld_prefix.
62777 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62779         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62780         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62781         Targets removed.
62783         [BZ #14743]
62784         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62785         Declare __clock_getres, __clock_gettime, __clock_settime,
62786         __clock_nanosleep, and __clock_getcpuclockid.
62787         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62788         Remove librt_hidden_def (clock_gettime).
62789         * sysdeps/unix/clock_gettime.c: Likewise.
62790         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62791         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62792         * rt/clock_getres.c: Define __clock_getres as an alias.
62793         * sysdeps/posix/clock_getres.c: Likewise.
62794         * rt/clock_settime.c: Define __clock_settime as an alias.
62795         * sysdeps/unix/clock_settime.c: Likewise.
62796         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62797         * sysdeps/unix/clock_nanosleep.c: Likewise.
62798         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62799         * rt/clock-compat.c: New file.
62800         * rt/Makefile (librt-routines): Add clock-compat and move
62801         $(clock-routines) to ...
62802         (routines): ... here, new variable.
62803         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62804         Don't add get_clockfreq here.
62805         * rt/Versions (libc: GLIBC_2.17): New version set.
62806         Add clock_* symbols here.
62807         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62809         (GLIBC_2.17): Add clock_* symbols.
62810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62814         Likewise.
62815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62816         Likewise.
62817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62821         * NEWS: Mention the move.
62823         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62824         Use __open, __read, __close rather than their public counterparts.
62825         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62826         (__get_clockfreq_via_cpuinfo): Likewise.
62827         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62828         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62830         * config.h.in (HAVE_IFUNC): New #undef.
62831         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62832         was successful.
62833         * configure: Regenerated.
62835 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62837         * configure.in: Move READELF check to start of file.
62838         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62839         libc_cv_asm_gnu_indirect_function in the process.
62840         * configure: Regenerated.
62842 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62844         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62845         send the output to /dev/null.
62846         (libc_cv_cc_with_libunwind): Likewise.
62847         (libc_cv_as_noexecstack): Likewise.
62848         * configure: Regenerate.
62850 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62852         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62854         * posix/globtest.sh (TMPDIR): Do not set.
62855         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62856         (testout): Likewise.
62858 2012-10-24  Andreas Jaeger  <aj@suse.de>
62860         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62861         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62862         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62863         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62864         posix_fadvise64, posix_fallocate64.
62866         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62867         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62868         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62869         Likewise.
62870         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62871         Likewise.
62872         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62875         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62876         <bits/fcntl-linux.h>.
62877         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62880         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62881         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62882         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62883         [__WORDSIZE != 64]: Likewise.
62885 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62887         * Makeconfig (run-built-tests): New variable.
62888         * Rules [$(cross-compiling) = yes]: Change condition to
62889         [$(run-built-tests) = no].
62890         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62891         to [$(run-built-tests) = yes].
62892         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62893         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62894         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62895         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62896         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62897         * io/Makefile [$(cross-compiling) = no]: Likewise.
62898         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62899         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62900         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62901         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62902         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62903         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62904         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62905         * string/Makefile [$(cross-compiling) = no]: Likewise.
62907         * posix/Makefile ($(objpfx)globtest.out): Pass
62908         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62909         $(rtld-installed-name).
62910         * posix/globtest.sh (elf_objpfx): Remove variable.
62911         (rtld_installed_name): Likewise.
62912         (library_path): Likewise.
62913         (run_program_prefix): New variable.  Use for running globtest
62914         binary.
62916 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62917             Joseph Myers  <joseph@codesourcery.com>
62919         * Makeconfig (host-built-program-cmd): New variable.
62920         * elf/Makefile (tst-stackguard1-ARGS): Use
62921         $(host-built-program-cmd).
62922         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62923         (tst-spawn-ARGS): Likewise.
62924         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62926 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62927             Jim Blandy  <jimb@codesourcery.com>
62929         * Makeconfig (run-via-rtld-prefix): New variable.
62930         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62931         (built-program-cmd): Likewise.
62933 2012-10-22  Andreas Jaeger  <aj@suse.de>
62935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62936         __O_RSYNC if it exists, otherwise to O_SYNC.
62938 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62939             Joseph Myers  <joseph@codesourcery.com>
62941         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62942         /dev/null.
62943         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62944         from /dev/null
62945         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62946         /dev/null.
62948 2012-10-22  Andreas Jaeger  <aj@suse.de>
62950         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62951         Define always.
62952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62955         bits/fcntl-linux.h.
62957         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62958         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62961         to __O_LARGEFILE.
62962         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62963         to __O_LARGEFILE.
62965 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62966             Joseph Myers  <joseph@codesourcery.com>
62968         * config.make.in (NM): New variable.
62970 2012-10-21  Andreas Jaeger  <aj@suse.de>
62972         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62973         definitions and declarations that are provided by
62974         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62976 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62978         [BZ #14683]
62979         * elf/Makefile (tests-static): Add tst-leaks1-static.
62980         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62981         ($(objpfx)tst-leaks1-static): New rule.
62982         ($(objpfx)tst-leaks1-static-mem): Likewise.
62983         (tst-leaks1-static-ENV): New macro.
62984         * elf/dl-open.c (dl_open_worker): Check the main application
62985         only if SHARED is defined.
62986         * elf/tst-leaks1-static.c: New file.
62988 2012-10-20  Andreas Jaeger  <aj@suse.de>
62990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62991         generic values for Linux.
62992         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62993         and declarations that are provided by <bits/fcntl-linux.h> and
62994         include <bits/fcntl-linux.h>.
62995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62996         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62998 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63000         * io/fcntl.h: Move include of <bits/types.h> to the top and
63001         include it unconditionally.
63003 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63005         * wcsmbs/Makefile (tests-ifunc): New variable.
63006         (tests): Add $(tests-ifunc).
63007         * wcsmbs/test-wcschr-ifunc.c: New file.
63008         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63009         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63010         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63011         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63012         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63014         * string/Makefile (tests-ifunc): New variable.
63015         (tests): Add $(tests-ifunc).
63016         * string/test-memccpy.c (TEST_NAME): New macro.
63017         * string/test-memchr.c (TEST_NAME): Likewise.
63018         * string/test-memcmp.c (TEST_NAME): Likewise.
63019         * string/test-memcpy.c (TEST_NAME): Likewise.
63020         * string/test-memmem.c (TEST_NAME): Likewise.
63021         * string/test-memmove.c (TEST_NAME): Likewise.
63022         * string/test-memset.c (TEST_NAME): Likewise.
63023         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63024         * string/test-stpcpy.c (TEST_NAME): Likewise.
63025         * string/test-stpncpy.c (TEST_NAME): Likewise.
63026         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63027         * string/test-strcasestr.c (TEST_NAME): Likewise.
63028         * string/test-strcat.c (TEST_NAME): Likewise.
63029         * string/test-strchr.c (TEST_NAME): Likewise.
63030         * string/test-strcmp.c(TEST_NAME): Likewise.
63031         * string/test-strcpy.c (TEST_NAME): Likewise.
63032         * string/test-strcspn.c (TEST_NAME): Likewise.
63033         * string/test-strlen.c (TEST_NAME): Likewise.
63034         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63035         * string/test-strncmp.c (TEST_NAME): Likewise.
63036         * string/test-strncpy.c (TEST_NAME): Likewise.
63037         * string/test-strnlen.c (TEST_NAME): Likewise.
63038         * string/test-strpbrk.c (TEST_NAME): Likewise.
63039         * string/test-strrchr.c (TEST_NAME): Likewise.
63040         * string/test-strspn.c (TEST_NAME): Likewise.
63041         * string/test-strstr.c (TEST_NAME): Likewise.
63042         * string/test-bcopy-ifunc.c: New file.
63043         * string/test-bzero-ifunc.c: Likewise.
63044         * string/test-memccpy-ifunc.c: Likewise.
63045         * string/test-memchr-ifunc.c: Likewise.
63046         * string/test-memcmp-ifunc.c: Likewise.
63047         * string/test-memcpy-ifunc.c: Likewise.
63048         * string/test-memmem-ifunc.c: Likewise.
63049         * string/test-memmove-ifunc.c: Likewise.
63050         * string/test-mempcpy-ifunc.c: Likewise.
63051         * string/test-memset-ifunc.c: Likewise.
63052         * string/test-rawmemchr-ifunc.c: Likewise.
63053         * string/test-stpcpy-ifunc.c: Likewise.
63054         * string/test-stpncpy-ifunc.c: Likewise.
63055         * string/test-strcasecmp-ifunc.c: Likewise.
63056         * string/test-strcasestr-ifunc.c: Likewise.
63057         * string/test-strcat-ifunc.c: Likewise.
63058         * string/test-strchr-ifunc.c: Likewise.
63059         * string/test-strchrnul-ifunc.c: Likewise.
63060         * string/test-strcmp-ifunc.c: Likewise.
63061         * string/test-strcpy-ifunc.c: Likewise.
63062         * string/test-strcspn-ifunc.c: Likewise.
63063         * string/test-strlen-ifunc.c: Likewise.
63064         * string/test-strncasecmp-ifunc.c: Likewise.
63065         * string/test-strncat-ifunc.c: Likewise.
63066         * string/test-strncmp-ifunc.c: Likewise.
63067         * string/test-strncpy-ifunc.c: Likewise.
63068         * string/test-strnlen-ifunc.c: Likewise.
63069         * string/test-strpbrk-ifunc.c: Likewise.
63070         * string/test-strrchr-ifunc.c: Likewise.
63071         * string/test-strspn-ifunc.c: Likewise.
63072         * string/test-strstr-ifunc.c: Likewise.
63074         * debug/Makefile (tests-ifunc): New variable.
63075         (tests): Add $(tests-ifunc).
63076         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63077         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63078         * debug/test-stpcpy_chk-ifunc.c: New file.
63079         * debug/test-strcpy_chk-ifunc.c: Likewise.
63081 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63083         [BZ #13601]
63084         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63085         header is not read in.
63087 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63089         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63090         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63091         directly.  Pass built executable to script as
63092         $(built-program-cmd).
63093         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63094         $testprogram without using LD_LIBRARY_PATH and $ldso.
63096         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63097         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63098         $(rtld-installed-name).
63099         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63100         (rtld_installed_name): Likewise.
63101         (library_path): Likewise.
63102         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63103         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63104         $(run-program-prefix) to tst-tables.sh.
63105         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63106         it to run tst-table-from and tst-table-to.
63107         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63108         Pass it to tst-table.sh.
63109         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63110         $(run-program-prefix) to tst-gettext.sh.
63111         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63112         tst-translit.sh.
63113         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63114         tst-gettext2.sh.
63115         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63116         to run tst-gettext.
63117         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63118         to run tst-gettext2.
63119         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63120         to run tst-translit.
63121         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63122         $(run-program-prefix) to tst-mtrace.sh.
63123         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63124         to run tst-mtrace.
63125         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63126         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63127         $(rtld-installed-name).
63128         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63129         (rtld_installed_name): Likewise.
63130         (run_program_prefix): New variable.  Use it to run wordexp-test.
63132         * Makeconfig (ARCH): Remove all definitions.
63133         (machine): Likewise.
63134         [ARCH]: Remove conditional code.
63135         [!objdir]: Give error.
63136         [!objdir] (objpfx): Remove.
63137         [!objdir] (common-objpfx): Likewise.
63138         [!objdir] (common-objdir): Likewise.
63139         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63140         AC_CONFIG_FILES call.
63141         * configure: Regenerated.
63143         [BZ #13888]
63144         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63145         or TMPDIR.
63146         (testout): Likewise.
63148         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63149         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63150         $(rtld-installed-name).
63151         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63152         (rtld_installed_name): Likwise.
63153         (runit): Remove function.
63154         (run_getconf): New variable,  Use it for running getconf binary.
63156 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63158         [BZ #14716]
63159         * string/test-memmem.c (check_result): New function.
63160         (do_one_test): Use it.
63161         (check1): New function.
63162         (test_main): Use it.
63164 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63166         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63168 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63170         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63171         (_G_LSEEK64): Likewise.
63172         (_G_MMAP64): Likewise.
63173         (_G_FSTAT64): Likewise.
63174         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63175         (_G_LSEEK64): Likewise.
63176         (_G_MMAP64): Likewise.
63177         (_G_FSTAT64): Likewise.
63178         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63179         unconditional.  Call __mmap64 directly.
63180         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63181         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63182         __lseek64 directly.
63183         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63184         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63185         __mmap64 directly.
63186         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63187         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63188         __lseek64 directly.
63189         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63190         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63191         __lseek64 directly.
63192         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63193         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63194         __lseek64 directly.
63195         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63196         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63197         __fxstat64 directly.
63198         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63199         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63200         unconditional.
63201         (freopen64) [!_G_OPEN64]: Remove conditional code.
63202         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63203         unconditional.
63204         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63205         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63206         unconditional.
63207         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63208         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63209         unconditional.
63210         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63211         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63212         unconditional.
63213         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63214         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63215         unconditional.
63216         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63217         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63218         unconditional.
63219         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63220         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63221         unconditional.
63222         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63224 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63226         [BZ #12140]
63227         * manual/memory.texi (Malloc Tunable Parameters): Add note
63228         about free list pointers overwriting some perturb bytes.
63229         Wording suggested by Roland McGrath.
63231 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63233         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63234         (lgamma_test): Likewise.
63235         (tgamma_test): Likewise.
63237 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63239         [BZ #14700]
63240         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63241         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63243 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63245         * NEWS: Mention BZ #14716.
63246         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63247         when removing AVAILABLE1_USES_J macro.
63249 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63251         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63252         (__bswap_64): __uint64_t for unsigned 64-bit int.
63254 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63256         * include/string.h (memmem): Declare libc hidden alias.
63257         * string/memmem.c (memmem): Define libc hidden alias.
63258         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63259         __read, __close instead of open, read, close.
63261 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63264         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63265         global and hidden.
63266         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63267         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63268         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63269         Likewise.
63270         (__rawmemchr_sse2): Likewise.
63271         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63272         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63273         (__strchr_sse2): Likewise.
63274         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63275         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63276         (__strcasecmp_sse2): Likewise.
63277         (__strncasecmp_sse2): Likewise.
63278         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63279         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63280         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63281         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63282         (__strrchr_sse2): Likewise.
63283         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63284         ifunc-impl-list.c.
63285         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63286         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63287         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63288         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63289         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63290         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63291         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63292         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63293         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63294         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63295         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63296         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63297         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63298         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63299         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63300         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63301         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63302         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63303         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63304         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63305         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63306         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63307         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63308         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63309         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63310         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63311         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63312         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63313         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63314         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63316         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63317         global and hidden.
63318         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63319         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63320         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63321         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63322         Likewise.
63323         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63324         Likewise.
63325         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63326         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63327         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63328         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63329         ifunc-impl-list.c.
63330         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63331         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63332         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63333         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63334         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63335         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63336         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63337         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63338         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63339         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63340         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63341         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63342         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63343         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63344         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63345         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63346         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63347         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63348         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63349         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63350         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63351         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63352         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63353         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63354         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63355         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63356         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63357         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63358         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63359         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63360         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63361         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63362         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63363         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63364         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63365         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63366         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63367         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63368         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63369         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63370         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63372         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63373         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63374         * include/ifunc-impl-list.h: New file.
63375         * misc/ifunc-impl-list.c: Likewise.
63376         * misc/Makefile (routines): Add ifunc-impl-list.
63377         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63378         * string/test-string.h: Include <ifunc-impl-list.h>.
63379         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63380         TEST_NAME]: New variables.
63381         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63382         are defined.
63383         (test_init): Call __libc_ifunc_impl_list to initialize
63384         func_list if TEST_IFUNC and TEST_NAME are defined.
63386         * string/Makefile (strop-tests): Add bcopy and bzero.
63387         * string/test-bcopy.c: New file.
63388         * string/test-bzero.c: Likewise.
63389         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63390         defined.
63391         * string/test-memset.c: Support bzero test if TEST_BZERO is
63392         defined.
63393         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63394         __libc_memmove.
63395         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63396         __libc_memset.
63397         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63398         of memset.
63400 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63402         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63403         * configure: Regenerated.
63405         * Makeconfig (+link-static-before-libc): Don't include
63406         $(link-static-libc).
63408         * libio/libio.h (_IO_pos_t): Remove.
63410 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63412         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63413         McGrath.
63415 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63417         * crypt/crypt-entry.c: Include fips-private.h.
63418         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63419         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63420         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63421         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63423 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63425         * crypt/crypt-private.h: Include stdbool.h.
63426         (_ufc_setup_salt_r): Return bool.
63427         * crypt/crypt-entry.c: Include errno.h.
63428         (__crypt_r): Return NULL with EINVAL for bad salt.
63429         * crypt/crypt_util.c (bad_for_salt): New.
63430         (_ufc_setup_salt_r): Check that salt is long enough and within
63431         the specified alphabet.
63432         * crypt/badsalttest.c: New file.
63433         * crypt/Makefile (tests): Add it.
63434         ($(objpfx)badsalttest): New.
63436 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63438         * NEWS: Add entry for BZ #14602.
63440 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63442         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63443         type-generic.
63444         * math/libm-test.inc: Update comment listing what functions and
63445         macros are tested.
63446         (isgreater_test): New function.
63447         (isgreaterequal_test): Likewise.
63448         (isless_test): Likewise.
63449         (islessequal_test): Likewise.
63450         (islessgreater_test): Likewise.
63451         (isunordered_test): Likewise.
63452         (main): Call the new functions.
63454 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63456         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63457         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63458         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63459         * sysdeps/i386/configure: Regenerated.
63460         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63461         * sysdeps/mach/configure: Regenerated.
63462         * sysdeps/mach/hurd/configure: Regenerated.
63463         * sysdeps/powerpc/configure: Regenerated.
63464         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63465         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63466         * sysdeps/s390/s390-32/configure: Regenerated.
63467         * sysdeps/s390/s390-64/configure: Regenerated.
63468         * sysdeps/sh/configure: Regenerated.
63469         * sysdeps/sparc/configure: Regenerated.
63470         * sysdeps/unix/sysv/linux/configure: Regenerated.
63471         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63472         * sysdeps/x86_64/configure: Regenerated.
63474         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63475         defined.  Don't check if MAP is NULL.
63477 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63479         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63480         (_G_stat64): Likewise.
63481         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63482         (_G_stat64): Likewise.
63483         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63484         instead of struct _G_stat64.
63485         * libio/fileops.c (mmap_remap_check): Likewise.
63486         (decide_maybe_mmap): Likewise.
63487         (_IO_new_file_seekoff): Likewise.
63488         (_IO_file_stat): Likewise.
63489         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63490         _G_off64_t.
63491         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63492         instead of struct _G_stat64.
63493         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63495 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63497         [BZ #14602]
63498         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63499         Replace with ...
63500         (CHECK_EOL): New macro.
63501         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63502         CHECK_EOL.
63503         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63504         Replace with CHECK_EOL.
63505         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63506         Replace with CHECK_EOL.
63508 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63510         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63511         type-generic.
63512         * math/libm-test.inc: Update comment listing what functions and
63513         macros are tested.
63514         (finite_test): New function.
63515         (isinf_test): Likewise.
63516         (isnan_test): Likewise.
63517         (fpclassify_test): Test subnormal input.
63518         (isfinite_test): Likewise.
63519         (isnormal_test): Likewise.
63520         (main): Call the new functions.
63522 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63524         [BZ #14660]
63525         * Makerules (%.dynsym): Force C locale when running
63526         $(OBJDUMP) --dynamic-syms.
63528 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63530         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63531         <stdint.h>.
63533 2012-10-06  David S. Miller  <davem@davemloft.net>
63535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63536         upper 32-bits of the length value in %o2 since we use branch-on-register
63537         tests which consider the entire 64-bit register.
63539 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63541         * string/test-strstr.c (check2): Add a test for page boundary.
63543 2012-10-05  David S. Miller  <davem@davemloft.net>
63545         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63546         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63547         file.
63548         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63549         sysdep_routines.
63550         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63551         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63552         and bzero when HWCAP_SPARC_CRYPTO is present.
63554 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63556         [BZ #14602]
63557         * string/test-strstr.c (check2): New function.
63558         (test_main): Call check2.
63560         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63561         and bug-strchr1.
63562         * string/bug-strcasestr1.c (do_test): Moved to ...
63563         * string/test-strcasestr.c (check1): Here.  New function.
63564         (do_one_test): Break out result checking code into ...
63565         (check_result): This.  New function.
63566         (do_one_test): Call check_result.
63567         (test_main): Call check1.
63568         * string/bug-strchr1.c (do_test): Moved to ...
63569         * string/test-strchr.c (check1): Here.  New function.
63570         (do_one_test): Break out result checking code into ...
63571         (check_result): This.  New function.
63572         (do_one_test): Call check_result.
63573         (test_main): Call check1.
63574         * string/bug-strstr1.c (main): Moved to ...
63575         * string/test-strstr.c (check1): Here.  New function.
63576         (do_one_test): Break out result checking code into ...
63577         (check_result): This.  New function.
63578         (do_one_test): Call check_result.
63579         (test_main): Call check1.
63580         * string/bug-strcasestr1.c: Removed.
63581         * string/bug-strchr1.c: Likewise.
63582         * string/bug-strstr1.c: Likewise.
63584         * elf/Makefile (dl-routines): Add hwcaps.
63585         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63586         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63587         (_dl_important_hwcaps): Moved to ...
63588         * elf/dl-hwcaps.c: Here.  New file.
63589         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63591         [BZ #14557]
63592         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63593         if IS_IN_rtld isn't defined.
63595         * elf/dl-support.c (_dl_sysinfo_map): New.
63596         Include "get-dynamic-info.h" and "setup-vdso.h".
63597         (_dl_non_dynamic_init): Call setup_vdso.
63598         * elf/dynamic-link.h: Don't include <assert.h>.
63599         (elf_get_dynamic_info): Moved to ...
63600         * elf/get-dynamic-info.h: Here.  New file.
63601         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63602         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63603         * elf/setup-vdso.h: Here.  New file.
63604         * elf/rtld.c: Include "setup-vdso.h".
63605         (dl_main): Call setup_vdso.
63607 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63609         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63610         creal in comment listing functions tested.  List finite, isinf,
63611         isnan, isless, islessequal, isgreater, isgreaterequal,
63612         islessgreater, isunordered, lgamma_r and pow10 as functions and
63613         macros not tested.  Mention which functions not tested are aliases
63614         for other functions.  Fix typo.  Note that signs of NaNs are not
63615         tested.
63617         * scripts/config.guess: Update from config.git.
63618         * scripts/config.sub: Likewise.
63620 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63622         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63623         * misc/madvise.c (madvise): Renamed to __madvise.
63624         Make madvise a weak alias.
63625         * include/sys/mman.h: Declare __madvise.
63626         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63627         * sysdeps/unix/syscalls.list
63628         (madvise): Make __madvise the strong name, and madvise a weak alias.
63629         * sysdeps/unix/sysv/linux/syscalls.list
63630         (madvise, mmap): Remove redundant entries.
63631         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63632         * malloc/malloc.c (mtrim): Likewise.
63633         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63635 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63637         * sysdeps/mach/hurd/dl-cache.c: File removed.
63638         * config.h.in (USE_LDCONFIG): New #undef.
63639         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63640         * configure: Regenerated.
63641         * elf/Makefile (dl-routines): Add dl-cache only under
63642         [$(use-ldconfig) = yes].
63643         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63644         cache on [USE_LDCONFIG].
63645         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63646         [USE_LDCONFIG].
63647         * elf/rtld.c (dl_main): Likewise.
63649 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63651         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63652         _SC_LEVEL4_CACHE_LINESIZE.
63654 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63656         * sysdeps/unix/bsd/confstr.h: File removed.
63658 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63660         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63661         sys/sdt-config.h.
63663 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63665         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63666         Make 'mapoff' field ElfW(Off) rather than off_t.
63668 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63670         * nscd/Makefile: Remove nscd-cflags and all its users.
63671         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63672         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63674         [BZ #10631]
63675         * malloc.c (malloc_printerr): Clarify error message.
63677 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63679         [BZ #14648]
63680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63681         Set bit_FMA_Usable if FMA is supported.
63682         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63683         macro.
63684         (bit_FMA4_Usable): Updated.
63685         (index_FMA_Usable): New macro.
63686         (CPUID_FMA): Likewise.
63687         (HAS_FMA): Defined with bit_FMA_Usable.
63689 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63691         * bits/types.h (__swblk_t): Type removed.
63692         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63693         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63695         (__SWBLK_T_TYPE): Likewise.
63696         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63697         (__SWBLK_T_TYPE): Likewise.
63698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63699         (__SWBLK_T_TYPE): Likewise.
63700         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63701         (__SWBLK_T_TYPE): Likewise.
63703 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63704             Honza Horak <hhorak@redhat.com>
63706         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63707         (xdr_mapname): Use YPMAXMAP as maxsize.
63708         (xdr_peername): Use YPMAXPEER as maxsize.
63709         (xdr_keydat): Use YPAXRECORD as maxsize.
63710         (xdr_valdat): Use YPMAXRECORD as maxsize.
63712 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63714         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63716         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63717         * csu/init-first.c: ... here.
63718         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63719         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63720         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63721         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63722         * sysdeps/i386/init-first.c: File removed.
63723         * sysdeps/sh/init-first.c: File removed.
63725 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63727         [BZ #14645]
63728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63729         if x * y might underflow to zero and z is zero.
63730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63732         * math/libm-test.inc (min_subnorm_value): New variable.
63733         (fma_test): Add more tests.
63734         (fma_test_towardzero): Likewise.
63735         (fma_test_downward): Likewise.
63736         (fma_test_upward): Likewise.
63737         (initialize): Set min_subnorm_value.
63739 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63741         [BZ #14638]
63742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63743         0 + 0.
63744         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63745         mode for addition resulting in exact zero.
63746         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63748         exact 0 + 0.
63749         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63750         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63751         * math/libm-test.inc (fma_test): Add more tests.
63752         (fma_test_towardzero): New function.
63753         (fma_test_downward): Likewise.
63754         (fma_test_upward): Likewise.
63755         (main): Call the new functions.
63757 2012-09-28  David S. Miller  <davem@davemloft.net>
63759         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63761 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63763         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63764         instead of SIGALRM.
63766         * sysdeps/gnu/_G_config.h: Moved to ...
63767         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63768         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63769         * sysdeps/generic/_G_config.h: ... here.
63771         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63773         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63775         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63776         Conditionalize target on [libnss_test1.so-version].
63778         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63780         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63781         (elfobjdir): Move out of conditionals.
63783         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63784         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63785         (__nss_lookup_function): Conditionalize label remove_from_tree on
63786         [!DO_STATIC_NSS || SHARED], matching its only use.
63788 2012-09-28  David S. Miller  <davem@davemloft.net>
63790         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63791         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63792         file.
63793         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63794         sysdep_routines.
63795         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63796         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63797         when HWCAP_SPARC_CRYPTO is present.
63799 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63801         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63803 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63805         [BZ #6530]
63806         * stdio-common/vfprintf.c (process_string_arg): Revert
63807         2000-07-22 change.
63809 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63811         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63812         for testcase.
63813         * stdio-common/tst-sprintf.c: Include <locale.h>
63814         (main): Test sprintf's handling of incomplete multibyte
63815         characters.
63817 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63819         * elf/dl-runtime.c (VERSYMIDX): Removed.
63820         * elf/dl-version.c (VERSYMIDX): Likewise.
63821         * elf/do-rel.h (VERSYMIDX): Likewise.
63822         (VALIDX): Likewise.
63823         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63824         * elf/rtld.c (VALIDX): Likewise.
63825         (ADDRIDX): Likewise.
63826         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63827         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63828         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63829         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63830         (VALIDX): Likewise.
63831         (ADDRIDX): Likewise.
63833 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63835         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63837 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63839         [BZ #11438]
63840         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63841         to global scope.
63842         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63843         addresses are in the same scope as 192.0.2/24.
63844         * posix/gai.conf: Document new scope table defaults.
63846 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63848         [BZ #5298]
63849         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63850         for ftell.  Compute offsets from write pointers instead.
63851         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63853 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63855         [BZ #14543]
63856         * libio/Makefile (tests): New test case tst-fseek.
63857         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63858         combination works in wide mode.
63859         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63860         state when the external buffer state changes.
63862 2012-09-27  David S. Miller  <davem@davemloft.net>
63864         [BZ #14376]
63865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63866         pass reloc->r_addend in as the 'high' argument to
63867         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63871 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63873         * rt/tst-aio2.c: Include <pthread.h>.
63874         * rt/tst-aio3.c: Likewise.
63876 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63878         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63880 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63882         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63883         contents on [SHARED].
63885 2012-09-26  Marek Polacek  <polacek@redhat.com>
63887         [BZ #14530]
63888         [BZ #13741]
63889         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63890         for C++ and GCC <4.3 as well as for non GCC compilers.
63892 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63896 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63898         * Makefile.in (all, install): Declare with .PHONY.
63899         Reported by Michael Hope <michael.hope@linaro.org>.
63901 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63903         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63904         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63905         system header.
63906         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63907         Likewise.
63908         (sydep_routines): Add the new and the internal functions.
63909         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63910         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63912         (GLIBC_2.17): Add the new function.
63913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63914         (GLIBC_2.17): Likewise.
63915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63916         (GLIBC_2.17): Likewise.
63917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63918         (GLIBC_2.17): Likewise.
63919         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63921 2012-09-25  Alan Modra  <amodra@gmail.com>
63923         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63924         Add release barrier before setting once_control to say
63925         initialisation is done.  Add hints on lwarx.  Use macro in
63926         place of isync.
63927         (clear_once_control): Add release barrier.
63929 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63931         [BZ #13629]
63932         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63933         specially.
63934         * math/s_clog10.c (__clog10): Likewise.
63935         * math/s_clog10f.c (__clog10f): Likewise.
63936         * math/s_clog10l.c (__clog10l): Likewise.
63937         * math/s_clogf.c (__clogf): Likewise.
63938         * math/s_clogl.c (__clogl): Likewise.
63939         * math/Makefile (libm-calls): Add x2y2m1.
63940         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63941         (__x2y2m1): Likewise.
63942         (__x2y2m1l): Likewise.
63943         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63944         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63945         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63946         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63947         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63948         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63949         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63950         * sysdeps/i386/fpu/libm-test-ulps: Update.
63951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63953         [BZ #14621]
63954         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63955         int as type of variable DEPTH.
63956         (glob): Use size_t instead of int as type of variables NEWCOUNT
63957         and OLD_PATHC.
63959 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63961         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63962         Add s_sincosf-sse2.
63963         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63964         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63965         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63966         macros for using routine as __sincosf_ia32.
63967         Use macro for function declaration and weak_alias.
63968         * sysdeps/i386/fpu/libm-test-ulps: Update.
63970         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63973         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63974         subnormal argument.
63975         * math/s_cexpf.c (__cexpf): Likewise.
63976         * math/s_csinf.c (__csinf): Likewise.
63977         * math/s_csinhf.c (__csinhf): Likewise.
63978         * math/s_ctanf.c (__ctanf): Likewise.
63979         * math/s_ctanhf.c (__ctanhf): Likewise.
63980         * math/s_ccosh.c (__ccoshf): Likewise.
63981         * math/s_cexp.c (__cexpl): Likewise.
63982         * math/s_csin.c (__csin): Likewise.
63983         * math/s_csinh.c (__csinh): Likewise.
63984         * math/s_ctan.c (__ctan): Likewise.
63985         * math/s_ctanh.c (ctanh): Likewise.
63986         * math/s_ccoshl.c (__ccoshl): Likewise.
63987         * math/s_cexpl.c (__cexpl): Likewise.
63988         * math/s_csinl.c (__csinl): Likewise.
63989         * math/s_csinhl.c (__csinhl): Likewise.
63990         * math/s_ctanl.c (__ctanl): Likewise.
63991         * math/s_ctanhl.c (__ctanhl): Likewise.
63993 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63995         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63996         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63997         (_IO_off_t): Define to __off_t, not _G_off_t.
63998         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63999         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64000         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64001         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64002         type of __dummy and __dummy2 fields.
64003         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64004         (_G_ssize_t): Likewise.
64005         (_G_off_t): Likewise.
64006         (_G_pid_t): Likewise.
64007         (_G_uid_t): Likewise.
64008         (_G_wchar_t): Likewise.
64009         (_G_wint_t): Likewise.
64010         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64011         (_G_ssize_t): Likewise.
64012         (_G_off_t): Likewise.
64013         (_G_pid_t): Likewise.
64014         (_G_uid_t): Likewise.
64015         (_G_wchar_t): Likewise.
64016         (_G_wint_t): Likewise.
64017         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64018         (_G_ssize_t): Likewise.
64019         (_G_off_t): Likewise.
64020         (_G_pid_t): Likewise.
64021         (_G_uid_t): Likewise.
64022         (_G_wchar_t): Likewise.
64023         (_G_wint_t): Likewise.
64025 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64027         * malloc/arena.c: Include malloc-sysdep.h.
64028         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64029         is sufficient to shrink the heap or an unmap is needed.
64030         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64031         new function check_may_shrink_heap.
64032         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64033         new function check_may_shrink_heap.
64035 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64037         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64038         comments.
64040 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64042         * catgets/test-gencat.sh: Add "set -e".
64043         * elf/tst-pathopt.sh: Likewise.
64044         * grp/tst_fgetgrent.sh: Likewise.
64045         * iconvdata/run-iconv-test.sh: Likewise.
64046         * intl/tst-gettext.sh: Likewise.
64047         * intl/tst-gettext2.sh: Likewise.
64048         * intl/tst-gettext4.sh: Likewise.
64049         * intl/tst-gettext6.sh: Likewise.
64050         * intl/tst-translit.sh: Likewise.
64051         * io/ftwtest-sh: Likewise.
64052         * libio/test-freopen.sh: Likewise.
64053         * malloc/tst-mtrace.sh: Likewise.
64054         * posix/globtest.sh: Likewise.
64055         * posix/tst-getconf.sh: Likewise.
64056         * posix/wordexp-tst.sh: Likewise.
64057         * stdio-common/tst-printf.sh: Likewise.
64058         * stdio-common/tst-unbputc.sh: Likewise.
64059         * stdlib/tst-fmtmsg.sh: Likewise.
64060         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64061         * catgets/Makefile: Do not specify -e option when running
64062         testsuite shell scripts.
64063         * elf/Makefile: Likewise.
64064         * grp/Makefile: Likewise.
64065         * iconvdata/Makefile: Likewise.
64066         * intl/Makefile: Likewise.
64067         * io/Makefile: Likewise.
64068         * libio/Makefile: Likewise.
64069         * malloc/Makefile: Likewise.
64070         * posix/Makefile: Likewise.
64071         * stdio-common/Makefile: Likewise.
64072         * stdlib/Makefile: Likewise.
64073         * sysdeps/x86_64/Makefile: Likewise.
64075         * io/ftwtest-sh: Add copyright header.
64076         * posix/globtest.sh: Likewise.
64077         * posix/tst-getconf.sh: Likewise.
64078         * posix/wordexp-tst.sh: Likewise.
64079         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64081 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64083         [BZ #13679]
64084         * Makeconfig (+link): Defined as $(+link-static) if
64085         $(build-shared) isn't yes.
64086         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64087         isn't yes.
64088         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64090         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64092         [BZ #14562]
64093         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64094         new chunk size with MALLOC_ALIGN_MASK.
64096 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64098         [BZ #5044]
64099         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64100         <rounding-mode.h>.
64101         (__printf_fphex): Determine rounding using get_rounding_mode and
64102         round_away.
64103         * stdio-common/tst-printf-round.c (struct hex_test): New
64104         structure.
64105         (hex_tests): New variable.
64106         (test_hex_in_one_mode): New function.
64107         (do_test): Also run tests for hex float output.
64109 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64111         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64112         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64113         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64114         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64115         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64116         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64117         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64118         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64120 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64122         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64123         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64124         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64125         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64127 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64129         [BZ #14579]
64130         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64131         mode only.
64132         * elf/tst-rtld-load-self.sh: New test.
64133         * elf/Makefile: Run it.
64135 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64137         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64138         (tst-writev-ENV): Remove.
64139         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64141 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64143         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64145 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64147         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64148         unconditional.
64149         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64150         Likewise.
64151         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64152         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64153         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64154         Likewise.
64156 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64158         [BZ #14587]
64159         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64160         * config.make.in (have-cpp-asm-debuginfo): Removed.
64161         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64162         * configure: Regenerated.
64164 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64166         [BZ #5044]
64167         * stdio-common/printf_fp.c: Include <stdbool.h> and
64168         <rounding-mode.h>.
64169         (___printf_fp): Determine rounding using get_rounding_mode and
64170         round_away.
64171         * stdio-common/tst-printf-round.c: New file.
64172         * stdio-common/Makefile (tests): Add tst-printf-round.
64173         (link-libm): New variable.
64174         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64176 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64178         [BZ #14576]
64179         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64180         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64181         Likewise.
64182         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64183         Likewise.
64185 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64187         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64188         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64189         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64190         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64192 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64194         [BZ #14518]
64195         * include/rounding-mode.h: New file.
64196         * sysdeps/generic/get-rounding-mode.h: Likewise.
64197         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64198         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64199         (MAX_VALUE): New macro.
64200         (MIN_VALUE): Likewise.
64201         (overflow_value): New function.
64202         (underflow_value): Likewise.
64203         (round_and_return): Use overflow_value and underflow_value to
64204         determine return values in overflow and underflow cases.  Use
64205         round_away to determine rounding depending on rounding mode.
64206         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64207         determine return values in overflow and underflow cases.
64208         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64209         (struct test_results): New structure.
64210         (struct test): Use struct test_results to store expected results
64211         for all rounding modes.
64212         (TEST): Include expected results for all rounding modes.
64213         (test_in_one_mode): New function.
64214         (do_test): Use test_in_one_mode to compute and check results.
64215         Check results for all rounding modes.
64216         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64217         $(link-libm).
64219 2012-12-09  Allan McRae  <allan@archlinux.org>
64221         * sysdeps/i386/fpu/libm-test-ulps: Update
64223 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64225         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64226         (_G_int32_t): Likewise.
64227         (_G_uint16_t): Likewise.
64228         (_G_uint32_t): Likewise.
64229         (_G_HAVE_BOOL): Likewise.
64230         (_G_HAVE_ATEXIT): Likewise.
64231         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64232         (_G_HAVE_IO_FILE_OPEN): Likewise.
64233         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64234         (_G_int32_t): Likewise.
64235         (_G_uint16_t): Likewise.
64236         (_G_uint32_t): Likewise.
64237         (_G_HAVE_BOOL): Likewise.
64238         (_G_HAVE_ATEXIT): Likewise.
64239         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64240         (_G_HAVE_IO_FILE_OPEN): Likewise.
64241         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64242         (_G_int32_t): Likewise.
64243         (_G_uint16_t): Likewise.
64244         (_G_uint32_t): Likewise.
64245         (_G_HAVE_BOOL): Likewise.
64246         (_G_HAVE_ATEXIT): Likewise.
64247         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64248         (_G_HAVE_IO_FILE_OPEN): Likewise.
64250 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64252         * csu/libc-tls.c: Update copyright years.
64254 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64256         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64257         [!_G_USING_THUNKS]: Remove conditional code.
64258         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64259         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64261         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64262         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64263         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64264         (_G_VTABLE_LABEL_PREFIX): Likewise.
64265         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64266         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64267         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64268         (_G_VTABLE_LABEL_PREFIX): Likewise.
64269         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64270         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64271         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64272         (_G_VTABLE_LABEL_PREFIX): Likewise.
64273         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64275 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64277         * libio/Makefile: Include ../Makeconfig before tests.
64278         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64279         only if $(build-shared) is yes.
64281         * iconv/gconv_db.c: Update copyright years.
64283 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64285         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64286         unwind info if defined PIC. Fix special cases description.
64287         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64289         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64290         DP_HI_MASK entry.
64291         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64293 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64295         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64297         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64298         is NULL.
64300         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64301         (LDLIBS-tst-chk4): This.
64302         (LDFLAGS-tst-chk5): Renamed to ...
64303         (LDLIBS-tst-chk5): This.
64304         (LDFLAGS-tst-chk6): Renamed to ...
64305         (LDLIBS-tst-chk6): This.
64306         (LDFLAGS-tst-lfschk4): Renamed to ...
64307         (LDLIBS-tst-lfschk4): This.
64308         (LDFLAGS-tst-lfschk5): Renamed to ...
64309         (LDLIBS-tst-lfschk5): This.
64310         (LDFLAGS-tst-lfschk6): Renamed to ...
64311         (LDLIBS-tst-lfschk6): This.
64313         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64314         on $(common-objpfx)soversions.mk.
64316 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64318         [BZ #10014]
64319         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64320         example host name.
64322 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64324         * malloc/arena.c (arena_get_retry): New function that gets
64325         another arena for the caller to try its request on.
64326         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64327         current arena cannot fulfill the request.
64328         (__libc_memalign): Likewise.
64329         (__libc_memalign): Likewise.
64330         (__libc_pvalloc): Likewise.
64331         (__libc_calloc): Likewise.
64333 2012-09-05  John Tobey  <john.tobey@gmail.com>
64335         [BZ #13542]
64336         * manual/arith.texi (Operations on Complex): Fix description
64337         of carg branch cut.
64339 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64341         [BZ #10014]
64342         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64343         host name.
64345         [BZ #10038]
64346         * manual/memory.texi (Memory): Make order of menu items match
64347         order of sections.
64349 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64351         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64352         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64353         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64355 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64357         * csu/libc-tls.c (static_dtv): Renamed to ...
64358         (_dl_static_dtv): This.  Make it global.
64359         (_dl_initial_dtv): Removed.
64360         (__libc_setup_tls): Updated.
64361         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64362         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64363         DL_INITIAL_DTV.
64365 2012-09-06  Petr Machata  <pmachata@redhat.com>
64367         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64368         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64369         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64370         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64374         [BZ #14545]
64375         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64376         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64377         freeing dtv[-1].
64379 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64381         [BZ #14544]
64382         * Makeconfig (link-static-before-libc): Replace $(+prector)
64383         with $(+prectorT).
64384         (link-static-after-libc): Replace $(+postctor) with
64385         $(+postctorT).
64386         (link-bounded): Replace $(+prector)/$(+postctor) with
64387         $(+prectorT)/$(+postctorT).
64388         (+prectorT): New macro.
64389         (+postctorT): Likewise.
64391 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64393         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64394         (round_str): Handle values above the maximum for IBM long double
64395         as inexact.
64396         * stdlib/tst-strtod-round.c (tests): Regenerated.
64398 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64400         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64401         assembler flag.
64402         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64403         zarch_nohighgprs around the zarch optimized routines.
64404         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64405         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64406         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64407         for zarch.
64409 2012-09-05  David S. Miller  <davem@davemloft.net>
64411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64413         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64414         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64415         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64416         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64417         entries.
64419 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64421         * malloc/arena.c: Fold copyright years.
64422         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64424 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64426         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64428 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64430         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64432 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64434         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64435         change internal state upon failure.
64437 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64439         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64440         * malloc/memusage.c (mmap): Likewise.
64441         (mmap64, mremap): Likewise.  Adjust name in comment.
64443 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64445         * libio/fileops.c: Fix typos in comments.
64446         * libio/oldfileops.c: Likewise.
64447         * libio/wfileops.c: Likewise.
64449 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64451         [BZ #1349]
64452         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64453         (tst-malloc-usable-ENV): Set environment for test case.
64454         * malloc/hooks.c (malloc_check_get_size): New function to get
64455         requested size.
64456         * malloc/malloc.c (musable): Use malloc_check_get_size.
64457         * malloc/tst-malloc-usable.c: New test case.
64459 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64461         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64463 2012-09-05  Allan McRae  <allan@archlinux.org>
64465         [BZ #13966]
64466         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64467         determine header location.
64468         * configure: Regenerated.
64470 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64472         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64473         float format.
64474         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64475         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64476         format.
64477         (test): Regenerate.
64479 2012-09-04  David S. Miller  <davem@davemloft.net>
64481         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64482         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64483         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64485 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64487         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64488         failures.
64490         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64492 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64494         [BZ #9914]
64495         * libio/iogetdelim.c: Include <limits.h>.
64496         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64497         + len + 1 would overflow.
64499 2012-09-03  Andreas Jaeger  <aj@suse.de>
64501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64502         * sysdeps/i386/fpu/libm-test-ulps: Update.
64504 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64506         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64507         Add s_sinf-sse2, s_conf-sse2.
64509         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64510         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64511         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64512         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64514         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64515         for using routine as __sinf_ia32.
64516         Use macro for function declaration and weak_alias.
64517         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64518         for using routine as __cosf_ia32.
64519         Use macro for function declaration and weak_alias.
64521         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64522         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64524         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64525         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64528         * math/libm-test.inc (cos_test): Add more test cases.
64529         (sin_test): Likewise.
64530         (sincos_test): Likewise.
64532 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64534         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64535         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64536         hidden.
64537         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64539 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64541         [BZ #14538]
64542         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64543         first element of the GOT.
64544         (elf_machine_load_address): Return the difference between
64545         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64547 2012-09-01  Allan McRae  <allan@archlinux.org>
64549         [BZ #13412]
64550         * configure.in (AWK): Require gawk version 3.0 or later.
64551         * configure: Regenerated.
64553 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64555         * sysdeps/unix/sysv/linux/kernel-features.h
64556         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64557         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64558         [__NR_clock_getres]: Make code unconditional.
64559         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64560         (clock_getcpuclockid): Remove code left unreachable by removal of
64561         conditionals.
64562         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64563         code unconditional.
64564         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64565         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64566         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64567         Make code unconditional.
64568         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64569         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64570         * sysdeps/unix/sysv/linux/clock_settime.c
64571         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64572         conditional code.
64573         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64574         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64576 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64578         [BZ #14476]
64579         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64580         scripts/test-installation.pl.
64582         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64583         and $ld_so_version if it is set.
64585 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64587         [BZ #14516]
64588         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64589         failure if reading from procfs failed.
64590         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64592 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64594         * sysdeps/unix/sysv/linux/kernel-features.h
64595         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64596         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64597         Remove conditional code.
64598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64599         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64600         Remove conditional code.
64601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64602         * sysdeps/unix/sysv/linux/i386/fxstat.c
64603         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64605         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64608         * sysdeps/unix/sysv/linux/i386/lxstat.c
64609         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64611         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64612         Remove conditional code.
64613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64614         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64615         Remove conditional code.
64616         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64617         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64618         <kernel-features.h>.
64619         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64620         Remove.
64621         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64622         Remove conditional code.
64623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64624         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64625         Remove conditional.
64627 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64629         [BZ #5400]
64630         * NEWS: Add fixed bug number.
64632 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64634         [BZ #14519]
64635         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64636         underflowing exponent in case of negative sign.
64637         * stdlib/tst-strtod-round-data: Add more tests.
64638         * stdlib/tst-strtod-round.c (tests): Regenerated.
64640         [BZ #3479]
64641         * stdlib/strtod_l.c (NDIG): Remove.
64642         (HEXNDIG): Likewise.
64643         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64644         smallest representable value.
64645         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64646         lie within an exact representation of 1/2 ulp of the result.
64647         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64648         unconditionally.
64649         (TENS_P9_IDX): Define unconditionally.
64650         (TENS_P9_SIZE): Likewise.
64651         (TENS_P10_IDX): Likewise.
64652         (TENS_P10_SIZE): Likewise.
64653         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64654         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64655         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64656         entries for 10^2^13 and 10^2^14.
64657         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64658         (TENS_P13_IDX): Define.
64659         (TENS_P13_SIZE): Likewise.
64660         (TENS_P14_IDX): Likewise.
64661         (TENS_P14_SIZE): Likewise.
64662         (_fpioconst_pow10): Change array size to
64663         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64664         unconditional.
64665         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64666         1024]: Add entries for 10^2^13 and 10^2^14.
64667         [LAST_POW10 > _LAST_POW10]: Remove #error.
64668         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64669         (_fpioconst_pow10): Change array size to
64670         FPIOCONST_POW10_ARRAY_SIZE.
64671         * stdlib/gen-fpioconst.c: New file.
64672         * stdlib/gen-tst-strtod-round.c: Likewise.
64673         * stdlib/tst-strtod-round-data: Likewise.
64674         * stdlib/tst-strtod-round.c: Likewise.
64675         * stdlib/Makefile (tests): Add tst-strtod-round.
64677         [BZ #14459]
64678         * stdlib/strtod_l.c: Include <stdint.h>.
64679         (NDEBUG): Do not define.
64680         (round_and_return): Change EXPONENT parameter to type intmax_t.
64681         Rearrange calculations to avoid internal overflow possibilities.
64682         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64683         Rearrange calculations to avoid internal overflow possibilities.
64684         Assert that number fits inside MPNSIZE limbs.
64685         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64686         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64687         calculations and add assertions to avoid internal overflow
64688         possibilities.  Add casts to avoid signed/unsigned operations.
64689         * stdlib/tst-strtod-overflow.c: New file.
64690         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64692 2012-08-25  Marek Polacek  <polacek@redhat.com>
64694         * time/time.h: Fix some typos in comments.
64696 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64698         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64699         * posix/tst-rfc3484-2.c: Likewise.
64700         * posix/tst-rfc3484-3.c: Likewise.
64702 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64704         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64705         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64707 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64709         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64710         #include of fxstatat64.c.
64712 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64714         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64715         * shadow/getspent_r.c: Likewise.
64716         * shadow/getspnam.c: Likewise.
64717         * shadow/getspnam_r.c: Likewise.
64718         * gshadow/getsgent.c: Likewise.
64719         * gshadow/getsgent_r.c: Likewise.
64720         * gshadow/getsgnam.c: Likewise.
64721         * gshadow/getsgnam_r.c: Likewise.
64722         * inet/getnetbyad.c: Likewise.
64723         * inet/getnetbyad_r.c: Likewise.
64724         * inet/getnetbynm.c: Likewise.
64725         * inet/getnetbynm_r.c: Likewise.
64726         * inet/getnetent.c: Likewise.
64727         * inet/getnetent_r.c: Likewise.
64728         * inet/getproto.c: Likewise.
64729         * inet/getproto_r.c: Likewise.
64730         * inet/getprtent.c: Likewise.
64731         * inet/getprtent_r.c: Likewise.
64732         * inet/getprtname.c: Likewise.
64733         * inet/getprtname_r.c: Likewise.
64734         * inet/getrpcbyname.c: Likewise.
64735         * inet/getrpcbyname_r.c: Likewise.
64736         * inet/getrpcbynumber.c: Likewise.
64737         * inet/getrpcbynumber_r.c: Likewise.
64738         * inet/getrpcent.c: Likewise.
64739         * inet/getrpcent_r.c: Likewise.
64740         * inet/getaliasent.c: Likewise.
64741         * inet/getaliasent_r.c: Likewise.
64742         * inet/getaliasname.c: Likewise.
64743         * inet/getaliasname_r.c: Likewise.
64744         * nscd/getgrgid_r.c: Likewise.
64745         * nscd/getgrnam_r.c: Likewise.
64746         * nscd/gethstbyad_r.c: Likewise.
64747         * nscd/gethstbynm3_r.c: Likewise.
64748         * nscd/getpwnam_r.c: Likewise.
64749         * nscd/getpwuid_r.c: Likewise.
64750         * nscd/getsrvbynm_r.c: Likewise.
64751         * nscd/getsrvbypt_r.c: Likewise.
64752         * nscd/gai.c: Likewise.
64754         * configure.in (build_nscd): New substituted variable, set
64755         by --disable-build-nscd and defaults to $use_nscd.
64756         * configure: Regenerated.
64757         * config.make.in (build-nscd): New substituted variable.
64758         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64759         Change conditional to require [$(build-nscd) = yes] as well.
64760         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64762         [BZ# 13696]
64763         * configure.in (use_nscd): New substituted variable, set by
64764         --disable-nscd.  If enabled, define USE_NSCD.
64765         * configure: Regenerated.
64766         * config.h.in: Add USE_NSCD.
64767         * config.make.in (use-nscd): New substituted variable.
64768         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64769         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64770         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64771         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64772         (CFLAGS-getgrnam_r.c): Likewise.
64773         (CFLAGS-initgroups.c): Likewise.
64774         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64775         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64776         Variables removed.
64777         * inet/getnetgrent_r.c
64778         (nscd_setnetgrent): New function, broken out of ...
64779         (setnetgrent): ... here.  Call it.
64780         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64781         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64782         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64783         * nscd/Makefile (routines, aux): Move definitions after include of
64784         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64785         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64786         Conditionalize on [USE_NSCD].
64787         (is_nscd, nscd_init_cb): Likewise.
64788         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64789         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64790         * nss/nss_db/db-init.c: Likewise.
64791         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64792         [USE_NSCD].
64793         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64794         (make_request): Use it.
64795         (cache_valid_p): New function.
64796         (__check_pf): Use it.
64797         * NEWS: Add item for --disable-nscd.
64799 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64801         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64802         to support sed >= 4.2.1-20-ga9bf076.
64803         * configure: Regenerated.
64805 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64807         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64808         Conditionalize whole body on [IREL].
64810 2012-08-22  Jeff Law <law@redhat.com>
64812         [BZ #14505]
64813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64814         if the family is PF_UNSPEC.
64816 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64818         * Makerules (lib-version): Rename from V.
64819         (install-lib-nosubdir): Change V to lib-version.
64821 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64823         [BZ #14252]
64824         * powerpc32/power6/wcschr.c: New file.
64825         * powerpc32/power6/wcscpy.c: New file.
64826         * powerpc32/power6/wcsrchr.c: New file.
64827         * powerpc64/power6/wcschr.c: New file.
64828         * powerpc64/power6/wcscpy.c: New file.
64829         * powerpc64/power6/wcsrchr.c: New file.
64831 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64833         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64834         (two_way_short_needle): Use it.
64835         * string/strstr.c (AVAILABLE1_USES_J): Define.
64836         * string/strcasestr.c: Likewise.
64838         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64839         array references.
64840         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64842         [BZ #11607]
64843         * NEWS: Add an entry.
64844         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64845         define their defaults.
64846         (two_way_short_needle): Detect end-of-string on-the-fly.
64847         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64848         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64849         * string/bug-strcasestr1.c: New test.
64850         * string/Makefile: Run it.
64852 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64854         [BZ #11607]
64855         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64856         the first character.
64858 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64860         * csu/elf-init.c (__libc_csu_irel): Function removed.
64861         * csu/libc-start.c (apply_irel): New function.
64862         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64864 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64866         * sysdeps/unix/sysv/linux/kernel-features.h
64867         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64868         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64869         <kernel-features.h>.
64870         [__NR_fadvise64_64]: Make code unconditional.
64871         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64872         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64873         !__NR_fadvise64_64)]: Likewise.
64874         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64875         !__NR_fadvise64_64))]: Likewise.
64876         [__NR_fadvise64]: Make code unconditional.
64877         [!__NR_fadvise64]: Remove conditional code.
64878         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64879         <kernel-features.h>.
64880         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64881         unconditional.
64882         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64883         conditional code.
64884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64885         not include <kernel-features.h>.
64886         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64887         unconditional.
64888         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64889         conditional code.
64890         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64891         include <kernel-features.h>.
64892         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64893         unconditional.
64894         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64895         conditional code.
64897 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64900         slight instruction rearrangements per scrollpipe analysis.
64901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64903 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64905         * manual/syslog.texi (syslog; vsyslog, closelog):
64906         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64907         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64909         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64910         DSOCAPS to match condition on defining it.
64912 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64914         * sysdeps/unix/sysv/linux/kernel-features.h
64915         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64917         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64918         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64923         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64924         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64926         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64927         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64929         * sysdeps/unix/sysv/linux/kernel-features.h
64930         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64931         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64932         unconditional.
64933         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64934         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64935         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64936         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64937         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64938         Make code unconditional.
64939         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64940         (__mmap64) [!__NR_mmap2]: Likewise.
64941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64942         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64943         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64944         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64945         [__NR_mmap2]: Make code unconditional.
64946         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64947         (__mmap64) [!__NR_mmap2]: Likewise.
64949 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64951         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64953 2012-08-18  Andreas Jaeger  <aj@suse.de>
64955         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64957 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64959         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64960         * include/unistd.h (__have_sock_cloexec): Likewise.
64961         (__have_pipe2): Likewise.
64962         (__have_dup3): Likewise.
64964 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64966         [BZ #9685]
64967         * include/unistd.h (__have_pipe2): Change define into an extern int.
64968         (__have_dup3): Likewise.
64969         * socket/have_sock_cloexec.c: Include fcntl.h.
64970         (__have_pipe2): New variable.
64971         (__have_dup3): Likewise.
64973 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64975         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64977 2012-08-17  Marek Polacek  <polacek@redhat.com>
64979         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64980         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64982 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64984         * configure.in: Add AC_SUBST for sysheaders.
64985         * configure: Regenerated.
64986         * config.make.in (sysheaders): New substituted variable.
64988         * sysdeps/unix/mkfifo.c: Moved ...
64989         * sysdeps/posix/mkfifo.c: ... here.
64990         * sysdeps/unix/mkfifoat.c: Moved ...
64991         * sysdeps/posix/mkfifoat.c: ... here.
64993         * sysdeps/unix/utime.c: Moved ...
64994         * sysdeps/posix/utime.c: ... here.
64996         * sysdeps/unix/time.c: Moved ...
64997         * sysdeps/posix/time.c: ... here.
64998         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64999         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65001         * sysdeps/unix/nice.c: Moved ...
65002         * sysdeps/posix/nice.c: ... here.
65004         * sysdeps/unix/alarm.c: Moved ...
65005         * sysdeps/posix/alarm.c: ... here.
65007         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65009 2012-08-17  Jeff Law <law@redhat.com>
65011         * intl/Makefile (codeset_mo): New variable.
65012         ($(codeset_mo)): New target.
65013         (tst-codeset.out): Depend on that.  Remove explicit rule.
65014         (tst-gettext3.out, tst-gettext5.out): Likewise.
65015         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65016         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65017         * intl/tst-codeset.sh: Remove.
65018         * intl/tst-gettext3.sh: Likewise.
65019         * intl/tst-gettext5.sh: Likewise.
65021 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65023         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65024         * sysdeps/unix/syscalls.list: ... here.
65026         * sysdeps/posix/getaddrinfo.c
65027         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65028         (gaiconf_init, gaiconf_reload): Use them.
65029         [!_STATBUF_ST_NSEC]
65030         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65031         Define using time_t rather than struct timespec.
65033         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65034         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65035         Macros removed.
65036         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65037         [!NO_THREADS].
65038         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65039         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65040         Likewise.
65042         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65043         __libc_cleanup_push argument.
65045         * bits/param.h: New file.
65046         * misc/sys/param.h: New file.
65047         * include/sys/param.h: New file.
65048         * misc/Makefile (headers): Add bits/param.h.
65049         * sysdeps/generic/sys/param.h: File removed.
65050         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65051         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65052         * sysdeps/mach/hurd/bits/param.h: New file.
65053         * sysdeps/mach/hurd/sys/param.h: File removed.
65055         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65056         last change.
65058         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65059         [_IO_MTSAFE_IO].
65060         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65061         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65062         New macros.
65064         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65065         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65066         rather than -D_IO_MTSAFE_IO conditionally.
65067         * stdio-common/Makefile (CPPFLAGS): Likewise.
65068         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65069         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65070         Use $(libio-mtsafe).
65071         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65072         of -D_IO_MTSAFE_IO.
65073         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65074         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65075         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65076         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65077         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65078         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65079         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65080         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65081         (CFLAGS-fread_u_chk.c): Likewise.
65082         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65083         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65084         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65085         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65086         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65087         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65088         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65089         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65090         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65092         * libio/Makefile: Test [$(libc-reentrant) = yes]
65093         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65095         * Makeconfig
65096         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65097         * sysdeps/pthread/configure: File removed.
65098         * sysdeps/pthread/Makeconfig: New file.
65099         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65100         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65102 2012-08-16  Gary Benson  <gbenson@redhat.com>
65104         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65105         unmapping the first object in a namespace.
65107 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65109         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65110         (__internal_setnetgrent): ... this.  Add internal_function to
65111         definition.  Add libc_hidden_def.
65112         (setnetgrent): Update caller.
65113         (internal_endnetgrent): Renamed to ...
65114         (__internal_endnetgrent): ... this.  Add internal_function to
65115         definition.  Add libc_hidden_def.
65116         (endnetgrent): Update caller.
65117         (internal_getnetgrent_r): Renamed to ...
65118         (__internal_getnetgrent_r): ... this.  Add internal_function to
65119         definition.  Add libc_hidden_def.
65120         (__getnetgrent_r): Update caller.
65121         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65123 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65125         * stdlib/longlong.h: Update from GCC.
65127 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65129         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65130         on _QL, which is set by umul_ppmm but never used.
65131         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65132         variables, which are set by GMP macros but never used.
65133         * stdio-common/_itowa.c (_itowa): Likewise.
65134         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65135         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65137 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65139         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65140         struct La_sh_regs is not constant.
65141         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65142         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65143         and struct La_sparc64_regs are not constant.
65145 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65147         * sysdeps/unix/sysv/linux/kernel-features.h
65148         (__ASSUME_POSIX_TIMERS): Remove.
65149         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65151         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65152         Make code unconditional.
65153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65154         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65155         Make code unconditional.
65156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65157         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65158         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65160         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65161         Make code unconditional.
65162         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65163         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65164         (__libc_missing_posix_timers): Remove.
65166 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65168         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65169         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65171         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65173         * elf/dl-sym.c: Include <stdlib.h>.
65175         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65176         constants, which avoids warnings in 32-bit builds.
65178         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65179         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65181         * misc/lseek.c: File moved to ...
65182         * io/lseek.c: ... here.
65184         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65186         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65187         shifting LEN more than 31 bits at once.
65189 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65191         [BZ #14195]
65192         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65193         segmentation fault for a case of two empty input strings.
65194         * string/test-strncasecmp.c (check1): Renamed to...
65195         (bz12205): ...this.
65196         (bz14195): Add new testcase for two empty input strings and N > 0.
65197         (test_main): Call new testcase, adapt for renamed function.
65199 2012-08-15  Andreas Jaeger  <aj@suse.de>
65201         [BZ #14090]
65202         * crypt/md5test2.c: New test, based on test supplied by Serge
65203         Belyshev <belyshev@depni.sinp.msu.ru>.
65204         * crypt/Makefile (xtests): Add md5test-giant..
65205         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65207 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65209         [BZ #14090]
65210         * crypt/md5.c (md5_process_block): Don't assume the buffer
65211         length is less than 2**32.
65212         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65213         length is less than 2**64.
65215 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65217         * string/str-two-way.h: Include <sys/param.h>.
65218         (MAX): Macro removed.
65220         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65221         Move #define and #undef of memmove to just before and after
65222         including <string.h>.
65224         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65225         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65226         and after including <string.h>.  Move declarations of
65227         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65228         to before #include "string/memmove.c".
65230         * include/dirent.h: Declare __getdirentries.
65232         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65233         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65235 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65237         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65238         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65239         * sysdeps/i386/configure: Regenerated.
65240         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65241         STABS_CURRENT_FILE, and STABS_FUN.
65242         (END): Remove call to STABS_FUN_END.
65243         (STABS_CURRENT_FILE1): Delete.
65244         (STABS_CURRENT_FILE): Likewise.
65245         (STABS_FUN): Likewise.
65246         (STABS_FUN_END): Likewise.
65247         (STABS_FUN2): Likewise.
65248         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65249         * sysdeps/x86_64/configure: Regenerated.
65251 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65253         * elf/dl-open.c: Include <atomic.h>.
65254         * elf/dl-lookup.c: Likewise.
65256 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65258         * sysdeps/unix/sysv/linux/kernel-features.h
65259         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65260         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65261         unconditionally.
65262         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65263         unconditionally.
65264         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65265         condition on __ASSUME_CLONE_THREAD_FLAGS.
65267 2012-08-14  Andreas Jaeger  <aj@suse.de>
65269         * sysdeps/i386/fpu/libm-test-ulps: Update.
65271 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65273         * include/atomic.h (atomic_exchange_and_add): Split into ...
65274         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65275         New atomic macros.
65277 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65281 2012-08-13  Jeff Law <law@redhat.com>
65283         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65284         null byte in the output string.
65286 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65288         * sysdeps/unix/sysv/linux/kernel-features.h
65289         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65290         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65291         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65292         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65293         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65294         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65295         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65297 2012-08-09  Jeff Law <law@redhat.com>
65299         [BZ #13939]
65300         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65301         When avoid_arena is set, don't retry in the that arena.  Pick the
65302         next one, whatever it might be.
65303         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65304         (arena_lock): Pass in new parameter to arena_get2.
65305         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65306         arena_get2.
65307         (__libc_malloc): Unify retrying after main arena failure with
65308         __libc_memalign version.
65309         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65311 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65313         [BZ #14166]
65314         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65315         to __redirect_strstr.
65316         (__strstr_sse42): Use typeof __redirect_strstr.
65317         (__strstr_ia32): Likewise.
65318         (__libc_strstr): New prototype.
65319         (strstr): Renamed to ...
65320         (__libc_strstr): This.
65321         (strstr): New strong alias of __libc_strstr.
65322         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65323         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65324         __redirect_time.
65325         Include <time.h>.
65326         (__libc_time): New prototype.
65327         (time_ifunc): Replace time with __libc_time.
65328         (time): New strong alias and hidden definition of __libc_time.
65329         (__GI_time): Remove strong alias.
65330         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65331         Include <stddef.h>.
65332         (memmove): Redefined to __redirect_memmove.
65333         (__memmove_sse2): Use typeof __redirect_memmove.
65334         (__memmove_ssse3): Likewise.
65335         (__memmove_ssse3_back): Likewise.
65336         (__libc_memmove): New prototype.
65337         (memmove): Renamed to ...
65338         (__libc_memmove): This.
65339         (memmove): New strong alias of __libc_memmove.
65341 2012-08-08  Mark Salter  <msalter@redhat.com>
65343         * elf/elf.h
65344         (R_MN10300_TLS_GD): Define.
65345         (R_MN10300_TLS_LD): Likewise.
65346         (R_MN10300_TLS_LDO): Likewise.
65347         (R_MN10300_TLS_GOTIE): Likewise.
65348         (R_MN10300_TLS_IE): Likewise.
65349         (R_MN10300_TLS_LE): Likewise.
65350         (R_MN10300_TLS_DTPMOD): Likewise.
65351         (R_MN10300_TLS_DTPOFF): Likewise.
65352         (R_MN10300_TLS_TPOFF): Likewise.
65353         (R_MN10300_SYM_DIFF): Likewise.
65354         (R_MN10300_ALIGN): Likewise.
65355         (R_MN10300_NUM): Update.
65357 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65360         Remove.
65362 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65364         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65366         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65367         sysdeps/unix -> sysdeps/posix move.
65368         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65370 2012-08-07      Allan McRae     <allan@archlinux.org>
65372         [BZ #14303]
65373         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65374         (SUNOS_CPP): Likewise.
65375         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65376         not found.
65377         (open_input): Call CPP using execvp.
65379 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65381         * sysdeps/unix/sysv/linux/kernel-features.h
65382         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65383         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65384         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65385         (__ASSUME_WAITID_SYSCALL): Likewise.
65386         * sysdeps/unix/sysv/linux/dl-execstack.c
65387         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65388         code unconditional.
65389         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65390         conditional code.
65391         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65392         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65393         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65394         code.
65395         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65396         unconditional.
65397         [__ASSUME_WAITID_SYSCALL]: Likewise.
65398         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65400 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65402         * sysdeps/unix/closedir.c: Renamed to ...
65403         * sysdeps/posix/closedir.c: ... here.
65404         * sysdeps/unix/dirfd.c: Renamed to ...
65405         * sysdeps/posix/dirfd.c: ... here.
65406         * sysdeps/unix/dirstream.h: Renamed to ...
65407         * sysdeps/posix/dirstream.h: ... here.
65408         * sysdeps/unix/fdopendir.c: Renamed to ...
65409         * sysdeps/posix/fdopendir.c: ... here.
65410         * sysdeps/unix/opendir.c: Renamed to ...
65411         * sysdeps/posix/opendir.c: ... here.
65412         * sysdeps/unix/readdir.c: Renamed to ...
65413         * sysdeps/posix/readdir.c: ... here.
65414         * sysdeps/unix/readdir_r.c: Renamed to ...
65415         * sysdeps/posix/readdir_r.c: ... here.
65416         * sysdeps/unix/rewinddir.c: Renamed to ...
65417         * sysdeps/posix/rewinddir.c: ... here.
65418         * sysdeps/unix/seekdir.c: Renamed to ...
65419         * sysdeps/posix/seekdir.c: ... here.
65420         * sysdeps/unix/telldir.c: Renamed to ...
65421         * sysdeps/posix/telldir.c: ... here.
65422         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65423         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65424         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65425         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65427         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65428         * bits/fcntl.h: ... here.
65430         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65431         not 0.
65432         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65433         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65434         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65435         (struct flock): Move l_start, l_len to the beginning.
65436         Use __pid_t for l_pid.
65437         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65438         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65439         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65440         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65441         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65442         [__USE_LARGEFILE64] (struct flock64): New type.
65443         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65445         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65446         * bits/dirent.h: ... here.
65448         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65449         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65451 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65453         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65454         Change from 2.6.0 to 2.6.16.
65455         * sysdeps/unix/sysv/linux/configure: Regenerated.
65456         * sysdeps/unix/sysv/linux/kernel-features.h
65457         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65458         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65459         version.
65460         (__ASSUME_UTIMES): Likewise.
65461         (__ASSUME_CLONE_STOPPED): Remove.
65462         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65463         architectures, not kernel version.
65464         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65465         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65466         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65467         (__ASSUME_WAITID_SYSCALL): Likewise.
65468         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65469         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65470         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65471         refer to older versions.
65473 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65475         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65476         Define alphasort64 as an alias.
65477         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65478         Define versionsort64 as an alias.
65479         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65480         Define scandir64 as an alias.
65481         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65482         Define scandirat64 as an alias.
65483         * dirent/alphasort64.c (alphasort64):
65484         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65485         * dirent/versionsort64.c: Likewise.
65486         * dirent/scandir64.c: Likewise.
65487         * dirent/scandirat64.c: Likewise.
65488         * sysdeps/wordsize-64/alphasort.c: File removed.
65489         * sysdeps/wordsize-64/alphasort64.c: File removed.
65490         * sysdeps/wordsize-64/scandir.c: File removed.
65491         * sysdeps/wordsize-64/scandir64.c: File removed.
65492         * sysdeps/wordsize-64/scandirat.c: File removed.
65493         * sysdeps/wordsize-64/scandirat64.c: File removed.
65494         * sysdeps/wordsize-64/versionsort.c: File removed.
65495         * sysdeps/wordsize-64/versionsort64.c: File removed.
65496         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65497         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65498         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65499         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65500         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65501         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65502         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65503         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65505         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65506         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65507         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65508         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65509         [defined __arch64__ || defined __sparcv9]
65510         (__INO_T_MATCHES_INO64_T): New macro.
65511         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65512         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65513         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65514         * sysdeps/unix/sysv/linux/bits/dirent.h
65515         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65516         (_DIRENT_MATCHES_DIRENT64): New macro.
65518         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65519         Define lockf64 as an alias.
65520         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65521         Define fseeko64 as an alias.
65522         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65523         Define ftello64 as an alias.
65524         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65525         Define _IO_fgetpos64 and fgetpos64 as aliases.
65526         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65527         Define _IO_fsetpos64 and fsetpos64 as aliases.
65528         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65529         Conditionalize body on this.
65530         * libio/fseeko64.c: Likewise.
65531         * libio/ftello64.c: Likewise.
65532         * libio/iofgetpos64.c: Likewise.
65533         * libio/iofsetpos64.c: Likewise.
65534         * sysdeps/wordsize-64/lockf.c: File removed.
65535         * sysdeps/wordsize-64/lockf64.c: File removed.
65536         * sysdeps/wordsize-64/fseeko.c: File removed.
65537         * sysdeps/wordsize-64/fseeko64.c: File removed.
65538         * sysdeps/wordsize-64/ftello.c: File removed.
65539         * sysdeps/wordsize-64/ftello64.c: File removed.
65540         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65541         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65542         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65543         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65544         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65545         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65546         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65547         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65548         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65549         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65550         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65551         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65552         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65553         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65555         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65557         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65559         [defined __arch64__ || defined __sparcv9]
65560         (__OFF_T_MATCHES_OFF64_T): New macro.
65561         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65562         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65564         (__OFF_T_MATCHES_OFF64_T): New macro.
65566 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65568         * stdlib/secure-getenv.c (__secure_getenv): Replace
65569         GLIBC_2_16 with GLIBC_2_17.
65571 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65573         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65574         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65576 2012-08-03  David S. Miller  <davem@davemloft.net>
65578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65580 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65583         Remove.
65584         (__ASSUME_CORRECT_SI_PID): Likewise.
65585         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65586         (__ASSUME_TMPFS_NAME): Likewise.
65587         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65588         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65589         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65590         (HAVE_AUX_SECURE): Make definition unconditional.
65591         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65592         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65594 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65596         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65597         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65598         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65599         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65600         __eloop_threshold instead of SYMLOOP_MAX.
65602         * sysdeps/generic/eloop-threshold.h: New file.
65603         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65604         of MAXSYMLINKS.
65605         * elf/chroot_canon.c (chroot_canon): Likewise.
65607 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65609         [BZ #13717]
65610         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65611         Change to 2.6.0 everywhere.
65612         * sysdeps/unix/sysv/linux/configure: Regenerated.
65613         * sysdeps/unix/sysv/linux/kernel-features.h
65614         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65615         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65616         kernel versions.
65617         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65618         (__ASSUME_FUTEX_REQUEUE): Remove.
65619         (__ASSUME_STATFS64): Define unconditionally.
65620         (__ASSUME_AT_SECURE): Likewise.
65621         (__ASSUME_CORRECT_SI_PID): Likewise.
65622         (__ASSUME_TGKILL): Define without depending on kernel version for
65623         i386.
65624         (__ASSUME_UTIMES): Likewise.
65625         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65626         kernel version.
65627         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65628         (__ASSUME_TMPFS_NAME): Likewise.
65629         * README: Update reference to Linux kernel versions.
65631 2012-08-02  Marek Polacek  <polacek@redhat.com>
65633         [BZ# 14150]
65634         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65635         libc_cv_asm_type_prefix with %.
65636         * configure: Regenerated.
65637         * include/libc-symbols.h: Remove comment about
65638         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65639         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65640         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65641         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65642         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65643         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65644         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65645         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65646         * elf/tst-unique2mod1.c: Likewise.
65647         * elf/tst-unique1mod2.c: Likewise.
65648         * elf/tst-unique1mod1.c: Likewise.
65649         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65650         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65651         Replace ASM_TYPE_DIRECTIVE with .type.
65652         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65653         * sysdeps/i386/sysdep.h: Likewise.
65654         * sysdeps/x86_64/sysdep.h: Likewise.
65655         * sysdeps/sh/sysdep.h: Likewise.
65656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65657         Do not define ASM_TYPE_DIRECTIVE.
65658         * sysdeps/powerpc/sysdep.h: Likewise.
65659         * sysdeps/powerpc/powerpc32/sysdep.h:
65660         Replace ASM_TYPE_DIRECTIVE with .type.
65661         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65662         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65663         * sysdeps/i386/fpu/e_powf.S: Likewise.
65664         * sysdeps/i386/fpu/e_expl.S: Likewise.
65665         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65666         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65667         * sysdeps/i386/fpu/e_pow.S: Likewise.
65668         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65669         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65670         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65671         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65672         * sysdeps/i386/fpu/e_log2.S: Likewise.
65673         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65674         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65675         * sysdeps/i386/fpu/e_powl.S: Likewise.
65676         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65677         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65678         * sysdeps/i386/fpu/e_logl.S: Likewise.
65679         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65680         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65681         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65682         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65683         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65684         * sysdeps/i386/fpu/e_log.S: Likewise.
65685         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65686         * sysdeps/i386/fpu/e_logf.S: Likewise.
65687         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65688         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65689         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65690         * sysdeps/i386/fpu/e_log10.S: Likewise.
65691         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65692         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65693         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65694         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65695         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65696         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65697         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65698         * sysdeps/i386/i686/strtok.S: Likewise.
65699         * sysdeps/i386/i386-mcount.S: Likewise.
65700         * sysdeps/i386/strtok.S: Likewise.
65701         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65702         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65703         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65704         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65705         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65706         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65707         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65708         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65709         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65710         * sysdeps/x86_64/_mcount.S: Likewise.
65711         * sysdeps/x86_64/strtok.S: Likewise.
65712         * sysdeps/sh/_mcount.S: Likewise.
65714 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65716         * libio/iofopen.c: Include <fcntl.h>.
65717         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65718         (_IO_fopen64, fopen64): Define as aliases.
65719         * libio/iofopen64.c: Include <fcntl.h>.
65720         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65721         Conditionalize body on this.
65722         * sysdeps/wordsize-64/iofopen.c: File removed.
65723         * sysdeps/wordsize-64/iofopen64.c: File removed.
65725 2012-08-01  Marek Polacek  <polacek@redhat.com>
65727         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65728         Use dlfcn directly instead of a variable.
65729         (binfmt-subdir): Do not define.
65730         (dlfcn): Likewise.
65732 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65735         Remove all definitions.
65736         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65737         <kernel-features.h>.
65738         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65739         (miss_F_GETOWN_EX): Remove all definitions.
65740         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65741         macro definition.
65742         [!__ASSUME_FCNTL64]: Remove conditional code.
65743         [__ASSUME_FCNTL64]: Make code unconditional.
65744         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65745         <kernel-features.h>.
65746         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65747         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65748         (lockf64) [__NR_fcntl64]: Make code unconditional.
65749         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65751         * sysdeps/unix/sysv/linux/kernel-features.h
65752         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65753         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65754         Make code unconditional.
65755         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65756         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65758         [__NR_vfork]: Make code unconditional.
65759         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65760         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65762         [__NR_vfork]: Make code unconditional.
65763         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65764         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65766 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65768         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65769         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65771         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65772         Define mkstemp64 as an alias.
65773         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65774         Define mkstemps64 as an alias.
65775         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65776         Define mkostemp64 as an alias.
65777         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65778         Define mkostemps64 as an alias.
65779         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65780         Conditionalize body on this.
65781         * misc/mkostemp64.c: Likewise.
65782         * misc/mkostemps64.c: Likewise.
65783         * misc/mkstemps64.c: Likewise.
65784         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65785         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65786         * sysdeps/wordsize-64/mkostemp.c: File removed.
65787         * sysdeps/wordsize-64/mkstemp.c: File removed.
65788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65790         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65791         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65793         [BZ #14138]
65794         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65795         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65796         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65797         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65799         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65800         compat_symbol macros from <shlib-compat.h> rather than the underlying
65801         default_symbol_version and symbol_version macros, so that DEFAULT
65802         lines in shlib-versions are respected.
65803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65805 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65807         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65808         Declare with warn_unused_result.
65809         (setgid, setregid, setegid, setresgid): Likewise.
65810         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65811         Likewise.
65812         * WUR-REPORT: Remove set*id functions.
65814 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65816         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65818 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65820         [BZ #10191]
65821         * include/sys/socket.h (__libc_accept, __libc_accept4):
65822         Add attribute_hidden.
65823         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65825         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65826         use of PTR_MANGLE.
65827         * inet/getnetgrent_r.c (setup): Likewise.
65829         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65831 2012-07-31  David S. Miller  <davem@davemloft.net>
65833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65835 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65837         [BZ #13629]
65838         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65839         value between 1.0 and 2.0 and smaller part has absolute value less
65840         than 1.0.
65841         * math/s_clog10.c (__clog10): Likewise.
65842         * math/s_clog10f.c (__clog10f): Likewise.
65843         * math/s_clog10l.c (__clog10l): Likewise.
65844         * math/s_clogf.c (__clogf): Likewise.
65845         * math/s_clogl.c (__clogl): Likewise.
65846         * math/libm-test.inc (clog_test): Add more tests.
65847         (clog10_test): Likewise.
65848         * sysdeps/i386/fpu/libm-test-ulps: Update.
65849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65851 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65853         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65854         Exit with zero in case no suitable GID is found, and write a
65855         message to standard error.
65857 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65859         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65860         rather than to 1.
65861         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65862         (MAXPATHLEN): Removed.
65863         (NOGROUP, NODEV): New macros.
65864         (setbit, clrbit, isset, isclr): New macros.
65865         (howmany, roundup, powerof2): New macros.
65866         (DEV_BSIZE): New macro.
65868         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65869         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65871         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65872         definition on [!__NO_LONG_DOUBLE_MATH].
65874         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65875         PTR_MANGLE and PTR_DEMANGLE.
65877         * socket/accept4.c (accept4): Rename to __libc_accept4.
65878         Define accept4 as a weak alias.
65880         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65881         on [_DIRENT_HAVE_D_TYPE].
65882         * io/ftw.c (ftw_dir): Likewise.
65884         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65886         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65888         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65889         Use the BSD numbers rather than the arbitrary ones we had.
65890         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65891         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65892         (SIGXCPU, SIGXFSZ): New macros.
65893         (_NSIG): Now 32.
65895         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65896         initializer on [_LIBC_REENTRANT].
65898         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65899         definitions inside [_POSIX_MAPPED_FILES].
65901         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65903         * dirent/opendir.c: Include <fcntl.h>.
65905         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65906         (__libc_getspecific): Likewise.
65907         (__libc_key_create): Likewise.
65909         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65910         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65911         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65912         (tmpfile64): Define as alias.
65913         * sysdeps/wordsize-64/tmpfile.c: File removed.
65914         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65915         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65916         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65918         * stdio-common/vfscanf.c: Include <stdbool.h>.
65919         * nss/makedb.c: Likewise.
65920         * stdio-common/_i18n_number.h: Likewise.
65921         * argp/argp-help.c: Likewise.
65922         * posix/wordexp.c: Likewise.
65923         * sysdeps/posix/spawni.c: Likewise.
65924         * nss/nss_files/files-initgroups.c: Likewise.
65925         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65926         * nss/nss_files/files-initgroups.c: Likewise.
65927         * nss/nss_db/db-netgrp.c: Likewise.
65928         * nss/nss_db/db-initgroups.c: Likewise.
65929         * io/fchmodat.c: Include <sys/stat.h>.
65931         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65932         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65934         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65935         [HAVE_MMAP].
65937         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65938         Add multiple inclusion protection.
65940 2012-07-27  David S. Miller  <davem@davemloft.net>
65942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65944 2012-07-27  Gary Benson  <gbenson@redhat.com>
65946         [BZ #14298]
65947         * elf/rtld.c: Include <stap-probe.h>.
65948         (dl_main): Added static probes "init_start" and "init_complete".
65949         * elf/dl-load.c: Include <stap-probe.h>.
65950         (lose): Take new parameter "nsid".
65951         Added static probe "map_failed".
65952         (_dl_map_object_from_fd): Pass namespace id to lose.
65953         Added static probe "map_start".
65954         (open_verify): Pass namespace id to lose.
65955         * elf/dl-open.c: Include <stap-probe.h>.
65956         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65957         and "reloc_complete".
65958         * elf/dl-close.c: Include <stap-probe.h>.
65959         (_dl_close_worker): Added static probes "unmap_start" and
65960         "unmap_complete".
65961         * elf/rtld-debugger-interface.txt: New file documenting the above.
65963 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65965         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65966         rather than a string variable.
65967         * sunrpc/rpc_main.c (h_output): Likewise.
65968         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65970 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65972         * inet/check_native.c: New file.
65974 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65976         [BZ #13629]
65977         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65978         if larger part has absolute value 1.0.
65979         * math/s_clog10.c (__clog10): Likewise.
65980         * math/s_clog10f.c (__clog10f): Likewise.
65981         * math/s_clog10l.c (__clog10l): Likewise.
65982         * math/s_clogf.c (__clogf): Likewise.
65983         * math/s_clogl.c (__clogl): Likewise.
65984         * math/libm-test.inc (clog_test): Add more tests.
65985         (clog10_test): Likewise.
65986         * sysdeps/i386/fpu/libm-test-ulps: Update.
65987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65989         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65990         (pltexit): Likewise.
65991         (La_regs): Likewise.
65992         (La_retval): Likewise.
65993         (int_retval): Likewise.
65994         Update #error for removed macros to refer only to definitions in
65995         tst-audit.h.
65996         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65997         macro.
65998         (pltexit): Likewise.
65999         (La_regs): Likewise.
66000         (La_retval): Likewise.
66001         (int_retval): Likewise.
66002         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66003         macro.
66004         (pltexit): Likewise.
66005         (La_regs): Likewise.
66006         (La_retval): Likewise.
66007         (int_retval): Likewise.
66008         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66009         macro.
66010         (pltexit): Likewise.
66011         (La_regs): Likewise.
66012         (La_retval): Likewise.
66013         (int_retval): Likewise.
66014         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66015         macro.
66016         (pltexit): Likewise.
66017         (La_regs): Likewise.
66018         (La_retval): Likewise.
66019         (int_retval): Likewise.
66020         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66021         macro.
66022         (pltexit): Likewise.
66023         (La_regs): Likewise.
66024         (La_retval): Likewise.
66025         (int_retval): Likewise.
66026         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66027         macro.
66028         (pltexit): Likewise.
66029         (La_regs): Likewise.
66030         (La_retval): Likewise.
66031         (int_retval): Likewise.
66032         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66033         macro definitions in tst-audit.h.
66034         * sysdeps/i386/tst-audit.h: New file.
66035         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66036         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66037         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66038         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66039         * sysdeps/sh/tst-audit.h: Likewise.
66040         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66041         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66042         * sysdeps/x86_64/tst-audit.h: Likewise.
66044 2012-07-26  Andreas Jaeger  <aj@suse.de>
66046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66047         ptrace.
66049         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66050         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66051         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66052         PTRACE_O_MASK.
66053         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66054         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66055         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66057         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66058         value.
66060         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66061         _sigsys.
66062         (si_call_addr, si_syscall, si_arch): Define new macro.
66063         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66064         _sigsys.
66065         (si_call_addr, si_syscall, si_arch): Define new marcro.
66066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66067         _sigsys.
66068         (si_call_addr, si_syscall, si_arch): Define new macro.
66069         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66070         _sigsys.
66071         (si_call_addr, si_syscall, si_arch): Define new macro.
66073 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66075         [BZ #13717]
66076         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66077         Change to 2.4.21 where previously 2.4.1.
66078         * sysdeps/unix/sysv/linux/configure: Regenerated.
66079         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66080         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66081         Linux kernel version.
66082         (__ASSUME_STD_AUXV): Remove.
66083         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66084         kernel version.
66085         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66086         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66087         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66088         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66089         (__ASSUME_NETLINK_SUPPORT): Likewise.
66090         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66091         (__no_netlink_support): Remove conditional definition.
66092         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66093         Remove.
66094         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66095         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66096         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66097         (if_nameindex_ioctl): Remove.
66098         (if_nameindex_netlink): Do not handle __no_netlink_support.
66099         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66100         code.
66101         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66102         Remove conditional code.
66103         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66104         code.
66105         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66106         unconditional.
66107         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66108         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66109         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66110         Remove.
66111         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66112         [!__ASSUME_STD_AUXV]: Remove conditional code.
66113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66114         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66115         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66117         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66118         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66119         code.
66120         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66122         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66123         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66124         conditional code.
66125         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66127         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66128         code.
66129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66130         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66131         conditional code.
66132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66133         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66134         code unconditional.
66135         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66136         conditional code.
66137         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66138         unconditional.
66139         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66140         conditional code.
66141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66142         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66143         unconditional.
66144         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66145         conditional code.
66146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66147         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66148         code unconditional.
66149         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66150         conditional code.
66151         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66152         unconditional.
66153         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66154         conditional code.
66155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66156         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66157         code unconditional.
66158         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66159         conditional code.
66160         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66161         unconditional.
66162         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66163         conditional code.
66165 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66167         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66168         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66169         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66170         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66171         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66172         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66173         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66174         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66175         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66176         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66177         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66178         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66179         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66180         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66181         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66182         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66183         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66184         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66185         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66187         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66188         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66189         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66191 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66193         * Versions.def: Add GLIBC_2.17.
66194         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66195         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66196         Introduce __libc_secure_getenv.
66197         * stdlib/Versions (2.17): Add secure_getenv
66198         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66199         * stdlib/secure-getenv.c: Rename __secure_getenv to
66200         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66201         symbol __secure_getenv for GLIBC_2.0.
66202         * stdlib/tst-secure-getenv.c: New.
66203         * stdlib/Makefile (tests): Add testcase.
66204         * manual/startup.texi (Environment Access): Document
66205         secure_getenv.
66206         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66207         __libc_secure_getenv.
66208         * inet/ruserpass.c (ruserpass): Likewise.
66209         * malloc/mtrace.c (mtrace): Likewise.
66210         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66211         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66212         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66213         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66214         HAVE_SECURE_GETENV.
66215         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66216         __secure_getenv to __libc_secure_getenv.
66217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66219         Likewise.
66220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66221         Likewise.
66222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66230 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66232         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66233         (struct La_i86_retval): Likewise.
66234         (struct La_x86_64_regs): Likewise.
66235         (struct La_x86_64_retval): Likewise.
66236         (struct La_x32_regs): Likewise.
66237         (struct La_x32_retval): Likewise.
66238         (struct La_ppc32_regs): Likewise.
66239         (struct La_ppc32_retval): Likewise.
66240         (struct La_ppc64_regs): Likewise.
66241         (struct La_ppc64_retval): Likewise.
66242         (struct La_sh_regs): Likewise.
66243         (struct La_sh_retval): Likewise.
66244         (struct La_s390_32_regs): Likewise.
66245         (struct La_s390_32_retval): Likewise.
66246         (struct La_s390_64_regs): Likewise.
66247         (struct La_s390_64_retval): Likewise.
66248         (struct La_sparc32_regs): Likewise.
66249         (struct La_sparc32_retval): Likewise.
66250         (struct La_sparc64_regs): Likewise.
66251         (struct La_sparc64_retval): Likewise.
66252         (struct audit_ifaces): Remove architecture-specific pltenter and
66253         pltexit members.
66254         * sysdeps/i386/ldsodefs.h: New file.
66255         * sysdeps/powerpc/ldsodefs.h: Likewise.
66256         * sysdeps/s390/ldsodefs.h: Likewise.
66257         * sysdeps/sh/ldsodefs.h: Likewise.
66258         * sysdeps/sparc/ldsodefs.h: Likewise.
66259         * sysdeps/x86_64/ldsodefs.h: Likewise.
66261 2012-07-25  Marek Polacek  <polacek@redhat.com>
66263         [BZ #6808]
66264         * math/libm-test.inc (yn_test): Add another test.
66265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66266         to ERANGE when the result is +-Inf.
66267         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66268         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66269         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66270         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66272 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66274         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66275         equal to 0.
66276         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66277         clock_t.
66278         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66280 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66282         * configure.in <sysdeps resolving>: Correct printing
66283         Implies_before.
66284         * configure: Regenerate.
66286 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66288         * math/w_ilogb.c: Include <limits.h>.
66289         * math/w_ilogbl.c: Likewise.
66291 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66293         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66294         va_copy.  Document allowing for unavailable va_copy only as
66295         pre-C99 compatibility.
66296         * manual/string.texi (Copying and Concatenation): Use va_copy
66297         instead of __va_copy in concat example.
66299 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66301         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66302         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66303         it if not null.
66305         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66306         with O_NOLINK passed to __file_name_lookup.
66308         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66309         with O_NOLINK passed to __file_name_lookup.
66311         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66312         negative N or less than NGIDS.
66314         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66315         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66316         enough.  Use memcpy instead of strncpy.
66318 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66320         * elf/Makefile (check-data): Remove.
66321         (localplt.data): New vpath directive.
66322         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66323         instead of $(check-data).
66324         * scripts/data/localplt-generic.data: Move to ...
66325         * sysdeps/generic/localplt.data: ... here.
66326         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66327         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66328         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66330         ... here.
66331         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66333         ... here.
66334         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66336         ... here.
66337         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66339         ... here.
66340         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66342         ... here.
66343         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66345         ... here.
66347 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66349         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66350         PPC32 and PPC64 files.
66351         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66352         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66354 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66356         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66357         __makecontext_ret to ...
66358         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66359         ... here and call exit if uc_link is NULL.  New file.
66360         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66361         __makecontext_ret.S.
66362         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66363         __makecontext_ret to ...
66364         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66365         ... here and call exit if uc_link is NULL.  New file.
66366         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66367         __makecontext_ret.S.
66369 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66371         * elf/elf.h (R_390_IRELATIVE): New definition.
66372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66373         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66374         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66376         (elf_machine_lazy_rel): Likewise.
66377         * sysdeps/s390/dl-irel.h: New file.
66378         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66379         * sysdeps/s390/s390-64/memset.S: New asm code.
66380         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66381         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66382         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66383         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66384         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66385         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66386         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66387         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66388         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66389         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66390         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66391         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66392         * sysdeps/s390/s390-32/memset.S: New asm code.
66393         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66395 2012-07-17  Marek Polacek  <polacek@redhat.com>
66397         [BZ #14349]
66398         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66399         * sysdeps/s390/s390-64/configure.in: Likewise.
66400         * sysdeps/sparc/configure.in: Likewise.
66401         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66402         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66403         * sysdeps/i386/configure.in: Likewise.
66404         * sysdeps/x86_64/configure.in: Likewise.
66405         * sysdeps/sh/configure.in: Likewise.
66406         * sysdeps/s390/s390-32/configure: Regenerated.
66407         * sysdeps/s390/s390-64/configure: Likewise.
66408         * sysdeps/x86_64/configure: Likewise.
66409         * sysdeps/sh/configure: Likewise.
66410         * sysdeps/powerpc/powerpc64/configure: Likewise.
66411         * sysdeps/powerpc/powerpc32/configure: Likewise.
66412         * sysdeps/sparc/configure: Likwise.
66413         * sysdeps/i386/configure: Likewise.
66415         * elf/dl-open.c: Comment fixes.
66417 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66419         * Makefile [CXX] (check-data): Remove.
66420         [CXX] (c++-types.data): New vpath directive.
66421         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66422         vpath.  Do not allow for C++ type data being missing.
66423         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66424         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66425         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66426         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66427         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66428         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66429         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66431         ... here.
66432         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66434         ... here.
66435         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66437         ... here.
66438         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66440         ... here.
66441         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66443         ... here.
66444         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66446         ... here.
66447         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66449         ... here.
66450         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66453         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66454         definitions to architecture-specific files.
66455         (TLS_IE): Likewise.
66456         (TLS_LD): Likewise.
66457         (TLS_GD): Likewise.
66458         * sysdeps/i386/tls-macros.h: New file.
66459         * sysdeps/powerpc/tls-macros.h: Likewise.
66460         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66461         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66462         * sysdeps/sh/tls-macros.h: Likewise.
66463         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66464         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66465         * sysdeps/x86_64/tls-macros.h: Likewise.
66467 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66470         zero value for regular exit case.
66472         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66473         (__start_context): Preserve zero value for regular exit case.
66475 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66476             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66478         * manual/setjmp.texi (setcontext): Clarify normal process
66479         termination when uc_link is the null pointer.
66480         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66481         exit call.
66483 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66485         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66486         preprocessor.  Test for each exception mask separately.
66488 2012-07-16  Andreas Jaeger  <aj@suse.de>
66490         * po/ru.po: Update from translation team.
66492 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66494         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66495         equal to 0.
66496         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66497         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66498         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66499         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66500         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66502 2012-07-13  Andreas Jaeger  <aj@suse.de>
66504         * po/fr.po: Update from translation team.
66506 2012-07-12  Marek Polacek  <polacek@redhat.com>
66508         [BZ #14173]
66509         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66510         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66511         loop condition.
66513 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66515         [BZ #13717]
66516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66517         Change to 2.4.1 where previously 2.4.0.
66518         * sysdeps/unix/sysv/linux/configure: Regenerated.
66519         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66520         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66521         version.
66522         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66523         (__ASSUME_AT_CLKTCK): Remove.
66524         (__ASSUME_AT_PAGESIZE): Likewise.
66525         (__ASSUME_AT_XID): Likewise.
66526         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66527         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66528         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66529         unconditionally.
66530         (HAVE_AUX_PAGESIZE): Likewise.
66531         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66532         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66533         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66535 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66537         [BZ #14307]
66538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66539         the temporary buffer used to invoke __gethostbyname2_r,
66540         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66541         host_data / struct gaih_addrtuple.
66542         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66543         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66544         header file nss/nsswitch.h.
66545         * nss/nsswitch.h (global scope): Add definition of implementation
66546         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66547         resolv/nss_dns/dns-host.c).
66549 2012-07-11  Andreas Jaeger  <aj@suse.de>
66551         * po/fr.po: Update from translation team.
66553         * po/sv.po: Update from translation team
66554         * po/fr.po: Another update from translation team.
66556 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66559         for subnormals or multiply small sinh result by itself.
66560         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66563 2012-07-11  David S. Miller  <davem@davemloft.net>
66565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66567 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66569         [BZ #14347]
66570         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66571         (INTERNAL_MARK): Shift it here.
66573 2012-07-10  Marek Polacek  <polacek@redhat.com>
66575         [BZ #14151]
66576         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66577         libc_cv_asm_global_directive with .globl.
66578         * configure: Regenerated.
66579         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66580         with .globl.
66581         * sysdeps/i386/configure: Regenerated.
66582         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66583         with .globl.
66584         * sysdeps/x86_64/configure: Regenerated.
66585         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66586         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66587         * elf/tst-unique2mod2.c: Likewise.
66588         * elf/tst-unique2mod1.c: Likewise.
66589         * elf/tst-unique1mod2.c: Likewise.
66590         * elf/tst-unique1mod1.c: Likewise.
66591         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66592         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66593         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66594         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66595         * sysdeps/mach/sysdep.h: Likewise.
66596         * sysdeps/i386/sysdep.h: Likewise.
66597         * sysdeps/i386/i386-mcount.S: Likewise.
66598         * sysdeps/x86_64/_mcount.S: Likewise.
66599         * sysdeps/x86_64/sysdep.h: Likewise.
66600         * sysdeps/sh/_mcount.S: Likewise.
66601         * sysdeps/sh/sysdep.h: Likewise.
66602         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66603         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66604         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66605         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66606         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66607         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66608         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66609         * locale/localeinfo.h: Likewise.
66610         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66611         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66613 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66615         [BZ #14336]
66616         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66617         system".
66618         * manual/message.texi (The Uniforum approach): Likewise.
66619         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66620         (glibc iconv Implementation): Likewise.
66622 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66624         [BZ #14337]
66625         * math/s_clog.c (__clog): Avoid scaling a value down where that
66626         could result in underflow.
66627         * math/s_clog10.c (__clog10): Likewise.
66628         * math/s_clog10f.c (__clog10f): Likewise.
66629         * math/s_clog10l.c (__clog10l): Likewise.
66630         * math/s_clogf.c (__clogf): Likewise.
66631         * math/s_clogl.c (__clogl): Likewise.
66632         * math/libm-test.inc (clog_test): Add more tests.
66633         (clog10_test): Likewise.
66634         * sysdeps/i386/fpu/libm-test-ulps: Update.
66635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66637 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66639         [BZ #14283]
66640         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66641         by 7 not 8 to examine high bit of fractional part.
66643         [BZ #14042]
66644         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66645         for call to __mcount_internal.
66646         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66647         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66648         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66650 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66652         [BZ #14154]
66653         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66654         approximation for values within 0x1p-13f of an odd multiple of
66655         pi/4.
66656         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66657         exception.  Add more tests.
66658         * sysdeps/i386/fpu/libm-test-ulps: Update.
66660         [BZ #6778]
66661         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66662         inputs and return -1 for them.  Do not check for +Inf in case not
66663         reachable for +Inf.
66664         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66665         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66666         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66667         and return -1 for them.  Do not check for +Inf in case not
66668         reachable for +Inf.
66669         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66670         define.
66671         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66672         and return -1 for them.  Do not check for +Inf in case not
66673         reachable for +Inf.
66674         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66675         spurious underflow.
66676         * sysdeps/i386/fpu/libm-test-ulps: Update.
66677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66679 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66681         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66683 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66685         [BZ #14157]
66686         [BZ #14331]
66687         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66688         could result in spurious underflow.  Scale down values above
66689         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66690         * math/s_csqrtf.c (__csqrtf): Likewise.
66691         * math/s_csqrtl.c (__csqrtl): Likewise.
66692         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66693         spurious underflow.
66694         * sysdeps/i386/fpu/libm-test-ulps: Update.
66695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66697 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66699         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66700         xopen-msg.sed.
66701         * catgets/xopen-msg.awk: New file.
66702         * catgets/xopen-msg.sed: Removed.
66704         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66705         po2text.sed.
66706         * intl/po2test.awk: New file.
66707         * intl/po2test.sed: Removed.
66709 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66711         [BZ #14328]
66712         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66713         or multiply small sinh result by itself.
66714         * math/s_ctanf.c (__ctanf): Likewise.
66715         * math/s_ctanh.c (__ctanh): Likewise.
66716         * math/s_ctanhf.c (__ctanhf): Likewise.
66717         * math/s_ctanhl.c (__ctanhl): Likewise.
66718         * math/s_ctanl.c (__ctanl): Likewise.
66719         * math/libm-test.inc (ctan_test_tonearest): New function.
66720         (ctan_test_towardzero): Likewise.
66721         (ctan_test_downward): Likewise.
66722         (ctan_test_upward): Likewise.
66723         (ctanh_test_tonearest): Likewise.
66724         (ctanh_test_towardzero): Likewise.
66725         (ctanh_test_downward): Likewise.
66726         (ctanh_test_upward): Likewise.
66727         (main): Call these new functions.
66728         * sysdeps/i386/fpu/libm-test-ulps: Update.
66729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66731 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66733         * .gitignore: Delete /ports entry.
66735 2012-07-03  Andreas Jaeger  <aj@suse.de>
66737         * po/bg.po: Update from translation team.
66738         * po/cs.po: Likewise.
66739         * po/de.po: Likewise.
66740         * po/hr.po: Likewise.
66741         * po/nl.pl: Likewise.
66742         * po/pl.po: Likewise.
66743         * po/vi.po: Likewise.
66745 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66747         * Makeconfig [!+link] (+link-before-libc): New variable.
66748         [!+link] (+link-after-libc): Likewise.
66749         [!+link] (+link-tests): Likewise.
66750         [!+link] (+link): Define in terms of $(+link-before-libc) and
66751         $(+link-after-libc).
66752         [!+link-static] (+link-static-before-libc): New variable.
66753         [!+link-static] (+link-static-after-libc): Likewise.
66754         [!+link-static] (+link-static-tests): Likewise.
66755         [!+link-static] (+link-static): Define in terms of
66756         $(+link-static-before-libc) and $(+link-static-after-libc).
66757         [build-shared] (link-libc-before-gnulib): New variable.
66758         [build-shared] (link-libc-tests): Likewise.
66759         [build-shared] (link-libc): Define in terms of
66760         $(link-libc-before-gnulib).
66761         [!build-shared] (link-libc-tests): New variable.
66762         (link-libc-static-tests): New variable.
66763         [!gnulib] (gnulib-arch): New variable.
66764         [!gnulib] (gnulib-tests): Likewise.
66765         [!gnulib] (static-gnulib-arch): Likewise.
66766         [!gnulib] (static-gnulib-tests): Likewise.
66767         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66768         Define with "=" instead of ":=".
66769         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66770         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66771         * Rules (binaries-all-notests): New variable.
66772         (binaries-all-tests): Likewise.
66773         (binaries-static-notests): Likewise.
66774         (binaries-static-tests): Likewise.
66775         (binaries-all): Define using $(binaries-all-notests) and
66776         $(binaries-all-tests).
66777         (binaries-static): Define using $(binaries-static-notests) and
66778         $(binaries-static-tests).
66779         (binaries-shared-tests): New variable.
66780         (binaries-shared-notests): Likewise.
66781         (binaries-shared): Remove variable.
66782         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66783         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66784         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66785         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66786         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66787         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66788         * elf/Makefile (sln-modules): New variable.
66789         (extra-objs): Add $(sln-modules:=.o).
66790         (ldconfig-modules): Add static-stubs.
66791         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66792         * elf/static-stubs.c: New file.
66794         [BZ #14283]
66795         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66796         by 7 not 8 to examine high bit of fractional part.  Use volatile
66797         variables when splitting into final array of floats if
66798         __FLT_EVAL_METHOD__ != 0.
66799         * math/libm-test.inc (cos_test): Add another test.
66800         (sin_test): Likewise.
66801         * sysdeps/i386/fpu/libm-test-ulps: Update.
66803         [BZ #14273]
66804         * math/libm-test.inc (cosh_test): Add more tests.
66806         * version.h (RELEASE): Set to "development".
66807         (VERSION): Set to "2.16.90".
66809 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66811         * NEWS: Update copyright. Remove last-updated date.
66812         Mention math library bug fixes and timezone data changes.
66813         * README: Mention GNU/Hurd, x32, and HPPA support status.
66815 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66817         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66819 2012-06-27  Andreas Jaeger  <aj@suse.de>
66821         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66823 2012-06-25  Andreas Jaeger  <aj@suse.de>
66825         * sysdeps/s390/fpu/libm-test-ulps: Update.
66827 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66828             Thomas Schwinge  <thomas@codesourcery.com>
66830         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66831         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66833         fanotify_mark.
66835 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66837         * sysdeps/mach/start.c: Remove file.
66838         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66839         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66840         * sysdeps/sh/init-first.c: Likewise.
66842         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66843         registers for frame unwinding purposes, add CFI directives.
66844         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66845         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66846         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66847         Likewise.
66849         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66850         __fortify_fail returning.
66851         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66853         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66854         sysdeps/sh/____longjmp_chk.S.
66855         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66856         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66857         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66858         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66860         * sysdeps/sh/abort-instr.h: New file.
66861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66862         process in case exit returns.
66864         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66865         initialize the GOT register before use.
66867         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66868         calculation of ARGC > 4.
66870         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66871         meaningful names to some local labels.
66873 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66874             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66876         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66877         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66878         (__arch_compare_and_exchange_val_16_acq): Likewise.
66879         (__arch_compare_and_exchange_val_32_acq): Likewise.
66880         (atomic_exchange_and_add): Fix gUSA sequence.
66881         (atomic_add): Likewise.
66882         (atomic_add_negative): Likewise.
66883         (atomic_add_zero): Likewise.
66884         (atomic_bit_test_set): Likewise.
66886 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66888         [BZ #13579]
66889         * include/link.h (struct link_map): Add l_free_initfini.
66890         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66891         l_initfini.
66892         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66893         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66894         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66895         set.
66897 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66899         * configure.in: Use AC_LANG_SOURCE.
66900         * configure: Regenerate.
66902 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66904         * configure.in (libc_cv_localstatedir): New substituted variable.
66905         * configure: Regenerated.
66906         * config.make.in (localstatedir): New variable, substituted from
66907         libc_cv_localstatedir.
66908         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66909         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66910         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66911         * sysdeps/gnu/configure: Regenerated.
66913 2012-06-21  Jeff Law  <law@redhat.com>
66915         [BZ #14277]
66916         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66917         free.  Simplify list management for _LIBC case.
66919 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66921         [BZ #14273]
66922         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66923         Clear sign bit of 64-bit integer value before comparing against
66924         overflow value.
66926         * sysdeps/mach/configure: Regenerated.
66928 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66930         [BZ #14278]
66931         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66933 2012-06-21  Jeff Law  <law@redhat.com>
66935         [BZ #13882]
66936         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66937         uint16_t for elements in the "seen" array to avoid char overflows.
66938         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66939         * elf/dl-open.c (dl_open_worker): Likewise.
66941 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66943         * scripts/list-sources.sh: Scan PORTS for translations.
66944         * po/libc.pot: Regenerated.
66946 2012-06-21  Andreas Jaeger  <aj@suse.de>
66948         [BZ #12194]
66949         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66950         warning.
66951         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66952         * bits/byteswap-16.h (__bswap_16): Likewise.
66953         * bits/byteswap.h (__bswap_constant_16): Likewise.
66955 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66957         [BZ #14117]
66958         * sysdeps/i386/fpu_control.h: Removed.
66959         * sysdeps/x86_64/fpu_control.h: Moved to ...
66960         * sysdeps/x86/fpu_control.h: Here.
66962         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66963         (_FPU_SETCW): Likewise.
66965 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66967         [BZ #14117]
66968         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66969         * sysdeps/x86/fpu/bits/mathinline.h: This.
66970         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66972         [BZ #14050]
66973         [BZ #14117]
66974         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66975         functions if __x86_64__ is defined.
66977 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66979         * string/endian.h: Add !__ASSEMBLER__ condition for including
66980         conversion interfaces.
66982 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66984         [BZ #14241]
66985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66986         of ABS(x) in calculating zero to negative powers other than odd
66987         integers.
66988         * math/libm-test.inc (pow_test): Add more tests.
66990 2012-06-15  Andreas Jaeger  <aj@suse.de>
66992         * manual/contrib.texi (Contributors): Update entry of Liubov
66993         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66994         Machado Filho.
66996 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66998         * string/string.h: Add __wur to GNU version of strerror_r.
67000 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67002         [BZ #14229]
67003         * string/Makefile (tests): Add tst-strtok_r.
67004         * string/tst-strtok_r.c: New file.
67005         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67006         RAX_LP/RDX_LP on SAVE_PTR.
67008 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67010         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67012 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67014         * libm_test.inc (csqrt_test): Allow more spurious underflow
67015         exceptions.
67016         (j0_test): Likewise.
67017         (j1_test): Likewise.
67018         (y0_test): Likewise.
67019         (y1_test): Likewise.
67021 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67023         * po/Makefile (libc.pot): Use UTF-8 charset.
67025 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67027         [BZ #14210]
67028         Suppress sign-conversion warning from FD_SET.
67029         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67030         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67031         not unsigned long int.
67032         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67034 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67036         [BZ #14050]
67037         [BZ #14117]
67038         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67039         __extern_always_inline instead of __extern_inline.
67040         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67041         (__signbit): Likewise.
67042         (__signbitl): Support C++ namespace.
67043         (lrintf): New inline function.
67044         (lrint): Likewise.
67045         (llrintf): Likewise.
67046         (llrint): Likewise.
67047         (fmaxf): Likewise.
67048         (fmax): Likewise.
67049         (fminf): Likewise.
67050         (fmin): Likewise.
67051         (rint): Likewise.
67052         (rintf): Likewise.
67053         (ceil): Likewise.
67054         (ceilf): Likewise.
67055         (floor): Likewise.
67056         (floorf): Likewise.
67057         (nearbyint): Likewise.
67058         (nearbyintf): Likewise.
67060 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67062         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67063         non-default versions.
67065 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67067         [BZ #14218]
67068         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67070 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67072         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67073         (FE_UPWARD, FE_DOWNWARD): Don't define.
67074         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67075         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67077         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67078         reading it.
67079         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67080         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67082 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67084         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67086         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67087         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67089 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67091         [BZ #14117]
67092         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67093         * sysdeps/i386/fpu/Implies: New file.
67094         * sysdeps/x86_64/fpu/Implies: Likewise.
67095         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67096         * sysdeps/x86/fpu/bits/fenv.h: This.
67098         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67099         __SSE_MATH__.
67101 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67103         [BZ #14134]
67104         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67105         character 0xffff that matches the last element of the
67106         conversion table.
67108 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67111         fmodl commit.
67113 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67116         values higher than 25.6283.
67118 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67120         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67121         subnormal exponent extraction and add some __builtin_expect.
67122         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67123         Fix for subnormal mantissa calculation.
67125 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67127         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67128         cpu2 is -1 and errno is not ENOSYS.
67130 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67132         [BZ #14117]
67133         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67134         * sysdeps/x86/bits/string.h: This.
67135         * sysdeps/x86_64/bits/string.h: Removed.
67137         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67138         if not compiling for x86-64, but compiling for >= i486.
67140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67141         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67143         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67144         New macro from Linux kernel 3.4.0.
67145         (FP_XSTATE_MAGIC2): Likewise.
67146         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67147         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67148         (struct _fpx_sw_bytes): New struct.
67149         (struct _xsave_hdr): Likewise.
67150         (struct _ymmh_state): Likewise.
67151         (struct _xstate): Likewise.
67153         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67154         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67155         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67156         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67157         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67158         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67160         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67161         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67162         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67163         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67164         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67165         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67167 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67169         [BZ #13743]
67170         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67171         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67172         (sysdep_headers): Include sys/platform/ppc.h.
67173         * sysdeps/powerpc/test-gettimebase.c: Test for
67174         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67175         * manual/Makefile (appendices): Include platform.texi.
67176         * manual/contrib.texi (Contributors): Update @node pointers.
67177         * manual/maint.texi (Maintenance): Likewise.
67178         (Platform): New node.
67179         * manual/platform.texi: New file.  Document the new features.
67181 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67182             Jakub Jelinek  <jakub@redhat.com>
67184         [BZ #14188]
67185         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67186         where __builtin_expect is unavailable.
67188 2012-06-03  David S. Miller  <davem@davemloft.net>
67190         * stdlib/longlong.h: Updated from GCC.
67192 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67194         [BZ #14042]
67195         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67196         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67197         __mcount_internal.
67198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67199         (GLIBC_2.16): Likewise.
67201 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67203         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67205 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67208         (default-abi): New variable.
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67210         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67211         variable.
67212         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67213         Likewise.
67214         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67215         Likewise.
67216         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67217         Likewise.
67219         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67220         definition.  Document in comment.
67222 2012-06-01  David S. Miller  <davem@davemloft.net>
67224         * stdlib/longlong.h: Updated from GCC.
67226 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67228         [BZ #14117]
67229         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67230         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67231         sys/debugreg.h sys/io.h here.
67232         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67233         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67234         sys/io.h.
67235         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67236         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67237         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67238         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67239         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67240         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67242         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67243         Define only if __x86_64__ is defined.
67245 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67247         [BZ #14048]
67248         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67249         Use int64_t for variable i.
67250         * math/libm-test.inc (fmod_test): Add more tests.
67252         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67253         z computation is not scheduled after fetestexcept.
67254         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67255         Use math_force_eval instead of asm to ensure calculation scheduled
67256         before exception test.
67257         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67258         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67260 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67263         computation is not scheduled after fetestexcept.
67265 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67267         [BZ #14117]
67268         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67269         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67271 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67273         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67274         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67276 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67278         [BZ #14117]
67279         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67280         <bits/wordsize.h>.
67281         (__WCHAR_MIN): Support __WORDSIZE == 64.
67282         (__WCHAR_MAX): Likewise.
67284         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67287         [BZ #14183]
67288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67289         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67291         [BZ #14117]
67292         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67293         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67296         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67298         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67299         Defined to 1 if __x86_64__ isn't defined.
67300         (_STAT_VER_LINUX_OLD): New.
67301         (st_atime): Remove duplicate.
67302         (st_mtime): Likewise.
67303         (st_ctime): Likewise.
67305 2012-05-31  David S. Miller  <davem@davemloft.net>
67307         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67308         entries.
67310 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67312         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67313         gen-libm-test.pl.
67315         [BZ #14132]
67316         * elf/dl-reloc.c: Include <_itoa.h>.
67317         (_dl_reloc_bad_type): Remove use of INTUSE.
67318         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67319         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67320         * stdio-common/psiginfo.c (psiginfo): Likewise.
67321         * stdio-common/psignal.c (psignal): Likewise.
67322         * string/strsignal.c (strsignal): Likewise.
67323         * include/signal.h (_sys_siglist): Declare hidden proto.
67324         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67325         INTVARDEF with libc_hidden_data_def.
67326         * stdio-common/itoa-udigits.c: Likewise.
67327         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67328         (_itoa_lower_digits_internal): Remove declaration.
67329         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67330         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67331         (_sys_sigabbrev_internal): Remove aliases.
67332         (_sys_siglist): Define hidden alias.
67334 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67337         bits/sysctl.h.
67339 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67341         [BZ #14117]
67342         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67343         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67345         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67346         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67347         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67348         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67349         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67350         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67352         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67353         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67354         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67356         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67357         with __addr.
67358         (insw): Likewise.
67359         (insl): Likewise.
67360         (outsb): Likewise.
67361         (outsw): Likewise.
67362         (outsl): Likewise.
67364         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67365         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67366         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67368         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67369         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67370         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67371         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67372         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67373         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67375         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67376         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67378         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67379         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67381         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67383         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67385         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67386         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67387         to ...
67388         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67390         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67391         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67392         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67394         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67395         for x86-64.
67396         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67398 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67400         * math/math.h (M_El): Use two more decimal places.
67401         (M_LOG2El): Likewise.
67402         (M_LOG10El): Likewise.
67403         (M_LN2l): Likewise.
67404         (M_LN10l): Likewise.
67405         (M_PIl): Likewise.
67406         (M_PI_2l): Likewise.
67407         (M_PI_4l): Likewise.
67408         (M_1_PIl): Likewise.
67409         (M_2_PIl): Likewise.
67410         (M_2_SQRTPIl): Likewise.
67411         (M_SQRT2l): Likewise.
67412         (M_SQRT1_2l): Likewise.
67414 2012-05-31  David S. Miller  <davem@davemloft.net>
67416         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67417         values between float registers.
67418         * sysdeps/sparc/sparc64/memset.S: Likewise.
67419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67421 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67423         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67424         -D_FORTIFY_SOURCE=1.
67425         (CPPFLAGS-tst-longjmp_chk.c): Define.
67426         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67427         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67428         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67429         CFLAGS-tst-wchar-h.c.
67431 2012-05-31  Marek Polacek  <polacek@redhat.com>
67433         [BZ #14132]
67434         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67435         __endmntent_internal): Remove declaration.
67436         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67437         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67438         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67440 2012-05-30  David S. Miller  <davem@davemloft.net>
67442         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67443         (___Q_simulate_exceptions): Use real FP ops rather than writing
67444         into the %fsr.
67445         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67446         Likewise.
67448 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67450         [BZ #14117]
67451         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67452         * sysdeps/x86/bits/xtitypes.h: This.
67454         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67455         * sysdeps/x86/bits/wordsize.h: This.
67457         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67458         * sysdeps/x86/bits/huge_vall.h: This.
67460         * sysdeps/i386/bits/select.h: Removed.
67461         * sysdeps/x86_64/bits/select.h: Renamed to ...
67462         * sysdeps/x86/bits/select.h: This.
67464         * sysdeps/i386/bits/setjmp.h: Removed.
67465         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67466         * sysdeps/x86/bits/setjmp.h: This.
67468         * sysdeps/i386/bits/mathdef.h: Removed.
67469         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67470         * sysdeps/x86/bits/mathdef.h: This.
67472 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67474         [BZ #14132]
67475         * include/sys/socket.h (__connect_internal)
67476         (__libc_sa_len_internal): Remove declaration.
67477         (__connect, __libc_sa_len): Declare hidden_proto.
67478         (SA_LEN): Remove use of INTUSE.
67479         * socket/connect.c: Add libc_hidden_def.
67480         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67481         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67482         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67483         alias.
67484         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67485         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67486         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67487         of adding _internal alias.
67489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67491         [BZ #14117]
67492         * sysdeps/i386/bits/link.h: Removed.
67493         * sysdeps/i386/bits/linkmap.h: Likewise.
67494         * sysdeps/x86_64/bits/link.h: Renamed to ...
67495         * sysdeps/x86/bits/link.h: This.
67496         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67497         * sysdeps/x86/bits/linkmap.h: This.
67499         * sysdeps/i386/bits/endian.h: Removed.
67500         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67501         * sysdeps/x86/bits/endian.h: This.
67503         * sysdeps/i386/bits/byteswap.h: Removed.
67504         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67505         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67506         * sysdeps/x86/bits/byteswap.h: This.
67507         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67508         * sysdeps/x86/bits/byteswap-16.h: This.
67509         * sysdeps/i386/Implies: Add x86.
67510         * sysdeps/x86_64/Implies: Likewise.
67512 2012-05-30  David S. Miller  <davem@davemloft.net>
67514         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67515         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67516         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67517         (FP_TRAPPING_EXCEPTIONS): Define.
67518         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67519         (FP_TRAPPING_EXCEPTIONS): Define.
67520         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67521         subnormals only when inexact has been signalled or underflow
67522         exceptions are enabled.
67523         (_FP_PACK_CANONICAL): Likewise.
67525 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67527         [BZ #14183]
67528         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67529         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67531 2012-05-30  Richard Henderson  <rth@twiddle.net>
67533         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67534         with #ifndef NOT_IN_libc.
67536         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67537         marked to avoid plt entry.
67539 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67541         [BZ #14112]
67542         * Makeconfig (default-abi): New macro.
67543         (abi-includes): Likewise.
67544         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67545         $(abi-$(default-abi)-lib-soname) for soname if defined.
67546         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67547         abi-variants.
67548         * Makefile (installed-stubs): Likewise.
67549         * include/stubs-biarch.h: Removed.
67550         * scripts/lib-names.awk: Only handle one library at a time.
67551         * scripts/soversions.awk: Remove WORDSIZE support.
67552         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67553         entries.
67554         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67555         Removed.
67556         (syscall-list-default-condition): Likewise.
67557         (syscall-list-default-condition): Likewise.
67558         (syscall-list-includes): Likewise.
67559         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67560         syscall-list-* with abi-*.  Handle undefined abi-variants.
67561         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67562         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67563         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67564         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67565         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67566         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67567         Removed.
67568         (syscall-list-32-options): Likewise.
67569         (syscall-list-32-condition): Likewise.
67570         (syscall-list-64-options): Likewise.
67571         (syscall-list-64-condition): Likewise.
67572         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67573         macro.
67574         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67575         Renamed to ...
67576         (abi-*): This.
67577         (abi-64-ld-soname): New macro.
67578         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67579         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67580         Renamed to ...
67581         (abi-*): This.
67582         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67583         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67585 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67587         * sysdeps/unix/sysv/linux/kernel-features.h
67588         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67589         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67590         include <kernel-features.h>.
67591         [!__NR_ftruncate64]: Remove conditional code.
67592         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67593         [__NR_ftruncate64]: Make code unconditional.
67594         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67595         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67596         include <kernel-features.h>.
67597         [!__NR_ftruncate64]: Remove conditional code.
67598         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67599         [__NR_ftruncate64]: Make code unconditional.
67600         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67602         include <kernel-features.h>.
67603         [!__NR_ftruncate64]: Remove conditional code.
67604         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67605         [__NR_ftruncate64]: Make code unconditional.
67606         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67608         include <kernel-features.h>.
67609         [!__NR_ftruncate64]: Remove conditional code.
67610         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67611         [__NR_ftruncate64]: Make code unconditional.
67612         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67614         * configure.in (libc_cv_fpie): Weaken to a compile test using
67615         LIBC_TRY_CC_OPTION.
67616         * configure: Regenerated.
67618 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67624         Refreshed.
67625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67631         Refreshed.
67633 2012-05-27  David S. Miller  <davem@davemloft.net>
67635         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67636         (___Q_zero): New.
67637         (__Q_simulate_exceptions): Return void.  Change to simulate
67638         exceptions by writing into the %fsr.
67639         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67640         (__Qp_handle_exceptions): Likewise.
67641         (numbers): Delete.
67642         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67643         __Qp_handle_exceptions.
67644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67645         __Qp_handle_exceptions.
67646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67647         as unused and give dummy FP_RND_NEAREST initializer.
67648         (FP_INHIBIT_RESULTS): Define.
67649         (___Q_simulate_exceptions): Update declaration.
67650         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67651         formatting.
67652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67653         as unused and give dummy FP_RND_NEAREST initializer.
67654         (__Qp_handle_exceptions): Update declaration.
67655         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67656         formatting.
67658 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67660         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67661         the temporary FPU control word.
67662         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67663         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67665         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67666         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67667         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67668         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67669         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67670         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67671         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67672         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67674 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67676         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67677         fields.
67679 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67681         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67682         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67683         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67684         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67685         Likewise.
67686         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67687         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67688         Likewise.
67690 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67692         * po/h.po: Update from translation team.
67694 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67696         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67698         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67699         handling of denormals.
67700         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67701         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67702         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67703         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67706         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67707         Likewise.
67709 2012-05-26  Marek Polacek  <polacek@redhat.com>
67711         [BZ #14152]
67712         * math/libm-test.inc (fma_test): Don't always expect underflow
67713         exception.
67715 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67717         [BZ #12416]
67718         * elf/tst-execstack.c: Include stackinfo.h.
67719         (do_test): Adjust test case to ensure that pthread_getattr_np
67720         behaviour remains the same after marking stack executable.
67722 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67724         * sysdeps/unix/sysv/linux/kernel-features.h
67725         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67726         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67727         kernel-features.h.
67728         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67729         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67730         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67731         kernel-features.h.
67732         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67733         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67735 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67737         * configure.in: Define the default includes to being none.
67738         * configure: Regenerated.
67740 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67742         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67743         * sysdeps/x86_64/setjmp.S: Likewise.
67744         * sysdeps/i386/bsd-setjmp.S: Likewise.
67745         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67746         * sysdeps/i386/setjmp.S: Likewise.
67747         * sysdeps/i386/__longjmp.S: Likewise.
67748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67749         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67751         * include/stap-probe.h: New file.
67752         * configure.in: Handle --enable-systemtap.
67753         * configure: Regenerated.
67754         * config.h.in (USE_STAP_PROBE): New #undef.
67755         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67756         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67757         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67759 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67761         [BZ #13717]
67762         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67763         to 2.4.0 where earlier.
67764         * sysdeps/unix/sysv/linux/configure: Regenerated.
67765         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67766         <kernel-features.h>.
67767         [__ASSUME_32BITUIDS]: Make code unconditional.
67768         [!__ASSUME_32BITUIDS]: Remove conditional code.
67769         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67770         <kernel-features.h>.
67771         [__ASSUME_32BITUIDS]: Make code unconditional.
67772         [!__ASSUME_32BITUIDS]: Remove conditional code.
67773         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67774         [__ASSUME_32BITUIDS]: Make code unconditional.
67775         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67776         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67777         <kernel-features.h>.
67778         [__ASSUME_32BITUIDS]: Make code unconditional.
67779         [!__ASSUME_32BITUIDS]: Remove conditional code.
67780         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67781         <kernel-features.h>.
67782         [__ASSUME_32BITUIDS]: Make code unconditional.
67783         [!__ASSUME_32BITUIDS]: Remove conditional code.
67784         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67785         <kernel-features.h>.
67786         [__ASSUME_32BITUIDS]: Make code unconditional.
67787         [!__ASSUME_32BITUIDS]: Remove conditional code.
67788         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67789         <kernel-features.h>.
67790         [__ASSUME_32BITUIDS]: Make code unconditional.
67791         [!__ASSUME_32BITUIDS]: Remove conditional code.
67792         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67793         <kernel-features.h>.
67794         [__ASSUME_32BITUIDS]: Make code unconditional.
67795         [!__ASSUME_32BITUIDS]: Remove conditional code.
67796         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67797         <kernel-features.h>.
67798         [__ASSUME_32BITUIDS]: Make code unconditional.
67799         [!__ASSUME_32BITUIDS]: Remove conditional code.
67800         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67801         <kernel-features.h>.
67802         [__ASSUME_32BITUIDS]: Make code unconditional.
67803         [!__ASSUME_32BITUIDS]: Remove conditional code.
67804         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67805         <kernel-features.h>.
67806         [__ASSUME_32BITUIDS]: Make code unconditional.
67807         [!__ASSUME_32BITUIDS]: Remove conditional code.
67808         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67809         <kernel-features.h>.
67810         [__ASSUME_32BITUIDS]: Make code unconditional.
67811         [!__ASSUME_32BITUIDS]: Remove conditional code.
67812         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67813         <kernel-features.h>.
67814         [__ASSUME_32BITUIDS]: Make code unconditional.
67815         [!__ASSUME_32BITUIDS]: Remove conditional code.
67816         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67817         <kernel-features.h>.
67818         [__NR_setresgid] (__setresgid): Do not declare.
67819         [__ASSUME_32BITUIDS]: Make code unconditional.
67820         [!__ASSUME_32BITUIDS]: Remove conditional code.
67821         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67822         <kernel-features.h>.
67823         [__NR_setresuid] (__setresuid): Do not declare.
67824         [__ASSUME_32BITUIDS]: Make code unconditional.
67825         [!__ASSUME_32BITUIDS]: Remove conditional code.
67826         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67827         <kernel-features.h>.
67828         [__ASSUME_32BITUIDS]: Make code unconditional.
67829         [!__ASSUME_32BITUIDS]: Remove conditional code.
67830         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67831         <kernel-features.h>.
67832         [__ASSUME_32BITUIDS]: Make code unconditional.
67833         [!__ASSUME_32BITUIDS]: Remove conditional code.
67834         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67835         <kernel-features.h>.
67836         [__ASSUME_32BITUIDS]: Make code unconditional.
67837         [!__ASSUME_32BITUIDS]: Remove conditional code.
67838         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67839         <kernel-features.h>.
67840         [__ASSUME_32BITUIDS]: Make code unconditional.
67841         [!__ASSUME_32BITUIDS]: Remove conditional code.
67842         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67843         <kernel-features.h>.
67844         [__ASSUME_32BITUIDS]: Make code unconditional.
67845         [!__ASSUME_32BITUIDS]: Remove conditional code.
67846         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67847         <kernel-features.h>.
67848         [__ASSUME_32BITUIDS]: Make code unconditional.
67849         [!__ASSUME_32BITUIDS]: Remove conditional code.
67850         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67851         <kernel-features.h>.
67852         [__ASSUME_32BITUIDS]: Make code unconditional.
67853         [!__ASSUME_32BITUIDS]: Remove conditional code.
67854         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67855         <kernel-features.h>.
67856         [__ASSUME_32BITUIDS]: Make code unconditional.
67857         [!__ASSUME_32BITUIDS]: Remove conditional code.
67858         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67859         <kernel-features.h>.
67860         [__ASSUME_32BITUIDS]: Make code unconditional.
67861         [!__ASSUME_32BITUIDS]: Remove conditional code.
67862         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67863         <kernel-features.h>.
67864         [__ASSUME_32BITUIDS]: Make code unconditional.
67865         [!__ASSUME_32BITUIDS]: Remove conditional code.
67866         * sysdeps/unix/sysv/linux/kernel-features.h
67867         (__ASSUME_SETRESUID_SYSCALL): Remove.
67868         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67869         (__ASSUME_32BITUIDS): Likewise.
67870         (__ASSUME_LDT_WORKS): Likewise.
67871         (__ASSUME_O_DIRECTORY): Likewise.
67872         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67873         architecture but not kernel version.
67874         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67875         (__ASSUME_MMAP2_SYSCALL): Likewise.
67876         (__ASSUME_STAT64_SYSCALL): Likewise.
67877         (__ASSUME_IPC64): Likewise.
67878         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67879         <kernel-features.h>.
67880         [__ASSUME_32BITUIDS]: Make code unconditional.
67881         [!__ASSUME_32BITUIDS]: Remove conditional code.
67882         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67883         <kernel-features.h>.
67884         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67885         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67886         132096]: Remove conditional code.
67887         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67888         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67889         <kernel-features.h>.
67890         [__ASSUME_32BITUIDS]: Make code unconditional.
67891         [!__ASSUME_32BITUIDS]: Remove conditional code.
67892         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67893         <kernel-features.h>.
67894         [__ASSUME_32BITUIDS]: Make code unconditional.
67895         [!__ASSUME_32BITUIDS]: Remove conditional code.
67896         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67897         <kernel-features.h>.
67898         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67899         unconditional.
67900         (__setresgid): Do not declare.
67901         [__ASSUME_32BITUIDS]: Make code unconditional.
67902         [!__ASSUME_32BITUIDS]: Remove conditional code.
67903         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67904         <kernel-features.h>.
67905         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67906         unconditional.
67907         (__setresuid): Do not declare.
67908         [__ASSUME_32BITUIDS]: Make code unconditional.
67909         [!__ASSUME_32BITUIDS]: Remove conditional code.
67910         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67911         <kernel-features.h>.
67912         [__ASSUME_32BITUIDS]: Make code unconditional.
67913         [!__ASSUME_32BITUIDS]: Remove conditional code.
67914         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67915         <kernel-features.h>.
67916         [__ASSUME_32BITUIDS]: Make code unconditional.
67917         [!__ASSUME_32BITUIDS]: Remove conditional code.
67919 2012-05-25  Richard Henderson  <rth@twiddle.net>
67921         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67922         dl_hwcap to ifunc resolver.
67923         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67924         elf_ifunc_invoke.
67925         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67926         dl_hwcap to ifunc resolver.
67927         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67929 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67931         [BZ #14153]
67932         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67933         for |x| <= 2**-26, not 2**-57.
67934         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67935         exception.
67937 2012-05-24  Jeff Law  <law@redhat.com>
67939         * stdio-common/Makefile (tests): Add bug25.
67940         * stdio-common/bug25.c: New test.
67942 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67944         [BZ #13576]
67945         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67946         multiple of MALLOC_ALIGNMENT in size.
67947         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67949 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67951         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67952         Require >= 256.
67953         (FILENAME_MAX): Use macro-int-constant.
67954         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67955         (_IOFBF): Use macro-int-constant.
67956         (_IOLBF): Likewise.
67957         (_IONBF): Likewise.
67958         (SEEK_CUR): Likewise.
67959         (SEEK_END): Likewise.
67960         (SEEK_SET): Likewise.
67961         (TMP_MAX): Likewise.
67962         (EOF): Use macro-int-constant.  Require < 0.
67963         (NULL): Use macro-constant.  Require == 0.
67964         (stdin): Require type to be FILE *.
67965         (stdout): Likewise.
67966         (stderr): Likewise.
67967         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67968         macro-int-constant.
67969         (EXIT_SUCCESS): Likewise.
67970         (NULL): Use macro-constant.  Require == 0.
67971         (RAND_MAX): Use macro-int-constant.
67972         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67973         [C99-based standards] (strtof): Require function.
67974         [C99-based standards] (strtold): Likewise.
67975         [C99-based standards] (strtoll): Likewise.
67976         [C99-based standards] (strtoull): Likewise.
67977         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67978         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67979         [ISO || ISO99 || ISO11] (math.h): Likewise.
67980         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67981         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67984 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67986         [BZ #14132]
67987         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67988         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67989         * intl/dgettext.c (DCGETTEXT): Likewise.
67990         * intl/gettext.c (DCGETTEXT): Likewise.
67991         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67992         * posix/regex_internal.h (gettext): Likewise.
67993         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67994         Remove declaration.
67995         * include/argz.h (__argz_count_internal)
67996         (__argz_stringify_internal): Remove declaration.
67997         (__argz_count, __argz_stringify): Declare hidden proto.
67998         * intl/dcgettext.c: Remove use of INTDEF.
67999         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68000         * string/argz-stringify.c: Likewise.
68001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68003         Declare hidden proto.
68004         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68005         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68006         Declare hidden proto.
68007         * include/stdio.h (__asprintf_internal): Don't declare.
68008         (__asprintf): Don't define as macro.  Declare hidden proto.
68009         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68010         (__fsetlocking): Declare hidden proto.
68011         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68012         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68013         hidden proto.
68014         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68015         (_IO_setlinebuf): Remove use of INTUSE.
68016         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68017         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68018         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68019         Remove declaration.
68020         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68021         (_IO_do_flush): Remove use of INTUSE.
68022         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68023         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68024         (_IO_adjust_column, _IO_least_wmarker)
68025         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68026         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68027         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68028         (_IO_default_doallocate, _IO_wdefault_doallocate)
68029         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68030         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68031         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68032         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68033         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68034         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68035         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68036         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68037         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68038         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68039         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68040         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68041         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68042         proto.
68043         (_IO_flush_all_internal, _IO_adjust_column_internal)
68044         (_IO_default_uflow_internal, _IO_default_finish_internal)
68045         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68046         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68047         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68048         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68049         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68050         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68051         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68052         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68053         (_IO_file_close_internal, _IO_file_close_it_internal)
68054         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68055         (_IO_file_init_internal, _IO_file_attach_internal)
68056         (_IO_file_fopen_internal, _IO_file_read_internal)
68057         (_IO_file_sync_internal, _IO_file_seek_internal)
68058         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68059         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68060         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68061         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68062         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68063         (_IO_list_all_internal, _IO_link_in_internal)
68064         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68065         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68066         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68067         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68068         (_IO_do_write_internal, _IO_padn_internal)
68069         (_IO_getline_info_internal, _IO_getline_internal)
68070         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68071         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68072         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68073         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68074         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68075         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68076         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68077         with libc_hidden_ver, remove use of INTUSE.
68078         * libio/genops.c: Likewise.
68079         * libio/freopen.c: Likewise.
68080         * libio/freopen64.c: Likewise.
68081         * libio/iofclose.c: Likewise.
68082         * libio/iofdopen.c: Likewise.
68083         * libio/iofflush.c: Likewise.
68084         * libio/iofflush_u.c: Likewise.
68085         * libio/iofgets.c: Likewise.
68086         * libio/iofgets_u.c: Likewise.
68087         * libio/iofopen.c: Likewise.
68088         * libio/iofopncook.c: Likewise.
68089         * libio/iofread.c: Likewise.
68090         * libio/iofread_u.c: Likewise.
68091         * libio/ioftell.c: Likewise.
68092         * libio/iofwrite.c: Likewise.
68093         * libio/iogetline.c: Likewise.
68094         * libio/iogets.c: Likewise.
68095         * libio/iogetwline.c: Likewise.
68096         * libio/iopadn.c: Likewise.
68097         * libio/iopopen.c: Likewise.
68098         * libio/ioseekoff.c: Likewise.
68099         * libio/ioseekpos.c: Likewise.
68100         * libio/iosetbuffer.c: Likewise.
68101         * libio/iosetvbuf.c: Likewise.
68102         * libio/ioungetc.c: Likewise.
68103         * libio/ioungetwc.c: Likewise.
68104         * libio/iovdprintf.c: Likewise.
68105         * libio/iovsprintf.c: Likewise.
68106         * libio/iovsscanf.c: Likewise.
68107         * libio/memstream.c: Likewise.
68108         * libio/obprintf.c: Likewise.
68109         * libio/oldfileops.c: Likewise.
68110         * libio/oldiofclose.c: Likewise.
68111         * libio/oldiofdopen.c: Likewise.
68112         * libio/oldiofopen.c: Likewise.
68113         * libio/oldiopopen.c: Likewise.
68114         * libio/oldstdfiles.c: Likewise.
68115         * libio/putc.c: Likewise.
68116         * libio/setbuf.c: Likewise.
68117         * libio/setlinebuf.c: Likewise.
68118         * libio/stdfiles.c: Likewise.
68119         * libio/strops.c: Likewise.
68120         * libio/vasprintf.c: Likewise.
68121         * libio/vscanf.c: Likewise.
68122         * libio/vsnprintf.c: Likewise.
68123         * libio/vswprintf.c: Likewise.
68124         * libio/wfiledoalloc.c: Likewise.
68125         * libio/wfileops.c: Likewise.
68126         * libio/wgenops.c: Likewise.
68127         * libio/wmemstream.c: Likewise.
68128         * libio/wstrops.c: Likewise.
68129         * libio/__fpurge.c: Likewise.
68130         * libio/__fsetlocking.c: Likewise.
68131         * assert/assert.c: Likewise.
68132         * debug/fgets_chk.c: Likewise.
68133         * debug/fgets_u_chk.c: Likewise.
68134         * debug/fread_chk.c: Likewise.
68135         * debug/fread_u_chk.c: Likewise.
68136         * debug/gets_chk.c: Likewise.
68137         * debug/obprintf_chk.c: Likewise.
68138         * debug/vasprintf_chk.c: Likewise.
68139         * debug/vdprintf_chk.c: Likewise.
68140         * debug/vsnprintf_chk.c: Likewise.
68141         * debug/vsprintf_chk.c: Likewise.
68142         * malloc/mtrace.c: Likewise.
68143         * misc/error.c: Likewise.
68144         * misc/syslog.c: Likewise.
68145         * stdio-common/asprintf.c: Likewise.
68146         * stdio-common/fxprintf.c: Likewise.
68147         * stdio-common/getw.c: Likewise.
68148         * stdio-common/isoc99_fscanf.c: Likewise.
68149         * stdio-common/isoc99_scanf.c: Likewise.
68150         * stdio-common/isoc99_vfscanf.c: Likewise.
68151         * stdio-common/isoc99_vscanf.c: Likewise.
68152         * stdio-common/isoc99_vsscanf.c: Likewise.
68153         * stdio-common/printf-prs.c: Likewise.
68154         * stdio-common/printf_fp.c: Likewise.
68155         * stdio-common/printf_fphex.c: Likewise.
68156         * stdio-common/printf_size.c: Likewise.
68157         * stdio-common/putw.c: Likewise.
68158         * stdio-common/scanf.c: Likewise.
68159         * stdio-common/sprintf.c: Likewise.
68160         * stdio-common/tmpfile.c: Likewise.
68161         * stdio-common/vfprintf.c: Likewise.
68162         * stdio-common/vfscanf.c: Likewise.
68163         * stdlib/strfmon_l.c: Likewise.
68164         * sunrpc/openchild.c: Likewise.
68165         * sunrpc/xdr_stdio.c: Likewise.
68166         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68167         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68169 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68171         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68173         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68174         in the third column, to generate for the shared library an IFUNC
68175         that uses _dl_vdso_vsym.
68176         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68177         * Makeconfig (object-suffixes-noshared): New variable.
68179         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68180         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68181         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68182         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68184         [BZ #14132]
68185         * include/sys/time.h (__gettimeofday): Remove macro.
68186         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68187         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68188         Remove INTDEF.
68189         (__gettimeofday): Add libc_hidden_def.
68190         (gettimeofday): Add libc_hidden_weak.
68191         * sysdeps/mach/gettimeofday.c: Likewise.
68192         * sysdeps/posix/gettimeofday.c: Likewise.
68193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68194         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68196         (__gettimeofday_internal): Remove strong_alias.
68197         (__gettimeofday): Add libc_hidden_def.
68198         (gettimeofday): Add libc_hidden_weak.
68199         * sysdeps/unix/syscalls.list (gettimeofday):
68200         Remove __gettimeofday_internal alias.
68202 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68203             H.J. Lu  <hongjiu.lu@intel.com>
68205         [BZ #12495]
68206         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68207         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68208         (largebin_index_32_big): New.
68209         (largebin_index): Use it for 16-byte alignment.
68210         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68211         correction with front_misalign.
68213 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68217         Likewise.
68218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68219         Likewise.
68220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68221         Likewise.
68222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68223         Likewise.
68224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68225         Likewise.
68226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68227         Likewise.
68228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68229         Likewise.
68230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68231         Likewise.
68232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68233         Likewise.
68234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68235         Likewise.
68236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68237         Likewise.
68238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68239         Likewise.
68241         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68242         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68244 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68246         [BZ #10846]
68247         [BZ #14036]
68248         * math/libm-test.inc (exp_test): Add test from bug 14036.
68249         (pow_test): Add test from bug 10846.
68251         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68252         and other flags.
68253         (special_function): Do not include flags in test name.
68254         (parse_args): Likewise.
68255         * sysdeps/i386/fpu/libm-test-ulps: Update.
68256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68257         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68258         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68261         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68262         exceptions.
68263         * math/libm-test.inc ("Philosophy"): Update comment about
68264         exception testing.
68265         (UNDERFLOW_EXCEPTION): New macro.
68266         (UNDERFLOW_EXCEPTION_OK): Likewise.
68267         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68268         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68269         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68270         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68271         (INVALID_EXCEPTION_OK): Update value.
68272         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68273         (OVERFLOW_EXCEPTION_OK): Likewise.
68274         (IGNORE_ZERO_INF_SIGN): Likewise.
68275         (test_exceptions): Handle underflow exceptions.
68276         (acos_test): Update for underflow exception expectations.
68277         (cexp_test): Likewise.
68278         (clog_test): Likewise.
68279         (clog10_test): Likewise.
68280         (csqrt_test): Likewise.
68281         (ctan_test): Likewise.
68282         (ctanh_test): Likewise.
68283         (exp_test): Likewise.
68284         (exp10_test): Likewise.
68285         (exp2_test): Likewise.
68286         (expm1_test): Likewise.
68287         (fma_test): Likewise.
68288         (j0_test): Likewise.
68289         (jn_test): Likewise.
68290         (nexttoward_test): Likewise.
68291         (pow_test): Likewise.
68292         (scalbn_test): Likewise.
68293         (scalbln_test): Likewise.
68294         (tan_test): Likewise.
68295         (y1_test): Likewise.
68296         * sysdeps/i386/fpu/libm-test-ulps: Update.
68297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68299 2012-05-23  David S. Miller  <davem@davemloft.net>
68301         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68302         (__libc_sigaction): Remove unused local variables.
68304 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68306         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68308 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68310         mktime: avoid signed integer overflow
68311         * time/mktime.c (__mktime_internal): Do not mishandle the case
68312         where diff == INT_MIN.
68314         mktime: simplify computation of average
68315         * time/mktime.c (ranged_convert): Use new time_t_avg function
68316         instead of rolling our own (probably-slower) code.
68318         mktime: do not assume signed right shift propagates sign bit
68319         * time/mktime.c (isdst_differ): New static function.
68320         (__mktime_internal): No need to normalize tm_isdst now.
68321         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68322         tm_isdst values.
68324         mktime: merge another wrapv change from gnulib
68325         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68326         from some compilers.
68328         mktime: remove incorrect attempt at unusual arithmetics
68329         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68330         The code didn't really work on such machines anyway.
68331         (TYPE_MINIMUM): Assume two's complement.
68332         (twos_complement_arithmetic): Verify that long_int and time_t
68333         are two's complement (or unsigned, in the latter case).
68335         mktime: check signed shifts on long_int and time_t, too
68336         * time/mktime.c (SHR): Check that shifts work as desired
68337         on the types long_int and time_t too, as SHR is used on
68338         such types.
68340         mktime: do not assume 'long' is wide enough
68341         * time/mktime.c (verify): Move decl up.
68342         (long_int): New type.
68343         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68344         to remove assumption in the code that 'long' is wide enough to
68345         store year values.  This assumption is not true on x32 and on
68346         some non-glibc platforms.
68348         mktime: merge wrapv change from gnulib
68349         * time/mktime.c (WRAPV): New macro.
68350         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68351         (guess_time_tm, __mktime_internal): Do not assume that signed
68352         integer overflow wraps around; modern compilers generate code
68353         where this assumption is no longer valid.
68355 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68357         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68358         Replace "jmp L(pseudo_end)" with "ret".
68359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68360         Likewise.
68362 2012-05-23  Andreas Jaeger  <aj@suse.de>
68364         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68365         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68367 2012-05-23  Andreas Jaeger  <aj@suse.de>
68368             Maximilian Attems  <max@stro.at>
68370         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68371         New macros.
68373 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68376         code so that pseudo_end is just ret and the stack pointer is
68377         correct also for static library in error case.
68379 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68381         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68382         move to syscalls.list.
68383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68388         * manual/install.texi (Running make install): Do not mention Linux
68389         kernel version for which pt_chown is not needed.
68390         (Linux): Do not mention problems with nscd with 2.0 kernels.
68391         * INSTALL: Regenerated.
68393 2012-05-23  Andreas Jaeger  <aj@suse.de>
68395         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68396         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68397         macro.
68398         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68399         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68400         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68401         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68402         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68403         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68405         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68407         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68408         * sysdeps/unix/sysv/linux/bits/in.h
68409         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68411 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68413         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68414         (PREPARE_VERSION): Just use assert instead, it will be elided
68415         under [NDEBUG] anyway.
68417 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68419         * sysdeps/unix/sysv/linux/Makefile: Include
68420         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68421         (sysdep_routines): Remove sysctl.
68422         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68423         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68424         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68425         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68426         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68428 2012-05-22  Andreas Jaeger  <aj@suse.de>
68430         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68431         that pseudo_end is just ret and the stack pointer is correct also
68432         for static library in error case.
68434 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68436         [BZ #14122]
68437         * nss/nsswitch.c (defconfig_entries): New variable.
68438         (__nss_database_lookup): Don't leak defconfig entries.
68439         (nss_parse_service_list): Don't leak on error paths.
68440         (free_database_entries): New function.
68441         (free_defconfig): New function.
68442         (free_mem): Move common code to free_database_entries.
68444 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68446         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68447         Add arch_prctl.
68448         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68450         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68451         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68453         New macro.
68454         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68455         (INTERNAL_SYSCALL_TYPES): Likewise.
68456         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68457         (LOAD_REGS_TYPES_[1-6]): Likewise.
68458         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68459         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68461 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68463         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68464         copysignl for GLIBC_2_0.
68465         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68466         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68467         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68468         logbl for GLIBC_2_0.
68469         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68470         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68474         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68475         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68477         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68478         Use "neg %eax".
68480         * time/mktime.c: Update copyright years.
68482 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68484         mktime: merge comment-quoting-style change from gnulib
68485         * time/mktime.c: Quote 'like this' in comments.
68486         The GNU coding standards suggest that we no longer quote `like this',
68487         as "`" and "'" are typically rendered asymmetrically nowadays.
68488         The typical gnulib style is to quote 'like this' when quoting
68489         code, and "like this" when quoting English.
68491         * time/mktime.c (compile-command): Add "-I.".
68493         mktime: merge mktime-internal.h change from gnulib
68494         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68496         mktime: merge time_r change from gnulib
68497         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68499         mktime: merge DEBUG change from gnulib
68500         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68501         case system <time.h> has a #define.
68503         mktime: merge <sys/types.h> change from gnulib
68504         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68505         since <time.t> is now guaranteed to define time_t.
68507         mktime: merge HAVE_CONFIG_H change from gnulib
68508         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68510 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68513         Use "neg %eax".
68515         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68516         __rlim_t cast.
68517         (struct rusage): Use anonymous union to pad each field to
68518         __syscall_slong_t.
68520 2012-05-21  David S. Miller  <davem@davemloft.net>
68522         * Makefules (o-iterator): Remove .s cases.
68523         (compile-command.s): Delete.
68524         (COMPILE.s): Delete.
68525         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68527 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68529         * configure.in (libc_cv_predef_stack_protector): Only consider
68530         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68531         * configure: Regenerated.
68533 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68536         New macro.  Use R*LP on int and pointer.
68537         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68538         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68539         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68540         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68542         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68543         [__WORDSIZE_TIME64_COMPAT32] instead of
68544         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68545         (struct utmp): Likewise.
68546         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68547         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68548         Renamed to ...
68549         (__WORDSIZE_TIME64_COMPAT32): This.
68550         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68551         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68552         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68553         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68554         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68555         (__WORDSIZE_TIME64_COMPAT32): New macro.
68557 2012-05-21  Andreas Jaeger  <aj@suse.de>
68559         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68560         only if [SHARED]. Add prototype for __wcschr_ia32.
68562 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68564         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68565         of %rbp unmolested in the jmp_buf while mangling the low bits.
68566         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68567         unmolested high bits of %rbp while demangling the low bits.
68568         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68570 2012-05-21  Andreas Jaeger  <aj@suse.de>
68572         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68573         * sunrpc/svc_simple.c: Use it for registerrpc.
68574         * sunrpc/xcrypt.c: Use it for passwd2des.
68576         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68578 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68580         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68581         Don't define if [__SYSCALL_WORDSIZE != 32].
68582         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68583         New macro.
68585 2012-05-21  Bruno Haible  <bruno@clisp.org>
68586             Andreas Jaeger  <aj@suse.de>
68588         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68589         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68590         inptr and inend for must_buffer_ch.
68591         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68592         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68593         * stdio-common/Makefile (tests): Remove bug15.
68594         (bug15-ENV): Remove macro.
68595         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68596         anymore.
68598 2012-05-19  Andreas Jaeger  <aj@suse.de>
68599             Roland McGrath  <roland@hack.frob.com>
68601         * manual/contrib.texi: Completely rewritten. It contains now an
68602         alphabetical list of contributors and their contributions.
68604 2012-05-21  Richard Henderson  <rth@twiddle.net>
68606         * misc/getauxval.c (__getauxval): Use unsigned long int.
68607         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68608         (getauxval): Use unsigned long int.
68610 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68612         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68614 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68616         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68617         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68618         __alignof__ (long double).
68620 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68624 2012-05-20  Richard Henderson  <rth@twiddle.net>
68626         * misc/getauxval.c: New file.
68627         * misc/sys/auxv.h: New file.
68628         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68629         (routines): Add getauxval.
68630         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68631         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68632         * elf/dl-sysdep.c (_dl_auxv): Remove.
68633         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68634         * elf/dl-support.c (_dl_auxv): New variable.
68635         (_dl_aux_init): Initialize it.
68636         * manual/startup.texi (Auxiliary Vector): New node.
68637         * sysdeps/generic/bits/hwcap.h: New file.
68638         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68639         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68640         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68641         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68642         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68643         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68645         Update.
68646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68655 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68659 2012-05-19  David S. Miller  <davem@davemloft.net>
68661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68663 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68665         [BZ #14123]
68666         * math/s_ccosh.c: Include <float.h>
68667         (__ccosh): Avoid internal overflow calculating sinh and cosh
68668         values before multiplying by sin and cos values.
68669         * math/s_ccoshf.c: Likewise.
68670         * math/s_ccoshl.c: Likewise.
68671         * math/s_csin.c: Likewise.
68672         * math/s_csinf.c: Likewise.
68673         * math/s_csinl.c: Likewise.
68674         * math/s_csinh.c: Likewise.
68675         * math/s_csinhf.c: Likewise.
68676         * math/s_csinhl.c: Likewise.
68677         * math/libm-test.inc (ccos_test): Add more tests.
68678         (ccosh_test): Likewise.
68679         (csin_test): Likewise.
68680         (csinh_test): Likewise.
68681         * sysdeps/i386/fpu/libm-test-ulps: Update.
68682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68684 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68686         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68687         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68689         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68691 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68693         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68694         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68695         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68696         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68697         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68698         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68699         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68700         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68701         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68702         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68703         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68704         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68705         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68706         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68707         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68708         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68709         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68710         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68711         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68712         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68713         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68714         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68715         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68716         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68717         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68718         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68719         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68720         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68721         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68722         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68723         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68725 2012-05-18  Andreas Jaeger  <aj@suse.de>
68727         * csu/.gitignore: Delete.
68729 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68731         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68732         (timex): Use __syscall_slong_t.
68734 2012-05-18  Andreas Jaeger  <aj@suse.de>
68735             Carlos O'Donell  <carlos_odonell@mentor.com>
68737         * manual/install.texi (Configuring and compiling): Update
68738         description about files modified in the source directory.
68739         * INSTALL: Regenerated.
68741 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68743         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68744         value.  Use "or" to set return value to -1.
68745         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68746         negate return value.
68748 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68750         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68751         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68752         failure if the compiler has Graphite support disabled.
68753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68754         Likewise.
68755         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68756         (CFLAGS-memmove.c): Likewise.
68757         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68758         Likewise.
68760 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68762         * sysdeps/x86_64/x32/_itoa.h: New file.
68764         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68765         getdents system call only if kernel and user dirents have the
68766         same d_ino and d_off.
68768         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68769         LLONG_MAX != LONG_MAX.
68770         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68771         (_fitoa_word): Likewise.
68773         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68774         years.
68775         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68777         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68779         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68780         include <bits/wordsize.h>.  Check __x86_64__ instead of
68781         __WORDSIZE.
68782         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68783         if __x86_64__ is defined.  Use anonymous union on fpstate.
68785         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68786         anonymous union.
68788 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68790         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68791         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68792         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68793         Refer to _rtld_local_ro instead of _rtld_global_ro.
68794         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68795         Likewise.
68796         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68797         Likewise.
68798         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68799         Likewise.
68800         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68801         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68802         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68804         [BZ #10882]
68805         * sysdeps/powerpc/powerpc32/dl-machine.c
68806         (__elf_machine_runtime_setup) [PROF]: Don't reference
68807         _dl_prof_resolve.
68809 2012-05-18  Andreas Jaeger  <aj@suse.de>
68811         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68812         function only available for GCCs before 3.4 since GCC 3.4
68813         introduced a builtin.
68814         (lrint): Likewise.
68815         (llrintf): Likewise.
68816         (llrint): Likewise.
68817         (fmaxf): Likewise.
68818         (fmax): Likewise.
68819         (fminf): Likewise.
68820         (fmin): Likewise.
68821         (rint): Likewise.
68822         (rintf): Likewise.
68823         (nearbyint): Likewise.
68824         (nearbyintf): Likewise.
68825         (ceil): Likewise.
68826         (ceilf): Likewise.
68827         (floor): Likewise.
68828         (floorf): Likewise.
68830 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68832         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68833         on both fields and cast pointer to __syscall_ulong_t.
68835         * bits/types.h (__fsword_t): New type.
68836         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68837         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68839         (__FSWORD_T_TYPE): Likewise.
68840         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68841         (__FSWORD_T_TYPE): Likewise.
68842         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68843         (__FSWORD_T_TYPE): Likewise.
68844         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68845         (__FSWORD_T_TYPE): Likewise.
68846         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68847         __SWORD_TYPE with __fsword_t.
68848         (statfs64): Likewise.
68850 2012-05-17  David S. Miller  <davem@davemloft.net>
68852         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68854 2012-05-17  Andreas Jaeger  <aj@suse.de>
68856         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68857         warning.
68859 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68861         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68863 2012-05-17  Andreas Jaeger  <aj@suse.de>
68865         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68866         when it is used.
68868 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68870         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68872 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68874         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68875         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68877 2012-05-17  Andreas Jaeger  <aj@suse.de>
68878             Carlos O'Donell  <carlos_odonell@mentor.com>
68880         [BZ #14059]
68881         * sysdeps/x86_64/multiarch/init-arch.h
68882         (bit_YMM_Usable): Rename to...
68883         (bit_AVX_Usable): ... this.
68884         (bit_FMA4_Usable): New macro.
68885         (bit_XMM_state): New macro.
68886         (bit_YMM_state): New macro.
68887         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68888         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68889         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68890         (CPUID_OSXSAVE): New macro.
68891         (CPUID_AVX): New macro.
68892         (CPUID_FMA4): New macro.
68893         (index_YMM_Usable): Rename to...
68894         (index_AVX_Usable): ... this.
68895         (HAS_AVX): Use HAS_ARCH_FEATURE.
68896         (HAS_FMA4): Likewise.
68897         (HAS_YMM_USABLE): Remove.
68898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68899         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68900         are present.
68901         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68902         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68903         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68904         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68905         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68907 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68909         * math/libm-test.c: Support platforms without multiple rounding modes.
68910         * math/bug-nextafter.c: Support platforms without FP exceptions.
68911         * math/bug-nexttoward.c: Likewise.
68912         * math/test-fenv.c: Likewise.
68913         * math/test-misc.c: Likewise.
68914         * stdlib/bug-getcontext.c: Likewise.
68916 2012-05-17  Andreas Jaeger  <aj@suse.de>
68918         * manual/examples/search.c (critter_cmp): Change signature to
68919         avoid warnings.
68920         * manual/string.texi (Collation Functions): Likewise.
68922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68924         * bits/types.h: Fold copyright years.
68925         * bits/typesizes.h: Likewise.
68926         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68928         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68930         * time/time.h: Likewise.
68932 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68934         [BZ #208]
68935         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68936         in instead of returning them.  Return void.
68937         (__libc_mallinfo): Accumulate over all arenas.
68938         (__malloc_stats): Adjust for change in int_mallinfo interface.
68940 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68942         [BZ #10375]
68943         * configure.in (NM): Add AC_CHECK_TOOL for it.
68944         (libc_extra_cflags): New substituted variable.
68945         Check for -fstack-protector being used implicitly.
68946         * configure: Regenerated.
68947         * config.make.in (config-extra-cflags): New variable,
68948         gets @libc_extra_cflags@.
68949         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68951         [BZ #10375]
68952         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68953         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68954         * configure: Regenerated.
68955         * config.make.in (CPPUNDEFS): New substituted variable.
68956         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68957         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68958         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68962         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68963         (mq_attr): Use __syscall_slong_t.
68965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68967         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68968         Check __x86_64__ instead of __WORDSIZE.
68969         (_STAT_VER_LINUX): Likewise.
68970         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68971         __syscall_ulong_t and __syscall_slong_t.
68972         (stat64): Likewise.
68974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68976         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68978 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68980         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68984         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68985         __syscall_ulong_t.
68987         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68988         include <bits/wordsize.h>.  Check __x86_64__ instead of
68989         __WORDSIZE.
68990         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68991         defined.
68992         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68994         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68995         include <bits/wordsize.h>.  Check __x86_64__ instead of
68996         __WORDSIZE.
68997         (user_regs_struct): Use "__extension__ unsigned long long"
68998         instead of "unsigned long" if __x86_64__ is defined.
68999         (user): Likewise.  Pad after pointer field if __ILP32__ is
69000         defined.
69002 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69004         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69005         versions 5 to 9.
69006         * configure: Regenerated.
69007         * manual/install.texi (texinfo): Increase version requirement to
69008         4.5 or later.
69009         * INSTALL: Regenerated.
69011         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69013 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69015         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69017         * sysdeps/x86_64/x32/ffs.c: New file.
69019         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69020         __syscall_ulong_t.
69021         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69022         defined.  Use __syscall_ulong_t.
69023         (shminfo): Use __syscall_ulong_t.
69024         (shm_info): Likewise.
69026         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69027         __syscall_ulong_t.
69029         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69030         <bits/wordsize.h>.
69031         (msgqnum_t): Use __syscall_ulong_t.
69032         (msglen_t): Likewise.
69033         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69034         __syscall_ulong_t.
69036         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69037         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69039         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69041         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69042         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69044         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69045         __syscall_slong_t.
69047         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69048         include <bits/wordsize.h>.  Check __x86_64__ instead of
69049         __WORDSIZE.
69051         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69052         "unsigned long long int" if __x86_64__ is defined.
69053         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69055         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69056         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69057         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69059         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69060         <stdint.h>.
69061         (GET_PC): Cast to uintptr_t first.
69062         (GET_FRAME): Likewise.
69063         (GET_STACK): Likewise.
69065         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69066         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69068         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69070         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69071         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69072         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69073         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69074         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69075         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69076         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69077         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69078         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69079         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69080         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69081         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69082         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69083         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69084         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69085         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69090         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69091         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69092         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69093         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69095 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69097         * Makerules (+depfiles): Also collect depfiles from .oS in
69098         $(extra-objs).
69099         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69100         .oS, $(libnldbl-routines)).
69102         * Makerules (native-compile-mkdep-flags): Define.
69103         * sunrpc/Makefile (extra-objs): Add $(addprefix
69104         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69105         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69106         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69107         calling $(make-target-directory).
69109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69111         * bits/types.h (__snseconds_t): Removed.
69112         * time/time.h (struct timespec): Replace __snseconds_t with
69113         __syscall_slong_t.
69114         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69115         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69116         Likewise.
69117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69118         (__SNSECONDS_T_TYPE): Likewise.
69119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69120         (__SNSECONDS_T_TYPE): Likewise.
69121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69122         (__SNSECONDS_T_TYPE): Likewise.
69124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69126         * sysdeps/mach/hurd/bits/typesizes.h
69127         (__SYSCALL_SLONG_TYPE): New macro.
69128         (__SYSCALL_ULONG_TYPE): Likewise.
69130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69132         * bits/types.h (__syscall_slong_t): New type.
69133         (__syscall_ulong_t): Likewise.
69135         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69136         (__SYSCALL_ULONG_TYPE): Likewise.
69137         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69138         (__SYSCALL_SLONG_TYPE): Likewise.
69139         (__SYSCALL_ULONG_TYPE): Likewise.
69140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69141         (__SYSCALL_SLONG_TYPE): Likewise.
69142         (__SYSCALL_ULONG_TYPE): Likewise.
69143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69144         (__SYSCALL_SLONG_TYPE): Likewise.
69145         (__SYSCALL_ULONG_TYPE): Likewise.
69147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69149         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69150         Add sigaltstack-offsets.sym.
69151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69152         <sigaltstack-offsets.h>.
69153         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69154         longjmp_msg pointer.
69155         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69156         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69157         signal stack.
69158         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69160 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69162         * elf/stackguard-macros.h: Remove file.
69163         * sysdeps/generic/stackguard-macros.h: New file.
69164         * sysdeps/i386/stackguard-macros.h: Likewise.
69165         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69166         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69167         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69168         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69169         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69170         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69171         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69172         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69173         <elf/stackguard-macros.h>.
69175         [BZ #14109]
69176         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69177         __aligned__ in attribute.
69178         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69179         (gregset_t): Likewise.
69181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69183         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69184         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69185         * sysdeps/x86_64/x32/Implies-after: New file.
69187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69189         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69190         and access return value for _dl_profile_fixup.  Use R10_LP to
69191         load frame size.
69193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69195         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69199         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69200         * sysdeps/x86_64/x32/sysdep.h: New file.
69202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69204         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69205         * sysdeps/x86_64/setjmp.S: Likewise.
69207 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69209         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69210         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69211         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69212         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69213         remove unused global constant.
69215 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69217         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69218         include of <not-cancel.h>.
69220 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69222         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69224 2012-05-15  Jeff Law  <law@redhat.com>
69225             Andreas Jaeger  <aj@suse.de>
69227         [BZ #13594]
69228         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69229         out from...
69230         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69231         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69232         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69233         code changing __hst_map_handle.map.
69235 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69237         * configure.in (sysnames): Look for Implies-before and Implies-after
69238         files.
69239         * configure: Regenerated.
69241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69244         8-byte data alignment with LP_SIZE alignment.
69246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69248         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69249         into R10_LP.
69251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69253         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69257         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69258         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69259         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69260         Likewise.
69261         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69265         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69266         (stackinfo_sub_sp): Likewise.
69268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69270         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69271         RAX_LP.
69273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69275         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69276         into R*_LP.
69278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69281         sizes into R*_LP.
69283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69285         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69289         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69290         into R11_LP and load __x86_64_shared_cache_size_half into
69291         R8_LP.
69293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69295         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69296         R8_LP.
69298 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69301         logb for POWER7.
69302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69303         logbf for POWER7.
69304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69305         logbl for POWER7.
69306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69307         powerpc32/power7/fpu/s_logb.c via #include.
69308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69309         powerpc32/power7/fpu/s_logbf.c via #include.
69310         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69311         powerpc32/power7/fpu/s_logbl.c via #include.
69313 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69315         * README.libm: Remove file.
69317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69319         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69320         count for x32.  Use R*_LP and omit operand-size suffix.
69322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69324         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69325         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69326         * sysdeps/x86_64/x32/shlib-versions: New file.
69328 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69330         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69331         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69332         Use _dl_fatal_printf instead.
69334 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69336         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69337         set if not set by the user.  Do not allow for being unset.
69338         * sysdeps/unix/sysv/linux/configure: Regenerated.
69340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69342         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69343         the `q' suffix from lea and replace .quad with ASM_ADDR.
69345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69348         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69349         instead of $17.
69350         (PTR_DEMANGLE): Likewise.
69352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69354         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69355         (LP_OP): Likewise.
69356         (ASM_ADDR): Likewise.
69357         (RAX_LP): Likewise.
69358         (RBP_LP): Likewise.
69359         (RBX_LP): Likewise.
69360         (RCX_LP): Likewise.
69361         (RDI_LP): Likewise.
69362         (RSI_LP): Likewise.
69363         (RSP_LP): Likewise.
69364         (R8_LP): Likewise.
69365         (R9_LP): Likewise.
69366         (R10_LP): Likewise.
69367         (R10_LP): Likewise.
69368         (R11_LP): Likewise.
69369         (R12_LP): Likewise.
69370         (R13_LP): Likewise.
69371         (R14_LP): Likewise.
69372         (R15_LP): Likewise.
69374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69376         * sysdeps/x86_64/x32/dl-machine.h: New file.
69378 2012-05-14  Andreas Jaeger  <aj@suse.de>
69380         * manual/Makefile (subdir): Remove export of subdir.
69381         (all): Remove target.
69382         (.PHONY): Remove all from list.
69383         (mkinstalldirs): Remove.
69384         (.PHONY): Remove installdirs from list.
69385         ($(inst_infodir)/libc.info): Use make-target-directory.
69386         (installdirs): Remove.
69387         (subdir_%): Remove.
69388         (glibc-targets): Remove.
69389         (lib): Remove.
69390         (stubs): Remove.
69391         ($(objpfx)stubs ../po/manual.pot): Remove.
69392         ($(objpfx)stamp%): Remove.
69393         (make-target-directory): Remove.
69394         (subdir_install): Remove.
69395         (routines): Remove.
69396         (aux): Remove.
69397         (sources): Remove.
69398         (objects): Remove.
69399         (headers): Remove.
69401         [BZ #13750]
69402         * manual/.gitignore: Remove, it's not needed anymore.
69403         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69404         all files in it.
69405         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69406         directory.
69407         (texis): Renamed to $(objpfx)texis.
69408         (texis-path): New, contains path to generated files.
69409         (chapters.%): Use texis-path for complete path, add extra argument
69410         libc-texinfo.sh.
69411         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69412         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69413         (summary,texi, stamp-summary): Use complete path of
69414         files. Generate files in build dir.
69415         (dir-add.texi): Build in build dir.
69416         (libm-err.texi,stamp-libm-err): Likewise.
69417         (version.texi, stamp-version): Likewise.
69418         (.%c.texi): Likewise.
69419         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69420         (mostlyclean): Remove target.
69421         (realclean): Remove target.
69422         (generated): Add new variable with contents from mostlyclean and
69423         realclean, remove entries duplicated in common-mostlyclean, add
69424         stamp-libm-err and stamp-version.
69425         (generated-dirs): Add libc directory.
69426         ($(inst_infodir)/libc.info): Install files from build dir.
69428         * manual/install.texi (Configuring and compiling): Adjust since
69429         the info files are not part of the tar ball anymore.
69431 2012-05-14  Andreas Jaeger  <aj@suse.de>
69433         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69434         variable.
69436 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69438         [BZ #13717]
69439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69440         to 2.2.0 where earlier.
69441         * sysdeps/unix/sysv/linux/configure: Regenerated.
69442         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69443         Remove conditional code.
69444         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69445         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69446         Remove conditional code.
69447         [!__NR_lchown]: Likewise.
69448         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69449         [__NR_lchown]: Likewise.
69450         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69451         comment referencing __ASSUME_LCHOWN_SYSCALL.
69452         * sysdeps/unix/sysv/linux/i386/sigaction.c
69453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69455         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69456         Remove conditional code.
69457         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69458         (__protocol_available): Remove #if 0 code.
69459         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69460         conditional code.
69461         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69462         * sysdeps/unix/sysv/linux/kernel-features.h
69463         (__ASSUME_GETCWD_SYSCALL): Don't define.
69464         (__ASSUME_REALTIME_SIGNALS): Likewise.
69465         (__ASSUME_PREAD_SYSCALL): Likewise.
69466         (__ASSUME_PWRITE_SYSCALL): Likewise.
69467         (__ASSUME_POLL_SYSCALL): Likewise.
69468         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69469         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69470         non-SPARC.
69471         (__ASSUME_SIOCGIFNAME): Don't define.
69472         (__ASSUME_MSG_NOSIGNAL): Likewise.
69473         (__ASSUME_SENDFILE): Define unconditionally.
69474         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69475         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69476         conditional code.
69477         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69478         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69479         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69480         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69481         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69482         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69483         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69497         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69500         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69508         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69509         Remove conditional code.
69510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69511         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69512         Remove conditional code.
69513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69514         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69515         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69516         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69517         Remove conditional code.
69518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69519         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69520         Remove conditional code.
69521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69522         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69523         Remove conditional code.
69524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69525         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69526         Remove conditional code.
69527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69528         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69529         Remove conditional code.
69530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69531         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69534         * sysdeps/unix/sysv/linux/sigaction.c
69535         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69536         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69537         * sysdeps/unix/sysv/linux/sigpending.c
69538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69540         * sysdeps/unix/sysv/linux/sigprocmask.c
69541         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69542         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69543         * sysdeps/unix/sysv/linux/sigsuspend.c
69544         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69545         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69546         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69547         (__libc_missing_rt_sigs): Remove.
69548         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69549         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69550         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69551         Remove conditional code.
69552         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69553         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69554         return 1.
69555         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69556         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69557         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69558         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69560 2012-05-14  Andreas Jaeger  <aj@suse.de>
69562         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69563         it's not used in glibc.
69564         (__coshm1): Likewise.
69565         (__acosh1p): Likewise.
69566         (__sgn): Likewise.
69568         * manual/string.texi (Copying and Concatenation): Add missing
69569         variable in concat example.
69570         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69574         [BZ #14103]
69575         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69576         __builtin_clzl with __builtin_clzll.
69578 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69580         [BZ #14104]
69581         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69582         libc_freeres_ptr.
69584 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69586         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69587         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69588         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69589         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69591 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69593         * NEWS: Update ia64 info.
69595 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69597         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69598         used as bcopy.
69600 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69602         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69603         * sysdeps/unix/syscalls.list (dup3): Likewise.
69604         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69605         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69607 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69609         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69610         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69612 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69614         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69615         thread pointer.
69616         (TLS_IE): Use mov/add instead of movq/addq to load thread
69617         pointer.
69618         (TLS_GD_PREFIX): New.
69619         (TLS_GD): Use it.
69621 2012-05-11  David S. Miller  <davem@davemloft.net>
69623         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69624         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69625         (_FPU_SETCW): Likewise.
69627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69629         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69630         is 32-byte aligned.
69632 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69634         [BZ #11837]
69635         * iconvdata/gb18030.c: Update tables.
69636         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69637         characters specially.
69638         (BODY for TO_LOOP): Add encoding of missing ranges.
69640 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69642         [BZ #13673]
69643         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69644         * sysdeps/mach/hurd/dup3.c: Likewise.
69645         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69646         * sysdeps/powerpc/memmove.c:: Likewise.
69648 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69651         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69653 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69655         * elf/elf.h (R_X86_64_RELATIVE64): New.
69656         (R_X86_64_NUM): Updated.
69657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69658         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69659         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69660         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69661         tst-quad1pie tst-quad2pie
69662         (modules-names): Add tst-quadmod1 tst-quadmod2.
69663         ($(objpfx)tst-quad1): New dependency.
69664         ($(objpfx)tst-quad2): Likewise.
69665         ($(objpfx)tst-quad1pie): Likewise.
69666         ($(objpfx)tst-quad2pie): Likewise.
69667         * sysdeps/x86_64/tst-quad1.c: New file.
69668         * sysdeps/x86_64/tst-quad1pie.c: New file.
69669         * sysdeps/x86_64/tst-quad2.c: Likewise.
69670         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69671         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69672         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69673         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69674         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69678         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69679         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69680         * streams/stropts.h (t_scalar_t): Define type.
69682         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69683         (_PATH_PRESERVE): Set to "/var/lib".
69684         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69686         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69687         instead of int.
69689         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69690         if __dir_mkfile succeeded.
69692         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69693         checking for _hurd_dtablesize.  Unlock it right after having
69694         finished _hurd_dtable allocation.
69696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69698         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69699         * sysdeps/mach/hurd/configure: Regenerated.
69700         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69701         special-casing to...
69702         * sysdeps/gnu/configure.in: ... this new file.
69703         * sysdeps/unix/sysv/linux/configure: Regenerated.
69704         * sysdeps/gnu/configure: New generated file.
69706         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69707         for Linux: use nsec instead of usec, as well as:
69708         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69709         members of type struct timespec.
69710         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69711         New macros.
69712         (struct stat64): Likewise.
69713         (_STATBUF_ST_NSEC): New macro.
69714         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69716         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69717         __strtoul_internal rather than strtoul.
69719 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69721         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69722         and reject them.
69724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69726         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69727         which preserves existing values.
69728         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69730 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69732         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69733         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69734         greater than FD_SETSIZE.
69736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69738         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69739         allocated, call __vm_protect to finish enabling the existing space, and
69740         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69741         allocate the remainder.
69743 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69745         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69746         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69750         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69751         sysdeps/mach/hurd/readlink.c.
69753         * posix/tst-sysconf.c (posix_options): Only use
69754         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69755         _POSIX_SYNCHRONIZED_IO when they are defined
69756         * sysdeps/mach/hurd/bits/posix_opt.h:
69757         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69758         (_XOPEN_REALTIME): Undefine macro.
69759         (_XOPEN_REALTIME_THREADS): Undefine macro.
69760         (_XOPEN_SHM): Undefine macro.
69761         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69762         macro to -1.
69763         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69764         macro to -1.
69765         (_POSIX_ASYNC_IO): Undefine macro.
69766         (_POSIX_PRIORITIZED_IO): Undefine macro.
69767         (_POSIX_SPIN_LOCKS): Define macro to -1.
69769         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69770         SA_NODEFER, SA_RESETHAND.
69771         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69772         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69773         F_DUPFD_CLOEXEC.
69775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69777         * elf/Makefile (pldd-modules): Define unconditionally.
69779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69781         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69785         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69786         Return ENOENT when name is empty.
69787         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69791         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69793         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69797         Fix mlock in all cases except non-readable pages.
69798         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69799         instead of VM_PROT_ALL as parameter to __vm_wire function.
69801         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69802         (__mkdir): When path is `/', just fail with EEXIST.
69803         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69807         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69808         <sys/uio.h> (for writev).
69809         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69810         and <sys/param.h> (for MIN).
69812 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69814         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69815         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69816         if interrupted.
69818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69820         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69821         Depend on against $(link-rpcuserlibs).
69823 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69825         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69826         (__libc_stack_end): Do not use attribute_relro.
69827         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69828         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69829         to libthread-provided value.
69830         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69831         attribute_relro.
69833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69835         [BZ #3748]
69836         * bits/libc-lock.h (__libc_once_get): New macro.
69837         * sysdeps/mach/bits/libc-lock.h: Likewise.
69838         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69840         instead of using implementation details.
69842         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69843         * libio/freopen.c: Likewise.
69844         * libio/freopen64.c: Likewise.
69845         * misc/syslog.c: Likewise.
69846         * nscd/connections.c: Likewise.
69847         * nscd/netgroupcache.c: Likewise.
69848         * sysdeps/posix/getcwd.c: Likewise.
69850 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69852         * math/w_ilogbf.c: Add #include <limits.h>.
69854 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69856         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69857         path instead of returning without unlocking.
69859         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69860         immediate-write ioctls.
69861         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69863 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69865         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69866         __builtin_frame_address instead of making assumptions about the
69867         location of the return address relative to DATA.  Force early load of
69868         the return address.
69869         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69870         __builtin_frame_address.
69872         dup3 for GNU Hurd.
69873         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69874         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69875         implement dup3 and do some further code clean-ups.
69876         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69877         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69879 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69881         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69883         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69884         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69885         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69886         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69887         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69888         d->port.lock.
69890         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69891         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69892         when handler == SIG_ERR, not when handler != SIG_ERR.
69894 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69896         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69897         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69898         definitions.
69900         accept4 for GNU Hurd.
69901         * include/sys/socket.h (__libc_accept4): New prototype.
69902         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69903         to implement __libc_accept4.
69904         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69905         __libc_accept4.
69906         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69908         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69909         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69910         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69911         signal-defines.sym.
69913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69915         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69919         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69920         assertion on O_CLOEXEC flag.
69921         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69922         * hurd/intern-fd.c: Likewise.
69923         * hurd/port2fd.c: Likewise.
69925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69927         [BZ #3906]
69928         * bits/in.h (IPV6_PKTINFO): Define new macro.
69929         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69931 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69933         [BZ #13954]
69934         [BZ #13955]
69935         [BZ #13956]
69936         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69937         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69938         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69939         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69940         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69941         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69942         * math/libm-test.inc (logb_test) : Additional logb tests.
69944 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69945             Andreas Jaeger  <aj@suse.de>
69947         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69948         * configure: Regenerated.
69949         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69950         * config.make.in (link-obsolete-rpc): New substituted variable.
69951         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69952         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69953         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69954         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69955         so that libc.a contains the symbols.
69956         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69957         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69958         * sunrpc/auth_none.c: Likewise.
69959         * sunrpc/auth_unix.c: Likewise.
69960         * sunrpc/authdes_prot.c: Likewise.
69961         * sunrpc/authuxprot.c: Likewise.
69962         * sunrpc/clnt_gen.c: Likewise.
69963         * sunrpc/clnt_perr.c: Likewise.
69964         * sunrpc/clnt_raw.c: Likewise.
69965         * sunrpc/clnt_simp.c: Likewise.
69966         * sunrpc/clnt_tcp.c: Likewise.
69967         * sunrpc/clnt_udp.c: Likewise.
69968         * sunrpc/clnt_unix.c: Likewise.
69969         * sunrpc/des_crypt.c: Likewise.
69970         * sunrpc/des_soft.c: Likewise.
69971         * sunrpc/get_myaddr.c: Likewise.
69972         * sunrpc/key_call.c: Likewise.
69973         * sunrpc/key_prot.c: Likewise.
69974         * sunrpc/netname.c: Likewise.
69975         * sunrpc/pm_getmaps.c: Likewise.
69976         * sunrpc/pm_getport.c: Likewise.
69977         * sunrpc/pmap_clnt.c: Likewise.
69978         * sunrpc/pmap_prot.c: Likewise.
69979         * sunrpc/pmap_prot2.c: Likewise.
69980         * sunrpc/pmap_rmt.c: Likewise.
69981         * sunrpc/publickey.c: Likewise.
69982         * sunrpc/rpc_cmsg.c: Likewise.
69983         * sunrpc/rpc_common.c: Likewise.
69984         * sunrpc/rpc_dtable.c: Likewise.
69985         * sunrpc/rpc_prot.c: Likewise.
69986         * sunrpc/rpc_thread.c: Likewise.
69987         * sunrpc/rtime.c: Likewise.
69988         * sunrpc/svc.c: Likewise.
69989         * sunrpc/svc_auth.c: Likewise.
69990         * sunrpc/svc_raw.c: Likewise.
69991         * sunrpc/svc_run.c: Likewise.
69992         * sunrpc/svc_tcp.c: Likewise.
69993         * sunrpc/svc_udp.c: Likewise.
69994         * sunrpc/svc_unix.c: Likewise.
69995         * sunrpc/svcauth_des.c: Likewise.
69996         * sunrpc/xcrypt.c: Likewise.
69997         * sunrpc/xdr.c: Likewise.
69998         * sunrpc/xdr_array.c: Likewise.
69999         * sunrpc/xdr_float.c: Likewise.
70000         * sunrpc/xdr_intXX_t.c: Likewise.
70001         * sunrpc/xdr_mem.c: Likewise.
70002         * sunrpc/xdr_rec.c: Likewise.
70003         * sunrpc/xdr_ref.c: Likewise.
70004         * sunrpc/xdr_sizeof.c: Likewise.
70005         * sunrpc/xdr_stdio.c: Likewise.
70007 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70009         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70010         change.  Update copyright years.
70012 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70014         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70016 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70017             Joseph Myers  <joseph@codesourcery.com>
70018             Paul Pluzhnikov  <ppluzhnikov@google.com>
70020         [BZ #14012]
70021         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70022         requiring rpcgen.
70023         [cross-compiling] (extra-libs): Likewise.
70024         [cross-compiling] (extra-libs-others): Likewise.
70025         [cross-compiling] (librpcsvc-routines): Likewise.
70026         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70027         [cross-compiling] (omit-deps): Likewise.
70028         (sunrpc-CPPFLAGS): New variable.
70029         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70030         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70031         (cross-rpcgen-objs): New variable.
70032         (extra-objs): Append $(cross-rpcgen-objs).
70033         ($(cross-rpcgen-objs)): New rule.
70034         ($(objpfx)cross-rpcgen): Likewise.
70035         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70036         comment.
70037         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70038         ($(objpfx)x%.stmp): Likewise.
70039         * sunrpc/proto.h [IS_IN_build] (_): Define.
70040         [IS_IN_build] (_libc_intl_domainname): Likewise.
70042 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70044         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70045         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70046         and R_X86_64_TPOFF64.
70048 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70050         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70051         sysdeps/unix/sysv/syscalls.list.
70052         (stime): Likewise.
70053         (utime): Likewise.
70054         * sysdeps/unix/sysv/syscalls.list: Remove file.
70056 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70058         [BZ #3440]
70059         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70060         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70061         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70062         (__LC_IDENTIFICATION): Make these macros useful in #if
70063         expressions, as required by C99.
70065 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70067         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70068         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70069         after this.
70071 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70073         * stdlib/longlong.h: Updated from GCC.
70075 2012-05-09  Andreas Jaeger  <aj@suse.de>
70077         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70078         default is first entry.
70079         (run_mode): Set type.
70080         (main): Remove informal message about syslog.
70081         (options): Fix typo.
70083         [BZ #14053]
70084         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70085         to asm.
70086         (lrint): Likewise.
70087         (llrintf): Likewise.
70088         (llrint): Likewise.
70089         (rint): Likewise.
70090         (rintf): Likewise.
70091         (nearbyint): Likewise.
70092         (nearbyintf): Likewise.
70094 2012-05-09  Andreas Jaeger  <aj@suse.de>
70095             Pedro Alves  <palves@redhat.com>
70097         * nscd/nscd.c (run_mode): Use enum.
70098         (main): Cleanup coding style issue.
70100 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70101             Andreas Jaeger  <aj@suse.de>
70103         * nscd/nscd.c (go_background): Replaced with...
70104         (run_mode): ... this.
70105         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70106         (options): Add -F --foreground.
70107         (main): Implement it.
70108         (parse_opt): Parse it.
70110 2012-05-09  Andreas Jaeger  <aj@suse.de>
70112         [BZ #14083]
70113         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70114         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70115         -Wconversion warning.
70116         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70117         Likewise.
70119 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70121         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70122         == 0.
70123         (LC_ALL): Use macro-int-constant.
70124         (LC_COLLATE): Likewise.
70125         (LC_CTYPE): Likewise.
70126         (LC_MESSAGES): Likewise.
70127         (LC_MONETARY): Likewise.
70128         (LC_NUMERIC): Likewise.
70129         (LC_TIME): Likewise.
70130         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70131         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70133         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70134         Specify type.
70135         [C99-based standards] (float_t): Expect type.
70136         [C99-based standards] (double_t): Expect type.
70137         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70138         type.
70139         [C99-based standards] (HUGE_VALL): Likewise.
70140         [C99-based standards] (INFINITY): Likewise.
70141         [C99-based standards] (NAN): Likewise.
70142         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70143         [C99-based standards] (FP_NAN): Likewise.
70144         [C99-based standards] (FP_NORMAL): Likewise.
70145         [C99-based standards] (FP_SUBNORMAL): Likewise.
70146         [C99-based standards] (FP_ZERO): Likewise.
70147         [C99-based standards] (FP_FAST_FMA): Use
70148         optional-macro-int-constant.  Specify type.  Require == 1.
70149         [C99-based standards] (FP_FAST_FMAF): Likewise.
70150         [C99-based standards] (FP_FAST_FMAL): Likewise.
70151         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70152         [C99-based standards] (FP_ILOGBNAN): Likewise.
70153         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70154         Specify type.
70155         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70156         [C99-based standards] (math_errhandling): Specify type.
70157         [ISO99 || ISO11] (signgam): Do not allow.
70158         [non-C99-based standards] (copysignf): Do not allow.
70159         [non-C99-based standards] (exp2f): Likewise.
70160         [non-C99-based standards] (log2f): Likewise.
70161         [non-C99-based standards] (modff): Allow.
70162         [non-C99-based standards] (erff): Do not allow.
70163         [non-C99-based standards] (erfcf): Likewise.
70164         [non-C99-based standards] (gammaf): Likewise.
70165         [non-C99-based standards] (hypotf): Likewise.
70166         [non-C99-based standards] (j0f): Likewise.
70167         [non-C99-based standards] (j1f): Likewise.
70168         [non-C99-based standards] (jnf): Likewise.
70169         [non-C99-based standards] (lgammaf): Likewise.
70170         [non-C99-based standards] (tgammaf): Likewise.
70171         [non-C99-based standards] (y0f): Likewise.
70172         [non-C99-based standards] (y1f): Likewise.
70173         [non-C99-based standards] (ynf): Likewise.
70174         [non-C99-based standards] (isnanf): Likewise.
70175         [non-C99-based standards] (acoshf): Likewise.
70176         [non-C99-based standards] (asinhf): Likewise.
70177         [non-C99-based standards] (atanhf): Likewise.
70178         [non-C99-based standards] (cbrtf): Likewise.
70179         [non-C99-based standards] (expm1f): Likewise.
70180         [non-C99-based standards] (ilogbf): Likewise.
70181         [non-C99-based standards] (log1pf): Likewise.
70182         [non-C99-based standards] (logbf): Likewise.
70183         [non-C99-based standards] (nextafterf): Likewise.
70184         [non-C99-based standards] (remainderf): Likewise.
70185         [non-C99-based standards] (rintf): Likewise.
70186         [non-C99-based standards] (scalbf): Likewise.
70187         [non-C99-based standards] (copysignl): Likewise.
70188         [non-C99-based standards] (exp2l): Likewise.
70189         [non-C99-based standards] (log2l): Likewise.
70190         [non-C99-based standards] (modfl): Allow.
70191         [non-C99-based standards] (erfl): Do not allow.
70192         [non-C99-based standards] (erfcl): Likewise.
70193         [non-C99-based standards] (gammal): Likewise.
70194         [non-C99-based standards] (hypotl): Likewise.
70195         [non-C99-based standards] (j0l): Likewise.
70196         [non-C99-based standards] (j1l): Likewise.
70197         [non-C99-based standards] (jnl): Likewise.
70198         [non-C99-based standards] (lgammal): Likewise.
70199         [non-C99-based standards] (tgammal): Likewise.
70200         [non-C99-based standards] (y0l): Likewise.
70201         [non-C99-based standards] (y1l): Likewise.
70202         [non-C99-based standards] (ynl): Likewise.
70203         [non-C99-based standards] (isnanl): Likewise.
70204         [non-C99-based standards] (acoshl): Likewise.
70205         [non-C99-based standards] (asinhl): Likewise.
70206         [non-C99-based standards] (atanhl): Likewise.
70207         [non-C99-based standards] (cbrtl): Likewise.
70208         [non-C99-based standards] (expm1l): Likewise.
70209         [non-C99-based standards] (ilogbl): Likewise.
70210         [non-C99-based standards] (log1pl): Likewise.
70211         [non-C99-based standards] (logbl): Likewise.
70212         [non-C99-based standards] (nextafterl): Likewise.
70213         [non-C99-based standards] (remainderl): Likewise.
70214         [non-C99-based standards] (rintl): Likewise.
70215         [non-C99-based standards] (scalbl): Likewise.
70216         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70217         [non-C99-based standards] (FP_*): Do not allow.
70218         [C99-based standards] (FP_*): Change to
70219         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70220         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70221         allow.
70222         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70223         (SIG_ERR): Likewise.
70224         [X/Open-based standards] (SIG_HOLD): Likewise.
70225         (SIG_IGN): Likewise.
70226         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70227         positive value.
70228         (SIGFPE): Likewise.
70229         (SIGILL): Likewise.
70230         (SIGINT): Likewise.
70231         (SIGSEGV): Likewise.
70232         (SIGTER): Likewise.
70233         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70234         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70235         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70236         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70242         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70243         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70244         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70245         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70246         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70247         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70249         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70250         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70251         [X/Open-based standards] (SIGTRAP): Likewise.
70252         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70253         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70254         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70255         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70256         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70257         allow.
70259 2012-05-08  Ian Wienand  <ianw@vmware.com>
70261         [BZ #14080]
70262         * time/tzset.c (__tzset_parse_tz): Update default rules for
70263         daylight time changes in the Energy Policy Act of 2005.
70265 2012-05-09  Andreas Jaeger  <aj@suse.de>
70267         [BZ #13983]
70268         * elf/ldconfig.c (parse_conf): Change string to make clear that
70269         ldconfig only issued a warning if ld.so.conf does not exist.
70271 2012-05-08  David S. Miller  <davem@davemloft.net>
70273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70274         movxtod instead of popping the value on the stack.
70276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70278 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70280         * config.h.in: Add HAVE_ARM_PCS_VFP.
70282 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70284         [BZ #13979]
70285         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70286         checking but the checks are disabled for any reason.
70288 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70290         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70291         and ELF64_R_TYPE with ELFW(R_TYPE).
70293 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70295         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70296         (ulimit): Likewise.
70298         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70299         (settimeofday): Likewise.
70301 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70303         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70304         a struct th_u2 inside the union, and move tu_block/tu_code into
70305         a new th_u3 union of tu_block/tu_code inside of that.  Move
70306         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70307         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70308         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70309         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70310         (th_stuff): Change to th_u1.tu_stuff.
70311         (th_data): Define.
70312         (th_msg): Change to th_u1.th_u2.tu_data.
70314 2012-05-07  David S. Miller  <davem@davemloft.net>
70316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70318         [BZ #14074]
70319         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70320         (SETUP_PIC_REG): Use it.
70321         (SETUP_PIC_REG_LEAF): Use it.
70323 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70325         [BZ #13885]
70326         [BZ #13923]
70327         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70328         USE_AS_EXPM1L.
70329         (EXPL_FINITE): Likewise.
70330         (FLDLOG): Likewise.
70331         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70332         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70333         e_expl.S.
70334         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70335         USE_AS_EXPM1L.
70336         (EXPL_FINITE): Likewise.
70337         (FLDLOG): Likewise.
70338         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70339         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70340         e_expl.S.
70341         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70342         test of -max_value argument for long double.
70343         * sysdeps/i386/fpu/libm-test-ulps: Update.
70344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70346 2012-05-06  David S. Miller  <davem@davemloft.net>
70348         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70349         quad soft-float symbols whose references which are compiler
70350         generated.
70351         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70353 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70355         [BZ #13884]
70356         [BZ #13914]
70357         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70358         USE_AS_EXP10L.
70359         (EXPL_FINITE): Likewise.
70360         (FLDLOG): Likewise.
70361         (c0): Likewise.
70362         (c1): Likewise.
70363         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70364         Adjust comments for base varying.
70365         (__expl_finite): Change alias to EXPL_FINITE.
70366         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70367         e_expl.S.
70368         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70369         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70370         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70371         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70373         USE_AS_EXP10L.
70374         (EXPL_FINITE): Likewise.
70375         (FLDLOG): Likewise.
70376         (c0): Likewise.
70377         (c1): Likewise.
70378         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70379         Adjust comments for base varying.
70380         (__expl_finite): Change alias to EXPL_FINITE.
70381         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70382         tests for bugs.
70383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70385         [BZ #14064]
70386         * math/libm-test.inc (check_float_internal): Correct ulp
70387         calculation for subnormal expected results.
70389 2012-05-06  Andreas Jaeger  <aj@suse.de>
70391         * Makeconfig (+math-flags): New, set to -frounding-math.
70392         (+cflags): Add +math-flags so that all of glibc gets compiled with
70393         it.
70395         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70397 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70399         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70400         Disable one test.
70402         [BZ #13787]
70403         [BZ #13922]
70404         [BZ #14036]
70405         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70406         (__ieee754_expl): Allow for and saturate large arguments.
70407         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70408         (u_threshold): Likewise.
70409         (__exp): Call __ieee754_exp before checking for overflow and
70410         underflow.
70411         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70412         (u_threshold): Likewise.
70413         (__expf): Call __ieee754_expf before checking for overflow and
70414         underflow.
70415         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70416         (u_threshold): Likewise.
70417         (__expl): Call __ieee754_expl before checking for overflow and
70418         underflow.
70419         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70420         (__ieee754_expl): Allow for and saturate large arguments.
70421         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70422         missing overflow exception on overflow.
70423         (expm1_test): Do not allow missing overflow exception on overflow.
70425         * sysdeps/i386/fpu/e_expl.c: Move to ...
70426         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70427         rather than using inline asm.
70428         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70429         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70430         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70432         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70433         (nice): Likewise.
70434         (poll): Likewise.
70435         (signal): Likewise.
70436         (time): Likewise.
70437         (times): Likewise.
70439 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70441         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70442         sysdeps/unix/common/syscalls.list.
70443         (fchmod): Likewise.
70444         (fchown): Likewise.
70445         (ftruncate): Likewise.
70446         (getrusage): Likewise.
70447         (gettimeofday): Likewise.
70448         (setpgid): Likewise.
70449         (setregid): Likewise.
70450         (setreuid): Likewise.
70451         (sigaction): Likewise.
70452         (truncate): Likewise.
70453         (vhangup): Likewise.
70454         * sysdeps/unix/common/syscalls.list: Remove file.
70455         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70456         * sysdeps/unix/sysv/linux/Implies: Likewise.
70458 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70460         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70462         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70463         Moved to ...
70464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70465         Here.
70466         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70467         to ...
70468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70469         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70470         to ...
70471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70472         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70473         to ...
70474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70475         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70476         to ...
70477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70478         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70479         to ...
70480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70481         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70482         to ...
70483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70484         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70485         to ...
70486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70487         Here.
70488         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70489         to ...
70490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70491         Here.
70492         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70493         to ...
70494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70495         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70496         Moved to ...
70497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70498         Here.
70499         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70500         to ...
70501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70503 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70505         * sysdeps/unix/common/bits/dirent.h: Remove file.
70506         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70508         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70509         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70510         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70511         * sysdeps/unix/bsd/isatty.c: Likewise.
70512         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70513         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70514         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70516 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70518         [BZ #13563]
70519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70520         long double comparison inaccuracies.
70521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70524 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70526         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70527         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70529 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70531         [BZ #14049]
70532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70533         nonzero digits before rounding a hex value.
70534         * stdlib/tst-strtod.c (tests): Add another test.
70536 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70538         * sysdeps/s390/fpu/libm-test-ulps: Update.
70540 2012-05-03  Andreas Jaeger  <aj@suse.de>
70542         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70543         does not get optimized out.
70544         (malloc_opt_barrier): New.
70546 2012-05-03  Andreas Jaeger  <aj@suse.de>
70547             Roland McGrath  <roland@hack.frob.com>
70549         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70550         intermediate file deletion.
70551         (generated): Add .symlist files.
70553 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70555         [BZ #13775]
70556         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70557         Redirect under this condition.
70558         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70559         [__USE_GNU] (__dprintf_chk): Not under this condition.
70560         [__USE_GNU] (__vdprintf_chk): Likewise.
70561         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70562         under this condition.
70563         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70564         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70565         [__USE_XOPEN2K8] (vdprintf): Likewise.
70566         [__USE_GNU] (__dprintf_chk): Not under this condition.
70567         [__USE_GNU] (__vdprintf_chk): Likewise.
70568         [__USE_GNU] (dprintf): Likewise.
70569         [__USE_GNU] (vdprintf): Likewise.
70571 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70573         * elf/Makefile (common-generated): Set this instead of generated for
70574         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70575         $(all-built-dso)-derived lists.
70577 2012-05-03  Andreas Jaeger  <aj@suse.de>
70579         * sysdeps/i386/fpu/libm-test-ulps: Update.
70581         * FAQ: Removed.
70582         * FAQ.in: Likewise.
70583         * scripts/gen-FAQ.pl: Likewise.
70584         * manual/install.texi (Installation): Point to online location of
70585         FAQ.
70586         * Makefile (files-for-dist): Remove FAQ.
70587         (FAQ): Remove.
70589 2012-05-02  Allan McRae  <allan@archlinux.org>
70591         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70592         (LDFLAGS-reldepmod5.so): Likewise.
70593         (LDFLAGS-reldep6mod1.so): Likewise.
70594         (LDFLAGS-reldep6mod4.so): Likewise.
70595         (LDFLAGS-reldep8mod3.so): Likewise.
70596         (LDFLAGS-unload4mod1.so): Likewise.
70597         (LDFLAGS-unload4mod2.so): Likewise.
70598         (LDFLAGS-tst-initorder): Likewise.
70599         (LDFLAGS-tst-initordera2.so): Likewise.
70600         (LDFLAGS-tst-initordera3.so): Likewise.
70601         (LDFLAGS-tst-initordera4.so): Likewise.
70602         (LDFLAGS-tst-initorderb2.so): Likewise.
70603         (LDFLAGS-noload): Likewise.
70604         (LDFLAGS-next): Likewise.
70605         (LDFLAGS-order2mod1.so): Likewise.
70606         (LDFLAGS-order2mod2.so): Likewise.
70607         (LDFLAGS-tst-initorder2): Likewise.
70608         (LDFLAGS-tst-initorder2a.so): Likewise.
70609         (LDFLAGS-tst-initorder2b.so): Likewise.
70610         (LDFLAGS-tst-initorder2c.so): Likewise.
70611         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70613 2012-05-02  David S. Miller  <davem@davemloft.net>
70615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70617 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70619         [BZ #14055]
70620         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70622 2012-05-02  Andreas Jaeger  <aj@suse.de>
70624         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70625         since we manipulate rounding mode.
70626         (CPPFLAGS-test-idouble.c): Likewise.
70627         (CPPFLAGS-test-ifloat.c): Likewise.
70628         (CFLAGS-test-ldouble.c): Likewise.
70629         (CFLAGS-test-double.c): Likewise.
70630         (CFLAGS-test-float.c): Likewise.
70631         (CFLAGS-test-misc.c): Likewise.
70632         (CFLAGS-test-test-fenv.c): Likewise.
70634 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70636         [BZ #2550]
70637         [BZ #2570]
70638         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70639         comparisons to determine direction to adjust input.
70641 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70643         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70644         output to the target.
70646         * scripts/localplt.awk: New file.
70647         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70648         (check-localplt-CFLAGS): Variable removed.
70649         ($(all-built-dso:=.jmprel)): New static pattern rule.
70650         (generated): Add those targets.
70651         (localplt-built-dso): New variable.
70652         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70654         * elf/check-localplt.c: File removed.
70656         * scripts/check-execstack.awk: New file.
70657         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70658         (check-execstack-CFLAGS): Variable removed.
70659         ($(objpfx)check-execstack.h): Target removed.
70660         ($(objpfx)execstack-default): New target.
70661         (generated): Add that instead of check-execstack.h.
70662         ($(all-built-dso:=.phdr)): New static pattern rule.
70663         (generated): Add those targets.
70664         * elf/check-execstack.c: File removed.
70666         * scripts/check-textrel.awk: New file.
70667         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70668         (check-textrel-CFLAGS): Variable removed.
70669         (all-built-dso): Use := to define.o
70670         ($(all-built-dso:=.dyn)): New static pattern rule.
70671         (generated): Add those targets.
70672         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70673         * config.make.in (READELF): New substituted variable.
70674         * elf/check-textrel.c: File removed.
70676 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70678         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70679         allow.
70680         * conform/data/ctype.h-data [C99-based standards] (isblank):
70681         Expect function.
70682         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70683         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70684         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70685         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70686         Specify type.  Require positive value.
70687         (EILSEQ): Likewise.
70688         (ERANGE): Likewise.
70689         [ISO || POSIX] (EILSEQ): Do not expect.
70690         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70691         Specify type.  Require positive value.
70692         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70693         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70694         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70695         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70696         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70697         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70698         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70699         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70700         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70701         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70702         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70703         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70704         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70705         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70706         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70707         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70708         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70709         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70710         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70711         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70712         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70713         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70714         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70715         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70716         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70717         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70718         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70719         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70720         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70721         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70722         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70723         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70724         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70725         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70726         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70727         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70728         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70729         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70730         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70731         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70732         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70733         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70734         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70735         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70736         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70737         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70738         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70739         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70740         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70741         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70742         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70743         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70744         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70745         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70746         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70747         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70748         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70749         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70750         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70751         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70752         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70753         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70754         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70755         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70756         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70757         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70758         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70759         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70760         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70761         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70762         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70763         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70764         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70765         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70766         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70767         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70768         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70769         Require >= 2.
70770         (FLT_ROUNDS): Expect as macro, not constant.
70771         (FLT_MANT_DIG): Use macro-int-constant.
70772         (DBL_MANT_DIG): Likewise.
70773         (LDBL_MANT_DIG): Likewise.
70774         (FLT_DIG): Likewise.
70775         (DBL_DIG): Likewise.
70776         (LDBL_DIG): Likewise.
70777         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70778         (DBL_MIN_EXP): Likewise.
70779         (LDBL_MIN_EXP): Likewise.
70780         (FLT_MAX_EXP): Use macro-int-constant.
70781         (DBL_MAX_EXP): Likewise.
70782         (LDBL_MAX_EXP): Likewise.
70783         (FLT_MAX_10_EXP): Likewise.
70784         (DBL_MAX_10_EXP): Likewise.
70785         (LDBL_MAX_10_EXP): Likewise.
70786         (FLT_MAX): Use macro-constant.
70787         (DBL_MAX): Likewise.
70788         (LDBL_MAX): Likewise.
70789         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70790         (DBL_EPSILON): Likewise.
70791         (LDBL_EPSILON): Likewise.
70792         (FLT_MIN): Likewise.
70793         (DBL_MIN): Likewise.
70794         (LDBL_MIN): Likewise.
70795         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70796         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70797         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70798         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70799         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70800         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70801         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70802         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70803         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70804         [ISO11] (FLT_TRUE_MIN): Likewise.
70805         [ISO11] (LDBL_TRUE_MIN): Likewise.
70806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70807         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70808         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70809         (SCHAR_MAX): Likewise.
70810         (UCHAR_MAX): Likewise.
70811         (CHAR_MIN): Likewise.
70812         (CHAR_MAX): Likewise.
70813         (MB_LEN_MAX): Use macro-int-constant.
70814         (SHRT_MIN): Use macro-int-constant.  Specify type.
70815         (SHRT_MAX): Likewise.
70816         (USHRT_MAX): Likewise.
70817         (INT_MAX): Likewise.
70818         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70819         bound negative.
70820         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70821         bound with "U".
70822         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70823         bound with "L".
70824         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70825         bound negative.  Suffix upper bound with "L".
70826         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70827         bound with "UL".
70828         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70829         Specify type.
70830         [C99-based standards] (LLONG_MAX): Likewise.
70831         [C99-based standards] (ULLONG_MAX): Likewise.
70832         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70833         == 0.
70834         [ISO11] (max_align_t): Require type.
70835         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70837         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70838         from $CFLAGS, without defining away __attribute__ calls.
70839         (checknamespace): Use $CFLAGS_namespace.
70841         * conform/conformtest.pl (@keywords): Only include C99 keywords
70842         for standards based on C99 or C11.
70844         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70845         Disable tests.
70846         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70847         UNIX98]: Likewise.
70849         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70850         usability of symbols in #if.
70852         * conform/conformtest.pl: If macro or constant types start
70853         "promoted:", expect the symbol to be of the following type
70854         promoted by the integer promotions.
70856         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70857         in one place.  Also handle "macro-constant".
70859         * conform/conformtest.pl: Only accept expected macro values with
70860         "==".  Parse all "macro" lines in one place.
70861         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70863         * conform/conformtest.pl: Handle braced types on "constant" lines
70864         instead of handling "typed-constant".
70865         * conform/data/signal.h-data: Use "constant" instead of
70866         "typed-constant".
70868         * conform/conformtest.pl: Handle "optional-" at start of lines in
70869         one place rather than duplicating several cases.  Handle each
70870         format of "macro" line with initial "optional-".
70872         * conform/conformtest.pl: Only accept expected constant or
70873         optional-constant values with "==".  Parse all "constant" lines in
70874         one place.  Parse all "optional-constant" lines in one place.
70875         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70876         * conform/data/fmtmsg.h-data: Likewise.
70877         * conform/data/netinet/in.h-data: Likewise.
70878         * conform/data/tar.h-data: Likewise.
70879         * conform/data/limits.h-data: Use "==" form on "constant" and
70880         "optional-constant" lines.
70882         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70883         Use -std=c99 for XOPEN2K.
70884         (@knownproblems): Remove.
70885         (newtoken): Don't check %isknown.
70887         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70888         Do not expect macro.
70889         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70890         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70891         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70892         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70893         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70894         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70895         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70901         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70902         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70906         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70907         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70912         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70913         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70919         [XPG3] (acosh): Likewise.
70920         [XPG3] (asinh): Likewise.
70921         [XPG3] (atanh): Likewise.
70922         [XPG3] (cbrt): Likewise.
70923         [XPG3] (expm1): Likewise.
70924         [XPG3] (ilogb): Likewise.
70925         [XPG3] (log1p): Likewise.
70926         [XPG3] (logb): Likewise.
70927         [XPG3] (nextafter): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70930         [XPG3] (remainder): Likewise.
70931         [XPG3] (rint): Likewise.
70932         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70939         [UNIX98 || XOPEN2K] (scalb): Expect.
70940         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70941         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70944         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70945         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70946         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70985         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70986         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70987         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70988         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70989         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70990         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70991         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70992         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70993         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70996         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70997         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71005         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71006         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71007         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71008         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71009         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71010         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71011         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71012         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71013         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71014         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71015         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71016         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71017         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71018         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71019         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71020         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71021         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71022         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71023         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71024         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71025         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71026         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71027         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71028         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71029         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71030         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71031         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71032         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71033         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71034         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71035         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71036         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71037         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71038         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71039         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71040         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71041         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71042         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71043         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71044         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71045         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71046         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71047         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71048         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71049         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71050         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71051         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71052         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71053         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71054         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71055         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71056         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71057         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71058         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71059         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71060         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71061         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71062         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71063         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71064         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71065         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71066         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71067         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71068         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71069         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71070         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71071         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71072         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71073         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71074         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71075         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71076         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71078         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71079         _XOPEN_SOURCE_EXTENDED for XPG4.
71081         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71083         * Makeconfig (localtime): Remove variable.
71084         (inst_localtime-file): Likewise.
71086 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71089         Update.
71090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71091         Update.
71092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71093         Update.
71094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71095         Update.
71096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71097         Update.
71098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71099         Update.
71100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71101         Update.
71102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71103         Update.
71104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71105         Update.
71107 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71109         [BZ #2550]
71110         [BZ #2570]
71111         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71112         comparisons to determine direction to adjust input.
71113         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71114         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71115         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71116         Likewise.
71117         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71118         Likewise.
71119         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71120         Likewise.
71121         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71122         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71123         Likewise.
71124         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71125         Likewise.
71126         * math/libm-test.inc (nexttoward_test): Add more tests.
71128 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71130         [BZ #14040]
71131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71132         in version GLIBC_2.1, not GLIBC_2.0.
71133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71134         Likewise.
71136 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71138         [BZ #13942]
71139         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71140         (1 - x) * (1 + x).
71141         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71142         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71143         * math/libm-test.inc (acos_test): Add more tests.
71144         (asin_test): Likewise.
71145         * sysdeps/i386/fpu/libm-test-ulps: Update.
71146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71148         [BZ #14034]
71149         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71150         of square root.
71151         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71152         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71153         * math/libm-test.inc (acos_test_tonearest): New function.
71154         (acos_test_towardzero): Likewise.
71155         (acos_test_downward): Likewise.
71156         (acos_test_upward): Likewise.
71157         (asin_test_tonearest): Likewise.
71158         (asin_test_towardzero): Likewise.
71159         (asin_test_downward): Likewise.
71160         (asin_test_upward): Likewise.
71161         (main): Call the new functions.
71162         * sysdeps/i386/fpu/libm-test-ulps: Update.
71163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71165         [BZ #13884]
71166         [BZ #13924]
71167         * math/e_exp10.c: Include <float.h>.
71168         (__ieee754_exp10): Handle underflow here rather than multiplying
71169         large negative argument by M_LN10.
71170         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71171         of __ieee754_expf.
71172         * math/e_exp10l.c: Include <float.h>.
71173         (__ieee754_exp10l): Handle underflow here rather than multiplying
71174         large negative argument by M_LN10l.
71175         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71176         spurious overflow exception on underflow.
71178 2012-04-29  Marek Polacek  <polacek@redhat.com>
71180         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71181         (__fortify_function): New macro.
71182         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71183         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71184         __extern_always_inline.
71185         * libio/bits/stdio2.h: Likewise.
71186         * libio/bits/stdio.h: Likewise.
71187         * string/string.h: Likewise.
71188         * string/bits/string3.h: Likewise.
71189         * include/stdio.h: Likewise.
71190         * stdlib/bits/stdlib.h: Likewise.
71191         * stdlib/stdlib.h: Likewise.
71192         * rt/bits/mqueue2.h: Likewise.
71193         * rt/mqueue.h: Likewise.
71194         * posix/bits/unistd.h: Likewise.
71195         * posix/unistd.h: Likewise.
71196         * io/bits/poll2.h: Likewise.
71197         * io/bits/fcntl2.h: Likewise.
71198         * io/fcntl.h: Likewise.
71199         * io/sys/poll.h: Likewise.
71200         * misc/bits/syslog.h: Likewise.
71201         * misc/bits/syslog-ldbl.h: Likewise.
71202         * misc/sys/syslog.h: Likewise.
71203         * socket/bits/socket2.h: Likewise.
71204         * socket/sys/socket.h: Likewise.
71205         * debug/tst-chk1.c: Likewise.
71206         * wcsmbs/bits/wchar2.h: Likewise.
71207         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71208         * wcsmbs/wchar.h: Likewise.
71210 2012-04-29  Andreas Jaeger  <aj@suse.de>
71212         * Makerules (tests): Remove enable-check-abi protection.
71213         (check-abi-warn): Remove.
71214         (check-abi-%): Remove check-abi-warn usage.
71216         * configure.in: Remove check-abi configure option.
71217         * configure: Regenerated.
71218         * config.make.in (enable-check-abi): Remove.
71220 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71222         [BZ #14033]
71223         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71224         double functions to double *_finite functions.
71226         [BZ #13941]
71227         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71228         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71229         LDBL_MIN_EXP.
71230         * stdio-common/Makefile (tests): Add tst-sprintf3.
71231         * stdio-common/tst-sprintf3.c: New file.
71233         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71234         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71236 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71238         * conform/conformtest.pl: Remove duplicate typed-constant
71239         handling.
71241 2012-04-28  David S. Miller  <davem@davemloft.net>
71243         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71244         (check-abi-%): Remove AWK script prerequisite and explicit
71245         abilist directory.
71246         (check-abi): Rewrite to just diff the symlist with the abilist.
71247         (config-tls, config-abi-config): Delete, no longer used.
71248         (update-abi-%): Remove AWK script and explicit abilist directory.
71249         (update-abi): Rewrite to simply compare and conditionally copy the
71250         symlist and the sysdep abilist file.  Remove update-abi-config
71251         checks.
71252         * abilist/ld.abilist: Remove.
71253         * abilist/libBrokenLocale.abilist: Remove.
71254         * abilist/libanl.abilist: Remove.
71255         * abilist/libcrypt.abilist: Remove.
71256         * abilist/libdl.abilist: Remove.
71257         * abilist/librt.abilist: Remove.
71258         * abilist/libthread_db.abilist: Remove.
71259         * abilist/libutil.abilist: Remove.
71260         * scripts/extract-abilist.awk: Remove.
71261         * scripts/merge-abilist.awk: Remove.
71262         * sysdeps/generic/libcidn.abilist: New file.
71263         * sysdeps/generic/libnss_compat.abilist: New file.
71264         * sysdeps/generic/libnss_db.abilist: New file.
71265         * sysdeps/generic/libnss_dns.abilist: New file.
71266         * sysdeps/generic/libnss_files.abilist: New file.
71267         * sysdeps/generic/libnss_hesiod.abilist: New file.
71268         * sysdeps/generic/libnss_nis.abilist: New file.
71269         * sysdeps/generic/libnss_nisplus.abilist: New file.
71270         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71271         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71272         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71273         file.
71274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71275         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71276         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71277         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71278         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71279         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71280         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71281         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71282         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71283         file.
71284         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71285         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71286         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71287         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71288         file.
71289         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71290         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71291         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71292         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71293         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71294         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71295         file.
71296         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71297         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71298         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71299         file.
71300         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71302         New file.
71303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71304         New file.
71305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71306         New file.
71307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71308         New file.
71309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71310         New file.
71311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71312         New file.
71313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71314         New file.
71315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71316         New file.
71317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71318         New file.
71319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71320         New file.
71321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71322         New file.
71323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71324         New file.
71325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71326         New file.
71327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71328         file.
71329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71330         New file.
71331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71332         New file.
71333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71334         file.
71335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71336         New file.
71337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71338         New file.
71339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71340         file.
71341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71342         New file.
71343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71344         New file.
71345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71346         New file.
71347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71348         New file.
71349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71350         New file.
71351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71352         New file.
71353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71355         file.
71356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71357         New file.
71358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71359         file.
71360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71361         file.
71362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71363         file.
71364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71365         file.
71366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71367         file.
71368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71369         New file.
71370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71371         file.
71372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71373         file.
71374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71375         New file.
71376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71377         file.
71378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71380         file.
71381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71382         New file.
71383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71384         file.
71385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71386         file.
71387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71388         file.
71389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71390         file.
71391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71392         file.
71393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71394         New file.
71395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71396         file.
71397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71398         file.
71399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71400         New file.
71401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71402         file.
71403         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71404         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71405         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71406         file.
71407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71408         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71409         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71411         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71412         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71413         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71414         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71415         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71416         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71419         file.
71420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71421         New file.
71422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71423         file.
71424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71425         file.
71426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71427         file.
71428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71429         file.
71430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71431         file.
71432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71433         New file.
71434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71435         New file.
71436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71437         file.
71438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71439         New file.
71440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71441         file.
71442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71444         file.
71445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71446         New file.
71447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71448         file.
71449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71450         file.
71451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71452         file.
71453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71454         file.
71455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71456         file.
71457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71458         New file.
71459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71460         New file.
71461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71462         file.
71463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71464         New file.
71465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71466         file.
71468 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71470         * conform/conformtest.pl: Fix typo in handling typed-constant from
71471         allow-header.
71473 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71475         * README: Cut down references to pre-2.6 Linux kernels and
71476         Linuxthreads.  Update lists of configurations in libc and ports
71477         and sort alphabetically.  Say "or newer" with Linux kernel version
71478         requirements.
71480         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71482 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71484         [BZ #887]
71485         * math/libm-test.inc (logb_test_downward): New test to expose
71486         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71487         rounding mode.
71489 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71491         [BZ #14027]
71492         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71493         to be done.
71494         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71495         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71497 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71499         * sysdeps/unix/i386/brk.S: Remove file.
71500         * sysdeps/unix/i386/dl-brk.S: Likewise.
71501         * sysdeps/unix/i386/pipe.S: Likewise.
71502         * sysdeps/unix/i386/sigreturn.S: Likewise.
71503         * sysdeps/unix/i386/syscall.S: Likewise.
71504         * sysdeps/unix/i386/vfork.S: Likewise.
71505         * sysdeps/unix/i386/wait.S: Likewise.
71507         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71508         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71510         * configure.in (arm*-none*): Do not allow without
71511         --enable-hacker-mode.
71512         (netbsd*): Remove case setting base_os.
71513         (386bsd*): Likewise.
71514         (freebsd*): Likewise.
71515         (bsdi*): Likewise.
71516         (osf*): Likewise.
71517         (sunos*): Likewise.
71518         (ultrix*): Likewise.
71519         (newsos*): Likewise.
71520         (dynix*): Likewise.
71521         (*bsd*): Likewise.
71522         (sysv*): Likewise.
71523         (isc*): Likewise.
71524         (esix*): Likewise.
71525         (sco*): Likewise.
71526         (minix*): Likewise.
71527         (irix4*): Likewise.
71528         (irix6*): Likewise.
71529         (solaris[2-9]*): Likewise.
71530         (none): Likewise.
71531         * configure: Regenerated.
71533 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71535         [BZ #11521]
71536         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71537         overflow or cancellation in calculating denominator.
71538         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71539         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71540         down expression to avoid unexpected rounding in newer GCCs.
71541         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71543 2012-04-26  David S. Miller  <davem@davemloft.net>
71545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71546         long-double compat symbols.
71547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71561 2012-04-25  David S. Miller  <davem@davemloft.net>
71563         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71564         HWCAP_* values only after the memory barriers have been defined.
71565         (atomic_full_barrier): Define.
71566         (atomic_read_barrier): Define.
71567         (atomic_write_barrier): Define.
71569 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71571         * shlib-versions: Add libgcc_s version information.
71572         * sysdeps/generic/libgcc_s.h: Remove.
71573         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71574         libgcc_s.h.
71575         * sysdeps/gnu/unwind-resume.c: Likewise.
71576         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71578 2012-04-25  David S. Miller  <davem@davemloft.net>
71580         * sysdeps/unix/sparc/brk.S: Delete.
71581         * sysdeps/unix/sparc/dl-brk.S: Delete.
71582         * sysdeps/unix/sparc/pipe.S: Delete.
71583         * sysdeps/unix/sparc/sysdep.S: Delete.
71584         * sysdeps/unix/sparc/sysdep.h: Delete.
71585         * sysdeps/unix/sparc/vfork.S: Delete.
71586         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71587         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71588         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71589         (ret_ERRVAL, r0, r1, MOVE): Define.
71590         (JUMPTARGET): Remove.
71591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71592         sysdeps/unix/sparc/sysdep.h
71593         (ENTRY, END): Remove.
71594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71596 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71598         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71599         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71600         -DIS_IN_build.
71602         * timezone/README: Update upstream location and email address for
71603         tzcode and tzdata.
71604         * timezone/zdump.c: Update from tzcode 2012b.
71605         * timezone/zic.c: Likewise.
71607         * configure.in (libc_cv_as_needed): Remove test.
71608         * configure: Regenerated.
71609         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71610         conditional definition.
71611         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71612         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71613         * config.make.in (have-as-needed): Remove variable.
71615 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71616             Paul Pluzhnikov  <ppluzhnikov@google.com>
71618         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71619         strings correctly.
71621 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71623         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71624         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71625         * sysdeps/sh/strlen.S: Likewise.
71627 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71629         * sysdeps/unix/fork.S: Remove file.
71630         * sysdeps/unix/i386/fork.S: Likewise.
71631         * sysdeps/unix/sparc/fork.S: Likewise.
71633         * sysdeps/unix/system.c: Remove file.
71634         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71636         * sysdeps/unix/getegid.S: Remove file.
71637         * sysdeps/unix/geteuid.S: Likewise.
71639 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71641         * scripts/check-localplt.awk: New file.
71642         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71643         of diff.
71644         * scripts/data/localplt-generic.data: Add a comment.
71646         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71647         NODE when __dir_mkfile failed.
71648         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71649         Reported by Ludovic Courtès <ludo@gnu.org>.
71651 2012-04-24  Andreas Jaeger  <aj@suse.de>
71653         * Makerules (common-clean): Also remove gen-as-const-headers
71654         files.
71656 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71658         * Makerules (native-compile): Do not change working directory for
71659         build.  Use $(OUTPUT_OPTION) in command.
71660         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71662 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71664         [BZ #13886]
71665         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71666         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71667         * math/libm-test.inc (floor_test): Add more tests.
71668         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71670 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71672         * sysdeps/unix/getdents.c: Remove file.
71673         * sysdeps/unix/sysv/getdents.c: Likewise.
71674         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71676         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71677         sysdeps/unix/mman/syscalls.list.
71678         (mmap): Likewise.
71679         (mprotect): Likewise.
71680         (msync): Likewise.
71681         (munmap): Likewise.
71682         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71683         * sysdeps/unix/mman/syscalls.list: Remove.
71684         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71686         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71687         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71688         * configure: Regenerated.
71689         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71690         $(libgcc_s_suffix).
71691         * config.make.in (libgcc_s_suffix): Remove variable.
71693 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71695         * sysdeps/unix/sysv/gethostname.c: Move to ...
71696         * sysdeps/posix/gethostname.c: ... here.
71698         * sysdeps/unix/execve.S: Remove file.
71700         * sysdeps/unix/_exit.S: Remove file.
71702 2012-04-23  Andreas Jaeger  <aj@suse.de>
71704         [BZ #13739]
71705         * manual/Makefile: Remove make dist support, there's no
71706         need for a stand-alone documentation tar ball.
71707         (TEXI2DVI): Define always, it's not in Makeconfig.
71708         (dist): Removed.
71709         (tar-it): Removed.
71710         (edition): Removed.
71711         (glibc-doc-$(edition).tar): Removed
71712         (%.Z): Removed.
71713         (%.gz): Removed.
71714         (%.uu): Removed.
71715         (ETAGS): Remove, it's in Makeconfig.
71716         (move-if-change): Remove, it's in Makeconfig.
71718 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71720         [BZ #13970]
71721         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71722         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71723         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71724         (strtod_l, strtof_l, strtold_l): Remove __wur.
71725         It is not necessarily an error to ignore strtol's return value.
71726         One can reliably look at the stored endptr to decide whether
71727         the number had valid syntax.
71729 2012-04-21  Andreas Jaeger  <aj@suse.de>
71731         [BZ #13739]
71732         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71734 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71736         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71737         * sysdeps/unix/sysv/Versions: Remove file.
71739 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71741         [BZ #13927]
71742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71744 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71746         [BZ #7064]
71747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71748         version from __vm86.
71750 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71752         * sysdeps/unix/common/lxstat.c: Remove file.
71753         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71755         * sysdeps/unix/sysv/Makefile: Remove file.
71757         * sysdeps/unix/sysv/direct.h: Remove file.
71759         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71760         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71761         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71762         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71763         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71764         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71765         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71767         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71769         * sysdeps/unix/xmknod.c: Remove file.
71770         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71772         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71774         * sysdeps/unix/sysv/i386/time.S: Remove file.
71776         * sysdeps/unix/fxstat.c: Remove file.
71777         * sysdeps/unix/xstat.c: Likewise.
71778         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71780         * sysdeps/unix/sysv/sigaction.c: Remove file.
71782         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71783         (sysdep_headers): Remove variable.
71784         [termio.h not in sysdep_headers] (generated): Likewise.
71785         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71786         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71787         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71788         * sysdeps/unix/sysv/tcflow.c: Likewise.
71789         * sysdeps/unix/sysv/tcflush.c: Likewise.
71790         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71791         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71792         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71793         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71794         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71796         * sysdeps/unix/siglist.c: Remove file.
71798         * sysdeps/unix/getppid.S: Remove file.
71800         * sysdeps/unix/mkdir.c: Remove file.
71801         * sysdeps/unix/rmdir.c: Likewise.
71803 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71805         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71806         ERR_MAX value.
71807         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71808         errlist-compat value.
71810 2012-04-18  David S. Miller  <davem@davemloft.net>
71812         * sysdeps/generic/memcopy.h (reg_char): Delete.
71813         * debug/strcat_chk.c: Use char, not reg_char.
71814         * debug/strcpy_chk.c: Likewise.
71815         * debug/strncat_chk.c: Likewise.
71816         * debug/strncpy_chk.c: Likewise.
71817         * string/memchr.c: Likewise.
71818         * string/memrchr.c: Likewise.
71819         * string/rawmemchr.c: Likewise.
71820         * string/strcat.c: Likewise.
71821         * string/strchr.c: Likewise.
71822         * string/strchrnul.c: Likewise.
71823         * string/strcmp.c: Likewise.
71824         * string/strcpy.c: Likewise.
71825         * string/strncat.c: Likewise.
71826         * string/strncmp.c: Likewise.
71827         * string/strncpy.c: Likewise.
71829 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71831         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71832         __builtin_memcopy is called when src and dest ranges are known to not
71833         overlap.
71835 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71837         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71838         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71839         fwd_align_merge macro call.
71840         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71841         bwd_align_merge macro call.
71842         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71844 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71846         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71847         bwd_align_merge macros.
71848         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71849         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71850         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71852 2012-04-18  David S. Miller  <davem@davemloft.net>
71854         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71856 2012-04-18  Andreas Jaeger  <aj@suse.de>
71858         [BZ# 6794]
71859         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71860         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71863         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71864         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71865         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71867         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71868         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71869         Adjust for changed ldbl-128 files.
71871         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71872         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71873         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71875 2012-04-17  David S. Miller  <davem@davemloft.net>
71877         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71879 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71881         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71882         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71883         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71884         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71885         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71886         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71888 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71890         [BZ #6794]
71891         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71892         * math/libm-test.inc: Add ilogb errno and exception tests.
71893         * math/w_ilogb.c: New file: ilogb wrapper.
71894         * math/w_ilogbf.c: New file: ilogbf wrapper.
71895         * math/w_ilogbl.c: New file: ilogbl wrapper.
71896         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71897         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71898         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71899         exception being thrown with 0.0 as argument.
71900         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71901         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71902         exception being thrown with 0.0 as argument.
71903         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71904         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71905         exception being thrown with 0.0 as argument.
71906         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71907         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71908         exception being thrown with 0.0 as argument.
71909         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71910         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71911         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71912         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71913         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71914         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71915         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71916         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71917         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71919 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71921         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71922         with altivec.
71924 2012-04-16  Marek Polacek  <polacek@redhat.com>
71926         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71928 2012-04-16  Marek Polacek  <polacek@redhat.com>
71930         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71931         operands of fdivp instruction.
71933 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71935         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71936         * elf/tst-auditmod3b.c: Likewise.
71937         * elf/tst-auditmod4b.c: Likewise.
71938         * elf/tst-auditmod5b.c: Likewise.
71939         * elf/tst-auditmod6b.c: Likewise.
71940         * elf/tst-auditmod6c.c: Likewise.
71941         * elf/tst-auditmod7b.c: Likewise.
71942         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71943         * sysdeps/x86_64/preconfigure.in: Likewise.
71944         * sysdeps/x86_64/preconfigure: Regenerated.
71946 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71948         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71949         __ILP32__.
71951 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71954         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71956 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71958         [BZ #13973]
71959         * locale/iso-639.def: Fix gl language name. Spotted by
71960         Yaron Shahrabani.
71962 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71964         [BZ #2074]
71965         * libio/libio.h (__io_write_fn): Update comment.
71967 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71969         [BZ #2074]
71970         * stdio.texi (Hook Functions): The user provided writer function
71971         is not allowed to return -1.
71973 2012-04-11  David S. Miller  <davem@davemloft.net>
71975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71977 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71979         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71980         Add a leading slash to rtkaio.
71982 2012-04-11  Jim Meyering  <meyering@redhat.com>
71984         [BZ #11959]
71985         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71986         It is not necessarily an error to ignore fwrite's return
71987         value.  One can reliably use ferror to test for errors after
71988         the fact.
71990 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71992         * bits/types.h (__snseconds_t): New type.
71993         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71995         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71996         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71997         (__SNSECONDS_T_TYPE): Likewise.
71998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71999         (__SNSECONDS_T_TYPE): Likewise.
72000         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72001         (__SNSECONDS_T_TYPE): Likewise.
72003 2012-04-10  Andreas Jaeger  <aj@suse.de>
72005         [BZ #2636]
72006         * manual/time.texi (Processor Time): Return type of times is
72007         elapsed real time since an arbitrary point in the past.
72008         (CPU Time): Move CLK_TCK from here...
72009         (Processor Time): ...to here.  Correct description.
72010         * manual/conf.texi (Constants for Sysconf): Correct description of
72011         _SC_CLK_TCK.
72013 2012-04-10  David S. Miller  <davem@davemloft.net>
72015         [BZ #13967]
72016         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72017         where the is a gap between DT_REL(A) and DT_JMPREL.
72019 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72021         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72022         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72023         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72025 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72027         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72028         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72029         (dl_main): Handle --inhibit-cache.
72030         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72031         _dl_inhibit_cache.
72032         * elf/dl-load.c (_dl_map_object): Use it.
72033         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72035 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72037         [BZ #13872]
72038         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72039         (__ieee754_powl): Saturate large exponents rather than testing for
72040         overflow of y*log2(x).
72041         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72042         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72043         exceptions.
72045         [BZ #11521]
72046         * math/s_ctan.c: Include <float.h>.
72047         (__ctan): Avoid internal overflow or cancellation in calculating
72048         denominator.
72049         * math/s_ctanf.c: Likewise.
72050         * math/s_ctanl.c: Likewise.
72051         * math/s_ctanh.c: Likewise.
72052         * math/s_ctanhf.c: Likewise.
72053         * math/s_ctanhl.c: Likewise.
72054         * math/libm-test.inc (ctan_test): Add more tests.
72055         (ctanh_test): Likewise.
72056         * sysdeps/i386/fpu/libm-test-ulps: Update.
72057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72059 2012-04-09  Andreas Jaeger  <aj@suse.de>
72061         [BZ #6894]
72062         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72063         is an optional BSD extension.
72065         [BZ #10254]
72066         * manual/stdio.texi (Opening Streams): Document additional fopen
72067         parameters.
72069 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72071         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72072         %eax without telling the compiler.
72074 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72076         [BZ # 13963]
72077         * manual/install.texi: Use sourceware.org.
72079 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72081         [BZ #13873]
72082         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72083         (__ieee754_pow): Generate overflow and underflow using huge*huge
72084         and tiny*tiny rather than just returning constant infinity or zero
72085         for large exponents.
72086         * math/libm-test.inc (pow_test): Require overflow exceptions for
72087         applicable cases of large exponents.
72089         [BZ #706]
72090         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72091         (__ieee754_pow): Use iterative multiplication algorithm only for
72092         integer exponents with absolute value below 1024.  Check for odd
72093         integer exponents when using algorithm for real exponents.
72094         * math/libm-test.inc (pow_test): Add more tests.
72095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72097 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72099         [BZ #13705]
72100         * math/libm-test.inc (exp_test): Do not allow overflow exception
72101         on underflow test.
72103 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72105         [BZ #13705]
72106         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72107         instead of __kernel_standard_f.
72109 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72111         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72112         * sysdeps/x86_64/memset_chk.S: Likewise.
72114 2012-04-08  Andreas Jaeger  <aj@suse.de>
72116         [BZ #10153]
72117         * manual/startup.texi (Environment Access): Describe return value
72118         for putenv and setenv.
72120         [BZ #6895]
72121         * manual/filesys.texi (Directory Entries): Add description for
72122         DT_LNK.
72124         [BZ #6890]
72125         * manual/filesys.texi (Directory Entries): Clarify that it's file
72126         system not operating system in the description of DT_UNKNOWN.
72128         [BZ #6578]
72129         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72131 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72133         [BZ #6649]
72134         * manual/llio.texi (Opening and Closing Files): Add cross
72135         reference to explain mode argument.
72137 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72139         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72140         * sysdeps/x86_64/memset_chk.S: Likewise.
72142 2012-04-07  David S. Miller  <davem@davemloft.net>
72144         * elf/elf.h (R_SPARC_WDISP10): Define.
72145         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72146         R_SPARC_SIZE32.
72147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72148         R_SPARC_SIZE64 and R_SPARC_H34.
72150 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72153         conditions and remove no longer applicable assertion.
72155 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72157         * bits/byteswap.h: Include <features.h>.
72158         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72159         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72161 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72163         * bits/byteswap.h (__bswap_16): Removed.
72164         Include <bits/byteswap-16.h> to get __bswap_16.
72165         * sysdeps/i386/bits/byteswap.h: Likewise.
72166         * sysdeps/s390/bits/byteswap.h: Likewise.
72167         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72168         * bits/byteswap-16.h: New file.
72169         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72170         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72171         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72172         * string/Makefile (headers): Add bits/byteswap-16.h.
72174 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72176         [BZ #13895]
72177         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72178         extra indirection.
72179         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72180         * nss/tst-nss-static.c: New.
72182 2012-04-06  Robert Millan  <rmh@gnu.org>
72184         [BZ #6486]
72185         * manual/llio.texi (File Position Primitive): lseek
72186         refers to WHENCE when it really means OFFSET.
72188 2012-04-06  Andreas Jaeger  <aj@suse.de>
72190         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72191         strncmp declarations.
72193         * abilist/libc.abilist: Add __poll and __ppoll.
72195 2012-04-05  David S. Miller  <davem@davemloft.net>
72197         * scripts/check-local-headers.sh: Accept a host triplet in the
72198         path matched by the exclude regexp.
72200         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72201         definition.
72202         * sysdeps/powerpc/powerpc32/dl-machine.h
72203         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72204         * sysdeps/s390/s390-32/dl-machine.h
72205         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72206         * sysdeps/sparc/sparc32/dl-machine.h
72207         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72208         * sysdeps/sparc/sparc64/dl-machine.h
72209         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72211         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72212         lazy binding.
72213         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72214         undefined symbol errors.
72216         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72217         DT_NEEDED entries.
72219 2012-04-05  Michael Matz  <matz@suse.de>
72221         [BZ #13592]
72222         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72224 2012-04-05  Andreas Jaeger  <aj@suse.de>
72226         [BZ #13908]
72227         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72228         comment.
72230 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72232         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72233         which ROUND is no valid rounding mode.
72235 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72237         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72238         read again.
72239         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72241 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72243         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72244         an exception using FPU order intentionally.
72246 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72248         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72249         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72250         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72251         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72253 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72255         [BZ #12340]
72256         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72257         EINVAL when BUFLEN is too smal.
72259 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72261         [BZ #13553]
72262         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72263         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72265 2012-04-03  Andreas Jaeger  <aj@suse.de>
72267         [BZ #13938]
72268         * manual/setjmp.texi (System V contexts): Fix sentence.
72270         [BZ #13926]
72271         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72272         New macro for this case.
72273         [!__GNUC__] (__bswap_64): New inline function for this case.
72274         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72275         * bits/byteswap.h: Likewise.
72276         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72277         ull, guard with __GLIBC_HAVE_LONG_LONG.
72279         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72280         __GLIBC_HAVE_LONG_LONG.
72282         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72283         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72285 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72287         [BZ #13691]
72288         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72289         inptr and inend, rather than using last_ch.
72291 2012-04-02  David S. Miller  <davem@davemloft.net>
72293         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72294         * stdio-common/printf-parse.h (read_int): Change return type to
72295         'int', return -1 on INT_MAX overflow.
72296         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72297         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72298         overflows INT_MAX.  Check for overflow of in-format-string precision
72299         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72300         SIZE_MAX not INT_MAX for integer overflow test.
72301         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72302         skip the construct in the format string but do not record anything.
72303         * stdio-common/bug22.c: Adjust to test both width/prevision
72304         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72305         explicitly for proper errno values.
72307 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72309         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72310         CHAR_MAX.
72311         * string/test-strcmp.c [! WIDE]: Likewise.
72312         * time/tst-mktime2.c: Likewise for INT_MAX.
72313         * string/test-string.h: #include <sys/param.h> for MIN.
72315         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72316         * sysdeps/i386/init-first.c (init): Likewise.
72317         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72318         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72319         * sysdeps/sh/init-first.c (init): Likewise.
72321 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72323         * po/ru.po: Update from translation team.
72324         * po/vi.po: Likewise.
72326 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72328         * resolv/nss_dns/dns-host.c: Merge copyright years.
72330 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72333         Optimize memcpy with prefetch if
72334         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72335         src, dst pointers have unequal 16 byte alignments.
72337 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72339         [BZ #13928]
72340         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72341         from a CNAME entry and return the minimum ttl for the query.
72342         (gaih_getanswer_slice): Likewise.
72344 2012-03-30  Jeff Law  <law@redhat.com>
72346         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72347         due to long keys.
72348         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72349         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72351         * resolv/nss_dns/dns-host.c: Update copyright year.
72353 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72355         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72356         requests to save a system call.  Fix check that all bytes are sent.
72358         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72359         comments for sendmmsg.
72361 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72363         [BZ #13691]
72364         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72365         with only 1 character between 0x0041 and 0x01b0.
72366         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72367         * wcsmbs/tst-mbsnrtowcs.c: New file.
72369 2012-03-29  David S. Miller  <davem@davemloft.net>
72371         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72372         small copies by hand.
72374 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72376         [BZ #13761]
72377         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72378         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72379         group memberships.
72381 2012-03-28  David S. Miller  <davem@davemloft.net>
72383         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72384         that branches into memcpy.
72385         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72386         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72388         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72390         bits.
72391         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72392         implementation too.
72393         * sysdeps/sparc/mempcpy.S: New file.
72395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72396         the IFUNC routine in the libc case.
72397         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72399         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72400         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72401         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72402         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72403         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72404         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72405         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72406         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72408         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72409         loop to 256 bytes instead of 64 bytes and fix test signedness.
72411         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72412         * sysdeps/sparc/sparc32/Makefile: rather than here...
72413         * sysdeps/sparc/sparc64/Makefile: and here.
72415 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72417         * malloc/mallocbug.c: Avoid warnings about unused variables.
72419 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72421         [BZ #13760]
72422         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72423         in the right place. Discard and retry query if response is
72424         larger than input buffer size.
72426 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72428         [BZ #369]
72429         [BZ #2678]
72430         [BZ #3866]
72431         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72432         x for large integer exponent.
72433         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72434         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72435         sign of result as needed afterwards.
72436         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72437         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72438         result for underflowing pow the same as for overflow.
72439         (__kernel_standard_l): Handle powl overflow and underflow here
72440         rather than calling __kernel_standard.
72441         * math/libm-test.inc (pow_test): Add more tests.
72443         [BZ #3868]
72444         [BZ #13879]
72445         [BZ #13910]
72446         [BZ #13911]
72447         [BZ #13912]
72448         [BZ #13913]
72449         [BZ #13915]
72450         [BZ #13916]
72451         [BZ #13917]
72452         [BZ #13918]
72453         [BZ #13919]
72454         [BZ #13920]
72455         [BZ #13921]
72456         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72457         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72458         (__kernel_standard_l): New function.
72459         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72460         __kernel_standard.
72461         * math/w_acosl.c (__acosl): Likewise.
72462         * math/w_asinl.c (__asinl): Likewise.
72463         * math/w_atan2l.c (__atan2l): Likewise.
72464         * math/w_atanhl.c (__atanhl): Likewise.
72465         * math/w_coshl.c (__coshl): Likewise.
72466         * math/w_exp10l.c (__exp10l): Likewise.
72467         * math/w_exp2l.c (__exp2l): Likewise.
72468         * math/w_fmodl.c (__fmodl): Likewise.
72469         * math/w_hypotl.c (__hypotl): Likewise.
72470         * math/w_j0l.c (__j0l, __y0l): Likewise.
72471         * math/w_j1l.c (__j1l, __y1l): Likewise.
72472         * math/w_jnl.c (__jnl, __ynl): Likewise.
72473         * math/w_lgammal.c (__lgammal): Likewise.
72474         * math/w_log10l.c (__log10l): Likewise.
72475         * math/w_log2l.c (__log2l): Likewise.
72476         * math/w_logl.c (__logl): Likewise.
72477         * math/w_powl.c (__powl): Likewise.
72478         * math/w_remainderl.c (__remainderl): Likewise.
72479         * math/w_scalbl.c (sysv_scalbl): Likewise.
72480         * math/w_sinhl.c (__sinhl): Likewise.
72481         * math/w_sqrtl.c (__sqrtl): Likewise.
72482         * math/w_tgammal.c (__tgammal): Likewise.
72483         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72484         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72485         * math/libm-test.inc (acos_test): Add more tests.
72486         (acosh_test): Likewise.
72487         (asin_test): Likewise.
72488         (atanh_test): Likewise.
72489         (exp_test): Likewise.
72490         (exp10_test): Likewise.
72491         (exp2_test): Likewise.
72492         (expm1_test): Likewise.
72493         (lgamma_test): Likewise.
72494         (log_test): Likewise.
72495         (log10_test): Likewise.
72496         (log1p_test): Likewise.
72497         (log2_test): Likewise.
72498         (pow_test): Do not allow some spurious overflow exceptions.
72499         (sqrt_test): Add more tests.
72500         (tgamma_test): Likewise.
72501         (y0_test): Likewise.
72502         (y1_test): Likewise.
72503         (yn_test): Likewise.
72505 2012-03-27  Anton Blanchard  <anton@samba.org>
72507         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72508         MAP_HUGETLB.
72509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72511         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72513 2012-03-27  David S. Miller  <davem@davemloft.net>
72515         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72517         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72518         have-as-vis3 check.
72520 2012-03-27  Andreas Jaeger  <aj@suse.de>
72522         * sysdeps/x86_64/elf/configure.in: Moved to ...
72523         * sysdeps/x86_64/configure.in: ... here.
72524         * sysdeps/x86_64/elf/start.S: Moved to ...
72525         * sysdeps/x86_64/start.S: ... here.
72526         * sysdeps/x86_64/elf/configure: Delete.
72528         * sysdeps/x86_64/configure.in: Merge contents from
72529         sysdeps/i386/configure.in (without i686 check).
72531         * sysdeps/i386/elf/Versions: Merge into ...
72532         * sysdeps/i386/Versions: ... this.
72533         * sysdeps/i386/elf/Versions: Delete file.
72534         * sysdeps/i386/elf/start.S: Moved to ...
72535         * sysdeps/i386/start.S: ...here.
72536         * sysdeps/i386/elf/configure.in: Merge into...
72537         * sysdeps/i386/configure.in: ...here.
72538         * sysdeps/i386/elf/configure.in: Delete file.
72539         * sysdeps/i386/elf/configure: Delete file.
72541         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72542         * debug/backtracesyms.c: ... here.
72543         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72544         * debug/backtracesymsfd.c: ... here.
72545         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72546         * sysdeps/generic/ifunc-sel.h: ... here.
72548         * sysdeps/unix/i386/start.c: Delete file.
72549         * sysdeps/unix/sparc/start.c: Delete file.
72550         * sysdeps/unix/start.c: Delete file.
72552         * sysdeps/sh/elf/configure.in: Moved to ...
72553         * sysdeps/sh/configure.in: ... here.
72554         * sysdeps/sh/elf/start.S: Moved to ...
72555         * sysdeps/sh/start.S: ... here.
72556         * sysdeps/sh/elf/configure: Delete file.
72558         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72559         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72560         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72561         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72562         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72563         * sysdeps/powerpc/powerpc64/start.S: here.
72564         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72565         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72566         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72567         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72568         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72570         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72571         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72572         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72573         * sysdeps/powerpc/powerpc32/start.S: ... here.
72574         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72575         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72576         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72578         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72579         * sysdeps/powerpc/ifunc-sel.h: ... here.
72580         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72581         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72583         * sysdeps/sparc/elf/configure.in: Moved to ...
72584         * sysdeps/sparc/configure.in: ... here.
72585         * sysdeps/sparc/elf/configure: Delete file.
72586         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72587         * sysdeps/sparc/sparc32/start.S: ... here.
72588         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72589         * sysdeps/sparc/sparc64/start.S: ... here.
72590         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72591         * sysdeps/sparc/sparc32/Makefile: ... this.
72592         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72593         * sysdeps/sparc/sparc64/Makefile: ... this.
72595         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72596         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72597         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72598         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72599         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72600         * sysdeps/s390/s390-32/setjmp.S: ... here.
72601         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72602         * sysdeps/s390/s390-32/configure.in: ... here.
72603         * sysdeps/s390/s390-32/elf/configure: Delete file.
72604         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72605         * sysdeps/s390/s390-32/start.S: ... here.
72607         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72608         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72609         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72610         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72611         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72612         * sysdeps/s390/s390-64/setjmp.S: ... here.
72613         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72614         * sysdeps/s390/s390-64/configure.in: ... here
72615         * sysdeps/s390/s390-64/elf/configure: Delete file.
72616         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72617         * sysdeps/s390/s390-64/start.S: ... here.
72618         * sysdeps/s390/s390-64/elf/configure: Delete.
72620         * configure.in: Remove support for elf directories in sysdeps.
72622         * configure: Regenerated.
72623         * sysdeps/i386/configure: Regenerated.
72624         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72625         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72626         * sysdeps/s390/s390-32/configure: Regenerated.
72627         * sysdeps/s390/s390-64/configure: Regenerated.
72628         * sysdeps/sh/configure: Regenerated.
72629         * sysdeps/sparc/configure: Regenerated.
72630         * sysdeps/x86_64/configure: Regenerated.
72632 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72636         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72637         denormal result into account.
72639 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72641         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72642         Reported by Allan McRae <allan@archlinux.org>.
72644 2012-03-23  Jeff Law  <law@redhat.com>
72646         * nss/getnssent.c (__nss_getent): Fix typo.
72648 2012-03-23  David S. Miller  <davem@davemloft.net>
72650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72652 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72654         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72655         to pad to uint64_t for each field.
72656         (dl_tls_index): Replace unsigned long with uint64_t.
72658 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72659         Paul Pluzhnikov  <ppluzhnikov@google.com>
72661         [BZ #6528]
72662         * grp/Makefile (otherlibs): Don't set it.
72663         * inet/Makefile (otherlibs): Likewise.
72664         * login/Makefile (otherlibs): Likewise.
72665         * nscd/Makefile (otherlibs): Likewise.
72666         * posix/Makefile (otherlibs): Likewise.
72667         * pwd/Makefile (otherlibs): Likewise.
72668         * rt/Makefile (otherlibs): Likewise.
72669         * sunrpc/Makefile (otherlibs): Likewise.
72670         * nss/Makefile (otherlibs): Likewise.
72671         Add libnss_files to routines and static-only-routines.
72672         ($(objpfx)getent): Remove rule.
72673         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72674         static-only-routines.
72676 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72678         [BZ #13892]
72679         * math/s_cexp.c: Include <float.h>.
72680         (__cexp): Handle exp result overflowing not necessarily
72681         overflowing both real and imaginary parts of result.
72682         * math/s_cexpf.c: Likewise.
72683         * math/s_cexpl.c: Likewise.
72684         * math/libm-test.inc (cexp_test): Add more tests.
72685         * sysdeps/i386/fpu/libm-test-ulps: Update.
72686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72688 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72690         * include/link.h (ELFW): New macro.
72691         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72692         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72694 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72696         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72697         with uint64_t.
72699 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72701         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72702         declaration.
72703         (struct La_x32_retval): Likewise.
72705 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72707         * sysdeps/x86_64/preconfigure.in: New file.
72708         * sysdeps/x86_64/preconfigure: New generated file.
72710 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72712         [BZ #13824]
72713         * math/e_exp2l.c: Include <float.h>.
72714         (__ieee754_exp2l): Handle overflow and underflow cases
72715         separately.  Only pass fractional part of argument to
72716         __ieee754_expl.
72717         * math/libm-test.inc (exp2_test): Add more tests.
72719         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72720         negating x to take absolute value.
72721         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72722         Likewise.
72723         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72725         Likewise.
72726         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72727         computing low part if x was negated.
72728         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72730 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72732         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72733         la_x32_gnu_pltexit.
72734         (pltexit): Cast int_retval to ptrdiff_t.
72735         * elf/tst-auditmod3b.c: Likewise.
72736         * elf/tst-auditmod4b.c: Likewise.
72737         * elf/tst-auditmod5b.c: Likewise.
72738         * elf/tst-auditmod6b.c: Likewise.
72739         * elf/tst-auditmod6c.c: Likewise.
72740         * elf/tst-auditmod7b.c: Likewise.
72742         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72743         and x32_gnu_pltexit.
72745         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72746         __ELF_NATIVE_CLASS.
72747         (La_x32_regs): New macro.
72748         (La_x32_retval): Likewise.
72749         (la_x32_gnu_pltenter): New function prototype.
72750         (la_x32_gnu_pltexit): Likewise.
72752 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72754         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72755         exponent.
72757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72759         * configure.in (libc_cv_cc_nofma): Check for option to disable
72760         generation of FMA instructions.
72761         * configure: Regenerate.
72762         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72763         * sysdeps/ieee754/dbl-64/Makefile: New file.
72764         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72765         Remove brandred-fma4.
72766         (CFLAGS-brandred-fma4.c): Remove.
72767         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72768         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72769         define.
72770         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72771         define.
72773 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72775         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72776         LLONG_MAX != LONG_MAX.
72777         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72778         (_fitoa_word): Likewise.
72779         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72780         LLONG_MAX != LONG_MAX.
72781         * stdio-common/_itowa.h: Include <_itoa.h>.
72782         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72783         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72784         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72785         only if not defined.
72786         (_ITOA_WORD_TYPE): Likewise.
72787         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72788         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72790 2012-03-21  David S. Miller  <davem@davemloft.net>
72792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72794 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72796         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72797         of x86_64 when setting libc_cv_slibdir, libdir and
72798         libc_cv_localedir.
72799         * sysdeps/unix/sysv/linux/configure: Regenerated.
72801 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72803         * manual/lang.texi (Old Varargs): Remove section.
72804         (How Variadic): Update menu.
72805         (va_start): Do not mention varargs.h.
72807 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72808             Joseph Myers  <joseph@codesourcery.com>
72810         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72811         link test.
72812         * configure: Regenerated.
72814 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72816         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72817         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72818         conformtest.pl
72820 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72822         * NOTES: Remove.
72823         * Makefile (files-for-dist): Remove NOTES.
72824         (NOTES): Remove rule.
72825         * README: Don't refer to NOTES.
72826         * manual/creature.texi: Don't include macros.texi.
72827         * manual/intro.texi (creature.texi): Remove comment referring to
72828         NOTES.
72830         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72831         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72832         * configure: Regenerated.
72833         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72834         LIBC_TRY_CC_OPTION.
72835         (libc_cv_as_i686): Likewise.
72836         (libc_cv_cc_avx): Likewise.
72837         (libc_cv_cc_sse2avx): Likewise.
72838         (libc_cv_cc_fma4): Likewise.
72839         (libc_cv_cc_novzeroupper): Likewise.
72840         * sysdeps/i386/configure: Regenerated.
72842         [BZ #13883]
72843         * sysdeps/i386/fpu/s_cexp.S: Remove.
72844         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72845         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72846         * math/libm-test.inc (cexp_test): Add more tests.
72847         * sysdeps/i386/fpu/libm-test-ulps: Update.
72848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72850 2012-03-21  Allan McRae  <allan@archlinux.org>
72852         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72854 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72856         [BZ #13871]
72857         * math/w_exp2.c: Do not include <float.h>.
72858         (o_threshold, u_threshold): Remove.
72859         (__exp2): Calculate result before checking finiteness and calling
72860         __kernel_standard.
72861         * math/w_exp2f.c: Likewise.
72862         * math/w_exp2l.c: Likewise.
72863         * math/libm-test.inc (exp2_test): Require overflow exception for
72864         1e6 input.
72866         [BZ #3866]
72867         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72868         range of signed 64-bit integers before using fistpll.  Remove
72869         checks for whether integers fit in mantissa bits.
72870         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72871         the range of signed 32-bit integers before using fistpl.  Remove
72872         checks for whether integers fit in mantissa bits.
72873         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72874         (__ieee754_powl): Test for y outside the range of signed 64-bit
72875         integers before using fistpll.  Reduce 64-bit values to 63-bit
72876         ones as needed.
72877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72878         divide-by-zero is raised for zero to large negative powers.
72879         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72880         (__ieee754_powl): Test for y outside the range of signed 64-bit
72881         integers before using fistpll.  Reduce 64-bit values to 63-bit
72882         ones as needed.
72883         * math/libm-test.inc (pow_test): Add more tests.
72885 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72887         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72888         <stdio-common/_itoa.h>.
72889         * debug/segfault.c: Likewise.
72890         * elf/dl-cache.c: Likewise.
72891         * elf/dl-minimal.c: Likewise.
72892         * elf/dl-misc.c: Likewise.
72893         * elf/dl-sysdep.c: Likewise.
72894         * elf/dl-version.c: Likewise.
72895         * elf/rtld.c: Likewise.
72896         * hurd/hurdsock.c: Likewise.
72897         * hurd/lookup-retry.c: Likewise.
72898         * malloc/malloc.c: Likewise.
72899         * malloc/mtrace.c: Likewise.
72900         * nscd/nscd_getgr_r.c: Likewise.
72901         * nscd/nscd_getpw_r.c: Likewise.
72902         * nscd/nscd_getserv_r.c: Likewise.
72903         * posix/getopt_init.c: Likewise.
72904         * posix/wordexp.c: Likewise.
72905         * stdio-common/_itoa.c: Likewise.
72906         * stdio-common/printf_fphex.c: Likewise.
72907         * stdio-common/vfprintf.c: Likewise.
72908         * string/_strerror.c: Likewise.
72909         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72910         * sysdeps/i386/i686/hp-timing.h: Likewise.
72911         * sysdeps/mach/_strerror.c: Likewise.
72912         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72913         * sysdeps/mach/hurd/sethostid.c: Likewise.
72914         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72915         * sysdeps/mach/xpg-strerror.c: Likewise.
72916         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72917         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72918         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72919         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72920         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72921         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72922         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72923         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72924         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72925         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72926         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72927         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72928         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72929         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72930         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72931         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72932         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72933         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72934         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72935         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72936         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72938         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72940         * stdio-common/_itoa.h: Moved to ...
72941         * sysdeps/generic/_itoa.h: Here.
72943         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72945         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72946         instead of "_itoa.h" and "_itowa.h".
72947         * stdio-common/vfprintf.: Likewise.
72949 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72951         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72952         <bits/wordsize.h>.
72953         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72954         (__signbit): Likwise.
72955         (llrintf): Likwise.
72956         (llrint): Likwise.
72958 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72960         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72961         __WORDSIZE != 64.
72963 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72965         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72966         OVERFLOW_EXCEPTION_OK.
72967         * math/libm-test.inc ("Philosophy"): Update comment about
72968         exception testing.
72969         (OVERFLOW_EXCEPTION): Define.
72970         (OVERFLOW_EXCEPTION_OK): Likewise.
72971         (INVALID_EXCEPTION_OK): Renumber.
72972         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72973         (IGNORE_ZERO_INF_SIGN): Likewise.
72974         (test_exceptions): Handle FE_OVERFLOW.
72975         (exp10_test): Expect overflow exceptions.
72976         (exp2_test): Likewise.
72977         (expm1_test): Likewise.
72978         (nextafter_test): Likewise.
72979         (pow_test): Likewise.
72980         (scalbn_test): Likewise.
72981         (scalbln_test): Likewise.
72983 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72985         * sysdeps/x86_64/bits/atomic.h
72986         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72987         64bit integer.
72988         (atomic_exchange_acq): Likewise.
72989         (__arch_exchange_and_add_body): Likewise.
72990         (__arch_add_body): Likewise.
72991         (atomic_add_negative): Likewise.
72992         (atomic_add_zero): Likewise.
72994 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72996         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72997         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72999 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73001         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73002         Check __x86_64__ instead of __WORDSIZE.
73004 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73006         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73008 2012-03-19  David S. Miller  <davem@davemloft.net>
73010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73012         * sysdeps/sparc/fpu/fenv_private.h: New file.
73013         * sysdeps/sparc/fpu/math_private.h: Use it.
73014         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73015         Remove.
73016         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73017         (libc_feholdexcept_setroundl): Remove.
73018         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73019         Remove.
73020         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73021         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73025         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73026         int64_t instead of long int.
73027         (INSERT_WORDS64): Likwise.
73029 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73031         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73032         _Unwind_GetCFA return to _Unwind_Ptr first.
73034 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73036         [BZ #13629]
73037         * math/s_clog.c: Include <float.h>.
73038         (__clog): Scale large or subnormal inputs.
73039         * math/s_clogf.c: Likewise.
73040         * math/s_clogl.c: Likewise.
73041         * math/s_clog10.c: Include <float.h>.
73042         (M_LOG10_2): Define.
73043         (__clog10): Scale large or subnormal inputs.
73044         * math/s_clog10f.c: Likewise.
73045         * math/s_clog10l.c: Likewise.
73046         * math/libm-test.inc (clog_test): Add more tests.
73047         (clog10_test): Likewise.
73048         * sysdeps/i386/fpu/libm-test-ulps: Update.
73049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73051         [BZ #11451]
73052         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73053         x and y.
73054         * math/libm-test.inc (atan2_test): Add another test.
73056         * Makerules (common-objdir-compile): Remove.
73057         * sysdeps/unix/Makefile (config-generated): Do not add
73058         $(unix-generated) to variable.
73059         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73060         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73061         Remove rule.
73062         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73063         Likewise.
73064         [generic bits/local_lim.h] (before-compile): Do not append to
73065         variable.
73066         [generic bits/local_lim.h] (common-generated): Likewise.
73067         [generic sys/param.h] (before-compile): Do not append to variable.
73068         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73069         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73070         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73071         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73072         include.
73073         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73074         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73075         [generic sys/param.h] ($(addprefix
73076         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73077         [generic sys/param.h] (common-generated): Do not append to
73078         variable.
73079         [generic sys/param.h] (sysdep_headers): Likewise.
73080         [generic bits/errno.h] (before-compile): Do not append to
73081         variable.
73082         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73083         rule.
73084         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73085         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73086         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73087         [generic bits/errno.h] (common-generated): Do not append to
73088         variable.
73089         [generic bits/ioctls.h] (before-compile): Do not append to
73090         variable.
73091         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73092         rule.
73093         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73094         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73095         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73096         rule.
73097         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73098         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73099         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73100         [generic bits/ioctls.h] (common-generated): Do not append to
73101         variable.
73102         [generic sys/syscall.h] (syscall.h): Remove variable.
73103         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73104         rule.
73105         [generic sys/syscall.h] (before-compile): Do not append to
73106         variable.
73107         [generic sys/syscall.h] (common-generated): Likewise.
73108         * sysdeps/unix/errnos-tmpl.c: Remove file.
73109         * sysdeps/unix/errnos.awk: Likewise.
73110         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73111         * sysdeps/unix/ioctls.awk: Likewise.
73112         * sysdeps/unix/mk-local_lim.c: Likewise.
73113         * sysdeps/unix/snarf-ioctls: Likewise.
73115 2012-03-19  Richard Henderson  <rth@twiddle.net>
73117         * sysdeps/i386/fpu/fenv_private.h: New file.
73118         * sysdeps/i386/fpu/math_private.h: Use it.
73119         (math_opt_barrier, math_force_eval): Remove.
73120         (libc_feholdexcept_setround_53bit): Remove.
73121         (libc_feupdateenv_53bit): Remove.
73122         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73123         (math_opt_barrier, math_force_eval): Remove.
73124         (libc_feholdexcept): Remove.
73125         (libc_feholdexcept_setround): Remove.
73126         (libc_fetestexcept, libc_fesetenv): Remove.
73127         (libc_feupdateenv_test): Remove.
73128         (libc_feupdateenv, libc_feholdsetround): Remove.
73129         (libc_feresetround): Remove.
73131         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73132         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73134         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73135         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73136         (libc_feupdateenv_testl): New.
73137         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73138         (libc_feupdateenv_testf): New.
73139         (libc_feupdateenv): Use libc_feupdateenv_test.
73140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73141         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73143         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73144         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73145         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73146         (libc_feresetround_noex): New.
73147         (libc_feresetround_noexf): New.
73148         (libc_feresetround_noexl): New.
73149         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73150         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73151         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73152         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73153         SET_RESTORE_ROUND.
73154         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73156         (__cos): Likewise.
73157         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73158         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73159         SET_RESTORE_ROUND_NOEX.
73160         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73161         SET_RESTORE_ROUND_NOEXF.
73162         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73163         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73164         (libc_feholdsetroundf): New.
73165         (libc_feresetround, libc_feresetroundf): New.
73167         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73168         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73169         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73171         * sysdeps/generic/math_private.h: Include <fenv.h>.
73172         (default_libc_feholdexcept): New.
73173         (default_libc_feholdexcept_setround): New.
73174         (default_libc_fesetenv, default_libc_feupdateenv): New.
73175         (libc_feholdexcept): Only define if undefined.
73176         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73177         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73178         (libc_feholdexcept_setroundl): Likewise.
73179         (libc_feholdexcept_setround_53bit): Likewise.
73180         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73181         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73182         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73183         (libc_feupdateenv_53bit): Likewise.
73184         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73185         (libc_feholdexcept): Convert from macro to inline function.
73186         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73187         (libc_fesetenv, libc_feupdateenv): Likewise.
73189         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73190         not previously defined.
73191         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73192         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73193         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73194         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73195         * sysdeps/ieee754/flt-32/math_private.h: New file.
73196         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73197         math_private.h below SET_FLOAT_WORD.
73198         (__isnan, __isinf_ns, __finite): Remove.
73199         (__isnanf, __isinf_nsf, __finitef): Remove.
73201 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73205 2012-03-17  David S. Miller  <davem@davemloft.net>
73207         [BZ #6471]
73208         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73209         for 2.16.
73211 2012-03-16  David S. Miller  <davem@davemloft.net>
73213         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73214         warnings.
73216         [BZ #6471]
73217         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73218         properly.
73219         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73220         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73221         sysdep_routines when subdir is sysvipc.
73222         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73223         __getshmlba helper.
73225         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73227 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73229         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73230         [__LP64__].
73232 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73234         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73235         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73236         (__lround): Renamed to ...
73237         (__llround): This.  Replace long int with long long int.
73238         Define lround functions as aliases of llround functions.
73239         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73241 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73243         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73244         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73245         adresses to uintptr_t.  Replace "long int" and "unsigned long
73246         int" with "greg_t" on va_arg.
73248 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73250         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73251         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73253         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73254         Move e_machine check before EI_CLASS check.  Handle x32
73255         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73256         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73257         SKIP_EM_IA_64 and include
73258         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73260         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73261         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73262         (add_system_dir): New macro.
73264         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73265         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73267 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73269         [BZ #2551]
73270         [BZ #2552]
73271         [BZ #2553]
73272         [BZ #2554]
73273         [BZ #2562]
73274         [BZ #2563]
73275         [BZ #2565]
73276         [BZ #2566]
73277         [BZ #2576]
73278         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73279         (y0): Likewise.
73280         * math/w_j0f.c (j0f): Likewise.
73281         (y0f): Likewise.
73282         * math/w_j0l.c (__j0l): Likewise.
73283         (__y0l): Likewise.
73284         * math/w_j1.c (j1): Likewise.
73285         (y1): Likewise.
73286         * math/w_j1f.c (j1f): Likewise.
73287         (y1f): Likewise.
73288         * math/w_j1l.c (__j1l): Likewise.
73289         (__y1l): Likewise.
73290         * math/w_jn.c (jn): Likewise.
73291         (yn): Likewise.
73292         * math/w_jnf.c (jnf): Likewise.
73293         (ynf): Likewise.
73294         * math/w_jnl.c (__jnl): Likewise.
73295         (__ynl): Likewise.
73296         * math/libm-test.inc (j0_test): Add more tests.
73297         (j1_test): Likewise.
73298         (jn_test): Likewise.  Add trailing semicolon to existing test.
73299         (y0_test): Likewise.
73300         (y1_test): Likewise.
73301         * sysdeps/i386/fpu/libm-test-ulps: Update.
73302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73304         [BZ #13851]
73305         [BZ #13854]
73306         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73307         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73308         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73309         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73310         (__tanl): Set errno for infinite argument.
73311         * sysdeps/i386/fpu/mptan.c: Remove.
73312         * sysdeps/i386/fpu/s_tan.S: Likewise.
73313         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73314         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73315         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73316         * math/libm-test.inc (tan_test): Add more tests and enable more
73317         tests for double and long double.
73318         * sysdeps/i386/fpu/libm-test-ulps: Update.
73319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73321 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73323         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73324         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73326 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73328         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73329         * configure.in: Use it for both main tree and add-ons.
73330         * configure: Regenerated.
73332 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73334         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73336 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73338         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73339         in comment.
73341         [BZ #13851]
73342         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73343         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73344         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73345         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73346         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73347         infinite argument.
73348         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73349         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73350         != 0 for prec == 2.
73351         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73352         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73353         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73354         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73355         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73356         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73357         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73358         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73359         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73360         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73361         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73362         * math/libm-test.inc (cos_test): Add more tests and enable more
73363         tests for long double.
73364         (sin_test): Likewise.
73365         (sincos_test): Likewise.
73366         * sysdeps/i386/fpu/libm-test-ulps: Update.
73367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73369 2012-03-16  David S. Miller  <davem@davemloft.net>
73371         * sysdeps/sparc/fpu/math_private.h: New file.
73373 2012-03-15  David S. Miller  <davem@davemloft.net>
73375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73376         file.
73377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73379         file.
73380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73385         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73386         sysdep routines.
73387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73389         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73390         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73392         * sysdeps/sparc/sparc-ifunc.h: New file.
73393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73394         sparc-ifunc.h
73395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73397         Likewise.
73398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73399         Likewise.
73400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73404         Likewise.
73405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73410         Likewise.
73411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73412         Likewise.
73413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73432         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73434         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73438 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73440         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73441         scaling.
73442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73444 2012-03-15  Andreas Jaeger  <aj@suse.de>
73446         [BZ #13852]
73447         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73448         ieee754/flt-32 implementation for sin, cos and sincos.
73449         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73450         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73451         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73452         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73453         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73454         ieee754/flt-32 implementation for tan.
73456         * math/libm-test.inc (cos_test): Enable some large input tests for
73457         float as well
73458         (sin_test): Likewise.
73459         (sincos_test): Likewise.
73460         (tan_test): Add tests for large input.
73462         * sysdeps/i386/fpu/libm-test-ulps: Update.
73464 2012-03-15  Andreas Jaeger  <aj@suse.de>
73466         [BZ #13658]
73467         * math/libm-test.inc (cos_test): Add more test cases.
73468         (sin_test): Likewise.
73469         (sincos_test): Likewise.
73471 2012-03-15  Andreas Jaeger  <aj@suse.de>
73473         [BZ #13837]
73474         * math/libm-test.inc (cos_test): Add a test case for large input
73475         value.
73476         (sin_test): Likewise.
73477         (sincos_test): Likewise.
73479 2012-03-15  Andreas Jaeger  <aj@suse.de>
73480             Joseph Myers  <joseph@codesourcery.com>
73482         [BZ #13658]
73483         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73484         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73485         * sysdeps/i386/fpu/branred.c: Likewise.
73486         * sysdeps/i386/fpu/dosincos.c: Likewise.
73487         * sysdeps/i386/fpu/mpa.c: Likewise.
73488         * sysdeps/i386/fpu/s_cos.S: Likewise.
73489         * sysdeps/i386/fpu/s_sin.S: Likewise.
73490         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73491         * sysdeps/i386/fpu/sincos32.c: Likewise.
73493         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73494         Define.
73495         (libc_feupdateenv_53bit): Define.
73496         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73497         Define.
73498         (libc_feupdateenv_53bit): Define.
73500         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73501         53 bit (without extend i386 double precision).
73503         * math/libm-test.inc (sincos_test): Add tests for large input.
73504         (sin): Likewise.
73505         (cos): Likewise.
73507         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73509 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73513 2012-03-15  David S. Miller  <davem@davemloft.net>
73515         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73516         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73517         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73518         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73531         file.
73532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73534         file.
73535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73537         file.
73538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73540         file.
73541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73542         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73543         fmin/fmax sysdep routines.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73546 2012-03-14  David S. Miller  <davem@davemloft.net>
73548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73555         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73570         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73571         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73573         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73574         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73575         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73576         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73577         routines.
73578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73579         file.
73580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73582         file.
73583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73585         file.
73586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73588         file.
73589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73591         file.
73592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73594         file.
73595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73596         file.
73597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73598         file.
73599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73600         file.
73601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73602         New file.
73603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73604         file.
73605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73606         file.
73607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73609         file.
73610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73612         file.
73613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73615         file.
73616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73618         VIS3 routines.
73620         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73621         New file.
73623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73625         * sysdeps/sparc/configure.in: New file.
73626         * sysdeps/sparc/configure: Generate.
73627         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73628         * configure: Regenerate.
73629         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73630         * config.make.in (have-as-vis3): New.
73631         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73632         available use -Av9d instead of -Av9a.
73633         * sysdeps/sparc/sparc64/Makefile: Likewise.
73634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73636         New file.
73637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73638         file.
73639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73640         New file.
73641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73642         file.
73643         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73645         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73646         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73647         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73649         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73650         fzeros/fnegs to load 0x80000000 into a float register instead of
73651         using the stack.
73652         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73654 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73657         bits/syscall.h.
73658         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73659         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73660         ($(inst_includedir)/bits/syscall.h): Remove rule.
73661         ($(objpfx)bits/syscall.d): Include instead of
73662         $(objpfx)syscall-list.d.
73663         (generated): Change syscall-list.h and syscall-list.d to
73664         bits/syscall.h and bits/syscall.d.
73666 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73668         [BZ #13846]
73669         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73671 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73673         [BZ #13841]
73674         * math/s_csqrt.c: Include <float.h>.
73675         (__csqrt): Scale large or subnormal inputs.
73676         * math/s_csqrtf.c: Likewise.
73677         * math/s_csqrtl.c: Likewise.
73678         * math/libm-test.inc (csqrt_test): Add more tests.
73679         * sysdeps/i386/fpu/libm-test-ulps: Update.
73680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73682         [BZ #13840]
73683         * math/libm-test.inc (hypot_test): Add more tests.
73685 2012-03-13  David S. Miller  <davem@davemloft.net>
73687         [BZ #13840]
73688         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73689         double-precision for the calculation instead of scaling.
73691 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73693         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73694         manipulate bits before adding and subtracting TWO52[sx].
73695         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73696         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73697         Likewise.
73698         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73700 2012-03-13  David S. Miller  <davem@davemloft.net>
73702         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73703         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73705         rtld-global-offsets.h
73706         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73708         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73709         large parameters.
73711         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73713         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73714         'err' in the ifdef scope in which it is actually used.
73716         * nss/nss_db/db-init.c: Include string.h
73718 2012-03-12  David S. Miller  <davem@davemloft.net>
73720         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73721         masking out of the most significant byte of random value used.
73722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73723         Fix coding style in previous change.
73725         * sysdeps/unix/sysv/linux/kernel-features.h
73726         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73727         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73728         expression.
73729         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73730         later.
73732 2012-03-11  David S. Miller  <davem@davemloft.net>
73734         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73735         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73736         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73737         for 'resultvar' otherwise things get truncated on 64-bit.
73739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73740         Fix masking out of the most significant byte of random value used.
73742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73744 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73748 2012-03-09  David S. Miller  <davem@davemloft.net>
73750         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73751         variables with appropriate CPP guards.
73752         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73753         from the frame pointer, not the stack pointer.  Correct layout
73754         comments.  Fix test on resulting framesize and the management of
73755         the outregs buffer for pltexit.  Preserve floating point return
73756         values across _dl_call_pltexit call.
73757         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73758         framesize and the management of the outregs buffer for pltexit.
73759         Preserve floating point return values across _dl_call_pltexit
73760         call.
73761         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73762         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73763         (la_sparc64_gnu_pltexit): New functions.
73764         (print_exit): Fix format string for return register value.
73766 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73768         * sunrpc/Makefile (others): Add rpcgen.
73769         ($(objpfx)rpcgen): Remove special build rule and dependency on
73770         libc.
73771         * sunrpc/rpcgen.c: New file.
73773 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73775         [BZ #13673]
73776         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73777         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73778         * sysdeps/i386/crti.S: Likewise.
73779         * sysdeps/i386/crtn.S: Likewise.
73780         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73781         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73782         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73783         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73784         * sysdeps/sh/crti.S: Likewise.
73785         * sysdeps/sh/crtn.S: Likewise.
73786         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73788         [BZ #13673]
73789         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73790         with URL.
73791         * locale/programs/locfile-kw.gperf: Likewise.
73792         * locale/programs/charmap-kw.h: Regenerated.
73793         * locale/programs/locfile-kw.h: Likewise.
73795         [BZ #13673]
73796         * intl/plural.y: Replace FSF snail mail address with URL.
73797         * intl/plural.c: Regenerated.
73799 2012-03-09  Richard Henderson  <rth@twiddle.net>
73801         * include/math_private.h: Remove file.
73802         * math/math_private.h: Move file ...
73803         * sysdeps/generic/math_private.h: ... here.
73805         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73806         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73807         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73809         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73810         and <math_private.h>.
73811         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73812         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73813         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73814         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73815         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73816         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73817         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73819         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73820         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73821         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73822         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73823         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73824         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73825         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73826         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73827         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73828         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73829         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73830         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73831         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73832         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73833         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73834         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73835         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73836         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73837         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73838         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73841         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73843         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73844         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73845         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73846         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73847         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73848         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73849         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73850         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73852         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73853         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73854         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73856         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73857         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73858         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73859         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73860         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73861         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73862         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73863         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73864         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73865         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73866         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73867         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73868         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73869         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73870         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73871         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73872         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73874         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73875         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73876         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73877         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73878         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73879         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73880         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73881         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73882         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73883         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73884         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73885         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73889         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73890         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73891         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73892         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73894         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73895         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73896         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73897         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73898         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73899         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73900         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73901         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73902         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73903         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73904         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73905         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73906         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73907         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73908         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73909         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73910         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73911         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73912         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73913         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73914         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73915         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73916         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73917         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73918         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73919         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73921         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73922         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73923         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73924         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73925         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73926         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73927         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73928         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73929         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73930         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73931         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73932         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73933         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73934         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73935         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73936         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73937         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73938         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73939         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73940         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73941         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73942         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73943         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73944         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73945         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73946         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73947         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73948         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73949         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73950         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73951         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73952         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73953         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73954         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73955         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73956         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73957         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73958         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73959         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73960         * sysdeps/ieee754/k_standard.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73978         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73979         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73980         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73983         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73985         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73988         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73992         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73993         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73994         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73995         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73997         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73999         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74004         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74011         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74012         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74013         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74016         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74017         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74018         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74021         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74062         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74064         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74065         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74069         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74070         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74072         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74073         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74075         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74076         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74077         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74078         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74079         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74080         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74081         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74083         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74084         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74085         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74086         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74087         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74088         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74089         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74090         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74091         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74092         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74093         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74094         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74095         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74096         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74097         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74098         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74099         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74100         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74101         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74103         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74104         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74105         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74106         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74107         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74108         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74109         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74110         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74111         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74112         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74114         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74115         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74116         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74117         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74118         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74119         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74120         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74121         * sysdeps/ieee754/s_lib_version.c: Likewise.
74122         * sysdeps/ieee754/s_matherr.c: Likewise.
74123         * sysdeps/ieee754/s_signgam.c: Likewise.
74124         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74125         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74126         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74127         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74128         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74129         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74130         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74131         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74132         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74133         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74134         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74135         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74136         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74137         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74138         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74139         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74140         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74141         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74142         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74146 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74148         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74149         * sunrpc/rpc_main.c: Likewise.
74150         * sunrpc/rpc_svcout.c: Likewise.
74152 2012-03-09  David S. Miller  <davem@davemloft.net>
74154         * include/math_private.h: New file.
74156 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74158         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74159         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74160         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74161         from <bits/socket_type.h>.
74162         (enum __socket_type): Don't define here.
74163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74165         bits/socket_type.h.
74167         [BZ #13566]
74168         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74169         checking __USE_GNU.
74171         * Makerules ($(inst_includedir)/%.h): New rule.
74172         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74173         (install-others): Remove variable setting.
74174         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74176 2012-03-08  Richard Henderson  <rth@twiddle.net>
74178         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74179         from macro to inline function; merge with the
74180         !__LIBC_INTERNAL_MATH_INLINES version.
74181         (__ieee754_sqrtf): Likewise.
74183         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74184         to inline function.
74185         (__rintf, __floor, __floorf): Likewise.
74187         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74188         macro to inline function.
74189         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74191         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74192         not <math/math_private.h>.
74194 2012-03-08  David S. Miller  <davem@davemloft.net>
74196         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74197         copyright year.
74198         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74200 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74202         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74203         normalization.
74204         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74205         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74207 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74209         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74210         be defined individually, they must be defined as a block.  Define
74211         S for printing a string instead of hidint the different by using a
74212         macro for adding the 'l'.
74213         * stdio-common/tst-fphex-wide.c: Adjust.
74215 2012-03-07  Marek Polacek  <polacek@redhat.com>
74217         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74219 2012-03-08  Marek Polacek  <polacek@redhat.com>
74221         [BZ #13806]
74222         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74223         * stdio-common/tst-fphex.c: Define a few macros to make the
74224         test reusable.  Use them.
74225         * stdio-common/tst-fphex-wide.c: New file.
74227 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74229         [BZ #6911]
74230         * manual/macros.texi (gnusystems): New macro.
74231         (nongnusystems): Likewise.
74232         (gnulinuxhurdsystems): Likewise.
74233         (gnuhurdsystems): Likewise..
74234         (gnulinuxsystems): Likewise.
74235         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74236         variants of the GNU system, not "GNU system".
74237         * manual/conf.texi: Likewise.
74238         * manual/errno.texi: Likewise.  Update example of errno macro
74239         expansion.
74240         * manual/filesys.texi: Likewise.
74241         (getumask): Document as specific to GNU/Hurd.
74242         * manual/install.texi: Likewise.  Reword some references to
74243         GNU/Linux.
74244         * manual/intro.texi: Likewise.
74245         * manual/io.texi: Likewise.
74246         (File Name Portability): Detail which constraints are inapplicable
74247         to all GNU systems and which are only inapplicable to GNU/Hurd.
74248         * manual/job.texi: Likewise.
74249         * manual/llio.texi: Likewise.
74250         (O_NOCTTY): Document as present on GNU/Linux.
74251         * manual/maint.texi: Likewise.
74252         * manual/memory.texi: Likewise.
74253         * manual/pattern.texi: Likewise.
74254         * manual/pipe.texi: Likewise.
74255         * manual/process.texi: Likewise.
74256         * manual/resource.texi: Likewise.
74257         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74258         child on GNU/Hurd.
74259         * manual/setjmp.texi: Likewise.
74260         * manual/signal.texi: Likewise.
74261         * manual/startup.texi: Likewise.
74262         * manual/stdio.texi: Likewise.
74263         * manual/terminal.texi: Likewise.
74264         (ONLCR): Document as POSIX.
74265         (OXTABS): Document availability on GNU/Linux as XTABS.
74266         (ONOEOT): Document availability separately from other bits.
74267         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74268         * manual/time.texi: Likewise.
74269         * manual/users.texi: Likewise.
74270         * INSTALL: Regenerated.
74271         * sysdeps/gnu/errlist.c: Regenerated.
74273         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74274         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74275         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74276         puts.
74277         * configure: Regenerated.
74279 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74281         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74282         default includes instead of AC_HEADER_CHECK.
74283         * sysdeps/i386/configure: Regenerated.
74285         [BZ #10716]
74286         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74287         * math/s_cacoshf.c (__cacoshf): Likewise.
74288         * math/s_cacoshl.c (__cacoshl): Likewise.
74289         * math/s_casinh.c (__casinh): Set signs of result from argument.
74290         * math/s_casinhf.c (__casinhf): Likewise.
74291         * math/s_casinhl.c (__casinhl): Likewise.
74292         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74293         (casinh_test): Add more tests.
74294         * sysdeps/i386/fpu/libm-test-ulps: Update.
74295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74297 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74299         * po/zh_TW.po: Update from translation team.
74301         * login/Makefile (distribute): Remove variable.
74302         * catgets/Makefile: Likewise.
74303         * mach/Makefile: Likewise.
74304         * malloc/Makefile: Likewise.
74305         * misc/Makefile: Likewise.
74306         * iconv/Makefile: Likewise.
74307         * nscd/Makefile: Likewise.
74308         * hurd/Makefile: Likewise.
74309         * manual/Makefile: Likewise.
74310         * locale/Makefile: Likewise.
74311         * intl/Makefile: Likewise.
74312         * conform/Makefile: Likewise.
74313         * nss/Makefile: Likewise.
74314         * time/Makefile: Likewise.
74315         * soft-fp/Makefile: Likewise.
74316         * dirent/Makefile: Likewise.
74317         * gmon/Makefile: Likewise.
74318         * po/Makefile: Likewise.
74319         * rt/Makefile: Likewise.
74320         * socket/Makefile: Likewise.
74321         * math/Makefile: Likewise.
74322         * signal/Makefile: Likewise.
74323         * debug/Makefile: Likewise.
74324         * elf/Makefile: Likewise.
74325         * timezone/Makefile: Likewise.
74326         * stdlib/Makefile: Likewise.
74327         * iconvdata/Makefile: Likewise.
74328         * sunrpc/Makefile: Likewise.
74329         * io/Makefile: Likewise.
74330         * argp/Makefile: Likewise.
74331         * inet/Makefile: Likewise.
74332         * hesiod/Makefile: Likewise.
74333         * grp/Makefile: Likewise.
74334         * csu/Makefile: Likewise.
74335         * wctype/Makefile: Likewise.
74336         * crypt/Makefile: Likewise.
74337         * libio/Makefile: Likewise.
74338         * string/Makefile: Likewise.
74339         * nis/Makefile: Likewise.
74340         * resolv/Makefile: Likewise.
74341         * stdio-common/Makefile: Likewise.
74342         * wcsmbs/Makefile: Likewise.
74343         * dlfcn/Makefile: Likewise.
74344         * posix/Makefile: Likewise.
74346         [BZ #6959]
74347         * timezone/Makefile: Don't install timezone files, just the programs
74348         and scripts.
74350 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74352         * nss/databases.def: Add missing gshadow entry.
74354         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74356 2012-03-06  Marek Polacek  <polacek@redhat.com>
74358         [BZ #13726]
74359         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74360         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74361         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74362         * stdio-common/tst-long-dbl-fphex.c: New file.
74364 2012-03-06  David S. Miller  <davem@davemloft.net>
74366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74367         (set_obp_int): New function.
74368         (get_obp_int): New function.
74369         (__get_clockfreq_via_dev_openprom): Likewise.
74370         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74371         Avoid unused variable warnings on 'val' and use builtin_expect.
74372         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74373         __builtin_expect.
74374         (INLINE_CLONE_SYSCALL): Likewise.
74376 2012-03-05  David S. Miller  <davem@davemloft.net>
74378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74380 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74385         only for |x| >= 40.
74386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74388 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74391         Replace gettimeofday with __vdso_gettimeofday.
74393         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74394         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74395         __vdso_clock_gettime and __vdso_getcpu.
74397         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74398         time with __vdso_time.
74400 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74402         * manual/lang.texi (size_t): Note types to which size_t may be
74403         equivalent with the GNU C Library, but do not describe when
74404         differences between them are significant.
74406 2012-03-05  Andreas Jaeger  <aj@suse.de>
74408         * sysdeps/i386/fpu/libm-test-ulps: Update.
74410 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74412         [BZ #3976]
74413         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74414         (__ieee754_pow): Save and restore rounding mode and use
74415         round-to-nearest for main computations.
74416         * math/libm-test.inc (pow_test_tonearest): New function.
74417         (pow_test_towardzero): Likewise.
74418         (pow_test_downward): Likewise.
74419         (pow_test_upward): Likewise.
74420         (main): Call the new functions.
74421         * sysdeps/i386/fpu/libm-test-ulps: Update.
74422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74424         [BZ #3976]
74425         * math/libm-test.inc (cosh_test_tonearest): New function.
74426         (cosh_test_towardzero): Likewise.
74427         (cosh_test_downward): Likewise.
74428         (cosh_test_upward): Likewise.
74429         (sinh_test_tonearest): Likewise.
74430         (sinh_test_towardzero): Likewise.
74431         (sinh_test_downward): Likewise.
74432         (sinh_test_upward): Likewise.
74433         (main): Call the new functions.
74434         * sysdeps/i386/fpu/libm-test-ulps: Update.
74435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74437 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74439         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74440         default stack guard is set in last bytes.
74441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74443 2012-03-05  Kees Cook  <keescook@chromium.org>
74445         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74447         [BZ #13656]
74448         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74449         possibly allocate from heap instead of stack.
74450         * stdio-common/bug-vfprintf-nargs.c: New file.
74451         * stdio-common/Makefile (tests): Add nargs overflow test.
74453 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74457 2012-03-03  Marek Polacek  <polacek@redhat.com>
74459         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74460         * math/math_private.h: Likewise.
74461         * stdlib/tst-strtod.c: Likewise.
74462         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74463         * sysdeps/x86_64/bits/atomic.h: Likewise.
74465 2012-03-02  David S. Miller  <davem@davemloft.net>
74467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74471         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74472         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74473         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74474         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74476 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74478         [BZ #13792]
74479         * manual/examples/README: New file, says the example source files
74480         can be used under GPL>=2.
74481         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74482         line containing just "*/".
74483         * manual/examples/add.c: Add copyright header (GPL>=2).
74484         * manual/examples/argp-ex1.c: Likewise.
74485         * manual/examples/argp-ex2.c: Likewise.
74486         * manual/examples/argp-ex3.c: Likewise.
74487         * manual/examples/argp-ex4.c: Likewise.
74488         * manual/examples/atexit.c: Likewise.
74489         * manual/examples/db.c: Likewise.
74490         * manual/examples/dir.c: Likewise.
74491         * manual/examples/dir2.c: Likewise.
74492         * manual/examples/execinfo.c: Likewise.
74493         * manual/examples/filecli.c: Likewise.
74494         * manual/examples/filesrv.c: Likewise.
74495         * manual/examples/fmtmsgexpl.c: Likewise.
74496         * manual/examples/genpass.c: Likewise.
74497         * manual/examples/inetcli.c: Likewise.
74498         * manual/examples/inetsrv.c: Likewise.
74499         * manual/examples/isockad.c: Likewise.
74500         * manual/examples/longopt.c: Likewise.
74501         * manual/examples/memopen.c: Likewise.
74502         * manual/examples/memstrm.c: Likewise.
74503         * manual/examples/mkfsock.c: Likewise.
74504         * manual/examples/mkisock.c: Likewise.
74505         * manual/examples/mygetpass.c: Likewise.
74506         * manual/examples/pipe.c: Likewise.
74507         * manual/examples/popen.c: Likewise.
74508         * manual/examples/rprintf.c: Likewise.
74509         * manual/examples/search.c: Likewise.
74510         * manual/examples/select.c: Likewise.
74511         * manual/examples/setjmp.c: Likewise.
74512         * manual/examples/sigh1.c: Likewise.
74513         * manual/examples/sigusr.c: Likewise.
74514         * manual/examples/stpcpy.c: Likewise.
74515         * manual/examples/strdupa.c: Likewise.
74516         * manual/examples/strftim.c: Likewise.
74517         * manual/examples/strncat.c: Likewise.
74518         * manual/examples/subopt.c: Likewise.
74519         * manual/examples/swapcontext.c: Likewise.
74520         * manual/examples/termios.c: Likewise.
74521         * manual/examples/testopt.c: Likewise.
74522         * manual/examples/testpass.c: Likewise.
74523         * manual/examples/timeval_subtract.c: Likewise.
74525         [BZ #13792]
74526         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74527         function to ...
74528         * manual/timeval_subtract.c.texi: ... here, new file.
74530 2012-03-02  David S. Miller  <davem@davemloft.net>
74532         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74534 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74536         [BZ #3976]
74537         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74538         (__sin): Save and restore rounding mode and use round-to-nearest
74539         for all computations.
74540         (__cos): Save and restore rounding mode and use round-to-nearest
74541         for all computations.
74542         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74543         <fenv.h>.
74544         (tan): Save and restore rounding mode and use round-to-nearest for
74545         all computations.
74546         * math/libm-test.inc (cos_test_tonearest): New function.
74547         (cos_test_towardzero): Likewise.
74548         (cos_test_downward): Likewise.
74549         (cos_test_upward): Likewise.
74550         (sin_test_tonearest): Likewise.
74551         (sin_test_towardzero): Likewise.
74552         (sin_test_downward): Likewise.
74553         (sin_test_upward): Likewise.
74554         (tan_test_tonearest): Likewise.
74555         (tan_test_towardzero): Likewise.
74556         (tan_test_downward): Likewise.
74557         (tan_test_upward): Likewise.
74558         (main): Call the new functions.
74559         * sysdeps/i386/fpu/libm-test-ulps: Update.
74560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74562         [BZ #10135]
74563         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74564         small n, then large n, before computing and testing k+n.
74565         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74566         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74567         Likewise.
74568         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74569         Likewise.
74570         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74571         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74574         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74575         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74577         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74578         * math/libm-test.inc (scalbn_test): Add more tests.
74579         (scalbln_test): Likewise.
74581         * manual/filesys.texi (mode_t): Describe constraints on size and
74582         signedness, not exact equivalence to a particular type.
74583         (ino_t): Likewise.
74584         (ino64_t): Likewise.
74585         (dev_t): Likewise.
74586         (nlink_t): Likewise.
74587         (blkcnt_t): Likewise.
74588         (blkcnt64_t): Likewise.
74589         * manual/llio.texi (off_t): Likewise.
74591         [BZ #3976]
74592         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74593         (__ieee754_exp): Save and restore rounding mode and use
74594         round-to-nearest for all computations.
74595         * math/libm-test.inc (exp_test_tonearest): New function.
74596         (exp_test_towardzero): Likewise.
74597         (exp_test_downward): Likewise.
74598         (exp_test_upward): Likewise.
74599         (main): Call the new functions.
74600         * sysdeps/i386/fpu/libm-test-ulps: Update.
74601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74603 2012-03-01  Chris Demetriou  <cgd@google.com>
74605         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74606         have predictable order.
74608 2012-03-01  David S. Miller  <davem@davemloft.net>
74610         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74612         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74613         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74614         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74615         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74617         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74618         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74619         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74621         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74622         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74623         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74624         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74625         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74629         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74630         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74631         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74633         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74634         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74635         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74636         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74637         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74639         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74640         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74641         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74642         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74643         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74644         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74645         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74646         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74647         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74649         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74650         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74651         * sysdeps/sparc/elf/configure: Regenerated.
74653 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74655         * configure.in (AS, LD): Require binutils 2.20 or later.
74656         * configure: Regenerated.
74657         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74658         as required minimum version.
74659         * INSTALL: Regenerated.
74661         [BZ #2541]
74662         [BZ #4108]
74663         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74664         before squaring exponent.
74665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74666         bottom long double and 27 bits of top long double before squaring
74667         exponent.
74668         * math/libm-test.inc (erfc_test): Add more tests.
74669         * sysdeps/i386/fpu/libm-test-ulps: Update.
74670         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74673 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74675         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74676         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74677         containing bit-fields.
74678         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74679         * soft-fp/single.h (_FP_UNION_S): Likewise.
74680         * soft-fp/double.h (_FP_UNION_D): Likewise.
74682 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74684         [BZ #13786]
74685         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74686         not include ../strcmp.S.
74687         [USE_AS_STRNCASECMP_L]: Likewise.
74688         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74689         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74690         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74691         (__strncasecmp_l_ia32): Define as alias to
74692         __strncasecmp_l_nonascii.
74694         [BZ #5794]
74695         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74696         * sysdeps/i386/fpu/libm-test-ulps: Update.
74697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74699         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74702 2012-02-29  Jeff Law  <law@redhat.com>
74704         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74705         out of bounds read.
74707 2012-02-29  Marek Polacek  <polacek@redhat.com>
74709         [BZ #13706]
74710         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74711         * elf/Makefile: Add rules to run tst-unused-dep.out.
74713 2012-02-28  David S. Miller  <davem@davemloft.net>
74715         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74716         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74717         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74718         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74719         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74720         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74722 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74724         * math/libm-test.inc (llround_test): Move one test from
74725         lround_test.  Use TEST_f_L in moved test.
74726         (lround_test): Move misplaced test to llround_test.  Add testcase
74727         from bug 2561.
74729 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74731         * sysdeps/x86_64/fpu/e_expf.S: New file.
74732         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74734 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74736         [BZ #13637]
74737         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74738         of remain_len that may cause incomplete multi-byte character and
74739         false match.
74740         * posix/bug-regex33.c: New file.
74741         * posix/Makefile (tests): Add bug-regex33.
74743 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74745         * manual/macros.texi: New file.
74746         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74747         * manual/libc.texinfo: Include macros.texi.
74748         * manual/creatute.texi: Likewise.
74749         * manual/install.texi: Likewise.
74750         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74751         @glibcadj{} in references to the GNU C Library.
74752         * manual/charset.texi: Likewise.
74753         * manual/conf.texi: Likewise.
74754         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74755         when not using those macros.
74756         * manual/creature.texi: Likewise.
74757         * manual/crypt.texi: Likewise.
74758         * manual/errno.texi: Likewise.
74759         * manual/filesys.texi: Likewise.
74760         * manual/header.texi: Likewise.
74761         * manual/install.texi: Likewise.
74762         * manual/intro.texi: Likewise.
74763         * manual/io.texi: Likewise.
74764         * manual/job.texi: Likewise.
74765         * manual/lang.texi: Likewise.
74766         * manual/libc.texiinfo: Likewise.
74767         * manual/llio.texi: Likewise.
74768         * manual/locale.texi: Likewise.
74769         * manual/maint.texi: Likewise.
74770         * manual/math.texi: Likewise.
74771         * manual/memory.texi: Likewise.
74772         * manual/message.texi: Likewise.
74773         * manual/nss.texi: Likewise.
74774         * manual/pattern.texi: Likewise.
74775         * manual/process.texi: Likewise.
74776         * manual/resource.texi: Likewise.
74777         * manual/search.texi: Likewise.
74778         * manual/setjmp.texi: Likewise.
74779         * manual/signal.texi: Likewise.
74780         * manual/socket.texi: Likewise.
74781         * manual/startup.texi: Likewise.
74782         * manual/stdio.texi: Likewise.
74783         * manual/string.texi: Likewise.
74784         * manual/sysinfo.texi: Likewise.
74785         * manual/syslog.texi: Likewise.
74786         * manual/terminal.texi: Likewise.
74787         * manual/time.texi: Likewise.
74788         * manual/users.texi: Likewise.
74789         * INSTALL: Regenerated.
74790         * NOTES: Regenerated.
74791         * sysdeps/gnu/errlist.c: Regenerated.
74793 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74795         * include/dirent.h: Include <dirstream.h> before
74796         <dirent/dirent.h>.
74798 2012-02-28  David S. Miller  <davem@davemloft.net>
74800         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74801         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74802         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74803         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74805 2012-02-27  David S. Miller  <davem@davemloft.net>
74807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74809         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74810         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74813         frame pointer instead of stack pointer relative arg slot.
74814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74815         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74816         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74818 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74820         [BZ #3992]
74821         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74823 2012-02-27  David S. Miller  <davem@davemloft.net>
74825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74829         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74830         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74831         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74832         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74834 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74836         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74837         later.  Allow versions 5-9.
74838         * configure: Regenerated.
74839         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74840         required minimum version and 4.6 as recommended version.  Do not
74841         mention bugs in GCC 2.7 and 2.8.
74842         * INSTALL: Regenerated.
74844 2012-02-27  David S. Miller  <davem@davemloft.net>
74846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74850         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74851         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74852         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74853         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74855         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74856         manipulate bits before adding and subtracting TWO112[sx].
74857         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74859 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74861         [BZ #13775]
74862         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74863         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74864         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74865         being in POSIX, because they are in 1003.1-2008.
74867         * rt/tst-aio.c: Include <fcntl.h>.
74868         * rt/tst-aio7.c: Likewise.
74869         * rt/tst-aio64.c: Likewise.
74871         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74873 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74875         * manual/install.texi (--with-headers): Describe headers as
74876         interface headers, not private headers.
74877         (Specific advice for GNU/Linux systems): Describe use of headers
74878         from "make headers_install", not private headers from older
74879         kernels.
74880         * INSTALL: Regenerated.
74881         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74882         Change to 2.6.19.
74883         * sysdeps/unix/sysv/linux/configure: Regenerated.
74885         * manual/llio.texi (fclean): Remove documentation.
74887         * manual/Makefile (libc-texi-generated): New variable.  Include
74888         version.texi.
74889         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74890         $(libc-texi-generated), not duplicated list of files.
74891         (version.texi, stamp-version): New rules.
74892         (realclean): Remove $(libc-texi-generated), not individual files
74893         from that list.  Do not remove dir-add.texinfo.
74894         * manual/libc.texinfo: Comment out uses of edition numbers and
74895         references to printed manual.  Remove last-updated dates.
74896         (EDITION): Comment out.
74897         (ISBN): Likewise.
74898         (VERSION, UPDATED): Remove.
74899         (version.texi): Include.
74901 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74903         * sysdeps/posix/spawni.c: Include <signal.h>.
74904         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74905         * sysdeps/pthread/aio_fsync.c: Likewise.
74907 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74909         * conform/Makefile (tests): Run only when not cross-compiling and
74910         when fast-check is not defined.
74912         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74913         * conform/data/limits.h-data: Fixes for POSIX2008.
74914         * conform/run-conformtest.sh: Run all tests.
74915         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74916         headers.
74917         * include/bits/dlfcn.h: Likewise.
74918         * include/langinfo.h: Likewise.
74919         * include/monetary.h: Likewise.
74920         * include/sys/poll.h: Likewise.
74922         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74923         for __USE_GNU.
74924         * posix/spawn.h: Define __need_sigset_t.
74925         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74926         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74927         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74928         to get sigevent_t only.
74929         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74930         only for __USE_GNU.
74931         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74932         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74933         process_vm_writev only for __USE_GNU.
74934         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74936         * conform/Makefile: For now ignore errors from run-conformtest.
74937         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74938         POSIX to avoid namespace pollution.  Don't prepend headers.
74939         * conform/data/aio.h-data: Fixes for POSIX testing.
74940         * conform/data/fcntl.h-data: Likewise.
74941         * conform/data/glob.h-data: Likewise.
74942         * conform/data/grp.h-data: Likewise.
74943         * conform/data/pthread.h-data: Likewise.
74944         * conform/data/pwd.h-data: Likewise.
74945         * conform/data/signal.h-data: Likewise.
74946         * conform/data/spawn.h-data: Likewise.
74947         * conform/data/stdio.h-data: Likewise.
74948         * conform/data/stdlib.h-data: Likewise.
74949         * conform/data/stropts.h-data: Likewise.
74950         * conform/data/sys/mman.h-data: Likewise.
74951         * conform/data/sys/stat.h-data: Likewise.
74952         * conform/data/sys/types.h-data: Likewise.
74953         * conform/data/sys/wait.h-data: Likewise.
74954         * conform/data/time.h-data: Likewise.
74955         * conform/data/unistd.h-data: Likewise.
74956         * conform/data/utime.h-data: Likewise.
74958         * io/sys/stat.h: fchmod was always in POSIX.
74959         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74960         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74961         * rt/aio.h: Define __need_timespec before including <time.h>.
74962         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74963         struct.  Add forward declaration of pthread_attr_t and use it in
74964         sigevent.
74965         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74967         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74968         always remove CLK_TCK definition.
74970 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74972         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74974 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74976         * conform/run-conformtest.sh: New file.
74977         * conform/Makefile: Run run-conformtest for tests.
74978         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74979         support.
74981         * conform/data/uchar.h-data: New file.
74982         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74983         * conform/data/arpa/inet.h-data: Likewise.
74984         * conform/data/assert.h-data: Likewise.
74985         * conform/data/complex.h-data: Likewise.
74986         * conform/data/cpio.h-data: Likewise.
74987         * conform/data/ctype.h-data: Likewise.
74988         * conform/data/dirent.h-data: Likewise.
74989         * conform/data/dlfcn.h-data: Likewise.
74990         * conform/data/errno.h-data: Likewise.
74991         * conform/data/fcntl.h-data: Likewise.
74992         * conform/data/float.h-data: Likewise.
74993         * conform/data/fmtmsg.h-data: Likewise.
74994         * conform/data/fnmatch.h-data: Likewise.
74995         * conform/data/ftw.h-data: Likewise.
74996         * conform/data/glob.h-data: Likewise.
74997         * conform/data/grp.h-data: Likewise.
74998         * conform/data/iconv.h-data: Likewise.
74999         * conform/data/inttypes.h-data: Likewise.
75000         * conform/data/langinfo.h-data: Likewise.
75001         * conform/data/libgen.h-data: Likewise.
75002         * conform/data/limits.h-data: Likewise.
75003         * conform/data/locale.h-data: Likewise.
75004         * conform/data/math.h-data: Likewise.
75005         * conform/data/monetary.h-data: Likewise.
75006         * conform/data/mqueue.h-data: Likewise.
75007         * conform/data/ndbm.h-data: Likewise.
75008         * conform/data/net/if.h-data: Likewise.
75009         * conform/data/netdb.h-data: Likewise.
75010         * conform/data/netinet/in.h-data: Likewise.
75011         * conform/data/nl_types.h-data: Likewise.
75012         * conform/data/poll.h-data: Likewise.
75013         * conform/data/pthread.h-data: Likewise.
75014         * conform/data/pwd.h-data: Likewise.
75015         * conform/data/regex.h-data: Likewise.
75016         * conform/data/sched.h-data: Likewise.
75017         * conform/data/search.h-data: Likewise.
75018         * conform/data/semaphore.h-data: Likewise.
75019         * conform/data/setjmp.h-data: Likewise.
75020         * conform/data/signal.h-data: Likewise.
75021         * conform/data/spawn.h-data: Likewise.
75022         * conform/data/stdarg.h-data: Likewise.
75023         * conform/data/stdio.h-data: Likewise.
75024         * conform/data/stdlib.h-data: Likewise.
75025         * conform/data/string.h-data: Likewise.
75026         * conform/data/strings.h-data: Likewise.
75027         * conform/data/stropts.h-data: Likewise.
75028         * conform/data/sys/ipc.h-data: Likewise.
75029         * conform/data/sys/mman.h-data: Likewise.
75030         * conform/data/sys/msg.h-data: Likewise.
75031         * conform/data/sys/resource.h-data: Likewise.
75032         * conform/data/sys/select.h-data: Likewise.
75033         * conform/data/sys/sem.h-data: Likewise.
75034         * conform/data/sys/shm.h-data: Likewise.
75035         * conform/data/sys/socket.h-data: Likewise.
75036         * conform/data/sys/stat.h-data: Likewise.
75037         * conform/data/sys/statvfs.h-data: Likewise.
75038         * conform/data/sys/time.h-data: Likewise.
75039         * conform/data/sys/timeb.h-data: Likewise.
75040         * conform/data/sys/times.h-data: Likewise.
75041         * conform/data/sys/types.h-data: Likewise.
75042         * conform/data/sys/uio.h-data: Likewise.
75043         * conform/data/sys/un.h-data: Likewise.
75044         * conform/data/sys/utsname.h-data: Likewise.
75045         * conform/data/sys/wait.h-data: Likewise.
75046         * conform/data/syslog.h-data: Likewise.
75047         * conform/data/tar.h-data: Likewise.
75048         * conform/data/termios.h-data: Likewise.
75049         * conform/data/utime.h-data: Likewise.
75050         * conform/data/utmpx.h-data: Likewise.
75051         * conform/data/varargs.h-data: Likewise.
75052         * conform/data/wchar.h-data: Likewise.
75053         * conform/data/wctype.h-data: Likewise.
75054         * conform/data/wordexp.h-data: Likewise.
75056         * include/stropts.h: New file.
75057         * include/uchar.h: New file.
75058         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75059         * include/assert.h: Likewise.
75060         * include/ctype.h: Likewise.
75061         * include/dirent.h: Likewise.
75062         * include/dlfcn.h: Likewise.
75063         * include/fcntl.h: Likewise.
75064         * include/fnmatch.h: Likewise.
75065         * include/glob.h: Likewise.
75066         * include/grp.h: Likewise.
75067         * include/libio.h: Likewise.
75068         * include/locale.h: Likewise.
75069         * include/math.h: Likewise.
75070         * include/net/if.h: Likewise.
75071         * include/netdb.h: Likewise.
75072         * include/netinet/in.h: Likewise.
75073         * include/pthread.h: Likewise.
75074         * include/pwd.h: Likewise.
75075         * include/regex.h: Likewise.
75076         * include/sched.h: Likewise.
75077         * include/search.h: Likewise.
75078         * include/setjmp.h: Likewise.
75079         * include/signal.h: Likewise.
75080         * include/stdio.h: Likewise.
75081         * include/stdlib.h: Likewise.
75082         * include/string.h: Likewise.
75083         * include/sys/cdefs.h: Likewise.
75084         * include/sys/mman.h: Likewise.
75085         * include/sys/msg.h: Likewise.
75086         * include/sys/resource.h: Likewise.
75087         * include/sys/select.h: Likewise.
75088         * include/sys/socket.h: Likewise.
75089         * include/sys/stat.h: Likewise.
75090         * include/sys/statvfs.h: Likewise.
75091         * include/sys/time.h: Likewise.
75092         * include/sys/times.h: Likewise.
75093         * include/sys/uio.h: Likewise.
75094         * include/sys/utsname.h: Likewise.
75095         * include/sys/wait.h: Likewise.
75096         * include/termios.h: Likewise.
75097         * include/time.h: Likewise.
75098         * include/ulimit.h: Likewise.
75099         * include/unistd.h: Likewise.
75100         * include/utime.h: Likewise.
75101         * include/wchar.h: Likewise.
75102         * include/wctype.h: Likewise.
75103         * include/wordexp.h: Likewise.
75105         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75107         * time/time.h: TIME_UTC must be a macro.
75108         Make timespec_get available for ISO C11 only as well.
75110 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75112         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75113         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75115 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75117         * configure.in: Use -o not -a in test for unsupported multi-arch.
75119 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75121         * manual/texinfo.tex: Update to version 2012-01-19.16.
75123 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75125         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75127 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75129         [BZ #13738]
75130         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75131         * manual/fdl-1.3.texi: New file.
75132         * manual/fdl-1.1.texi: File removed.
75134         [BZ #13738]
75135         * manual/libc.texinfo (FDL_VERSION): New @set.
75136         Use it for mention of FDL in cover text.
75137         (Documentation License): Use it in @include file name.
75139 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75140             Roland McGrath  <roland@hack.frob.com>
75142         [BZ #5461]
75143         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75144         (not LONG_LONG_MAX and LONG_LONG_MIN.
75145         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75146         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75147         name.
75148         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75150 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75152         [BZ #2547]
75153         [BZ #11365]
75154         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75155         manipulate bits before adding and subtracting TWO23[sx].
75156         * math/libm-test.inc (nearbyint_test): Add more tests.
75158 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75160         [BZ #2548]
75161         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75162         bits before adding and subtracting TWO23[sx].
75163         * math/libm-test.inc (rint_test): Add more tests.
75164         (rint_test_tonearest): Likewise.
75165         (rint_test_towardzero): Likewise.
75166         (rint_test_downward): Likewise.
75167         (rint_test_upward: Likewise.
75169 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75171         [BZ #10110]
75172         * include/stdc-predef.h: New file.  Extracted from features.h.
75173         * include/features.h: Include stdc-predef.h.
75174         * Makefile (headers): Add stdc-predef.h.
75175         * CONFORMANCE (Compiler limitations): Update.
75177 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75179         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75181 2012-02-21  David S. Miller  <davem@davemloft.net>
75183         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75184         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75186 2012-02-20  David S. Miller  <davem@davemloft.net>
75188         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75189         using a normal save/restore sequence, rather than allocating a
75190         dummy stack frame just to store a frame pointer and restore.
75191         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75193 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75195         * manual/install.texi: Fix stray word in line-wrapped comment.
75197 2012-02-20  David S. Miller  <davem@davemloft.net>
75199         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75200         both binutils and gcc support GOTDATA.
75202         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75203         "rd %pc" in the PIC register setup sequences.
75205         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75206         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75207         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75208         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75209         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75211         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75212         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75213         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75214         (SYSCALL_ERROR_HANDLER): Likewise.
75215         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75216         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75218         (SYSCALL_ERROR_HANDLER): Likewise.
75220         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75221         (HAVE_GCC_GOTDATA): New.
75222         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75223         relocation support in both binutils and gcc.
75224         * sysdeps/sparc/elf/configure: Regenerate.
75226         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75227         * sysdeps/sparc/sparc32/elf/configure: Delete.
75228         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75229         * sysdeps/sparc/sparc64/elf/configure: Delete.
75230         * sysdeps/sparc/elf/configure.in: New file.
75231         * sysdeps/sparc/elf/configure: Generate.
75233         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75234         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75235         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75236         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75237         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75239 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75241         * manual/install.texi: Do not mention specific glibc version
75242         numbers.
75243         * manual/libc.texinfo (VERSION, UPDATED): Update.
75244         (@copying): Use @copyright{} and range of years.
75246 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75248         [BZ #13695]
75249         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75250         [crti.S not in sysdirs] (generated): Do not append.
75251         [crti.S not in sysdirs] (omit-deps): Likewise.
75252         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75253         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75254         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75255         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75256         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75257         Likewise.
75258         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75259         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75260         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75261         * csu/defs.awk: Remove file.
75262         * sysdeps/generic/initfini.c: Likewise.
75263         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75264         variable.
75265         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75266         Likewise.
75268 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75270         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75271         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75272         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75273         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75274         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75275         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75276         <bits/epoll.h>.
75277         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75278         (__EPOLL_PACKED): Define to empty if not defined by
75279         <bits/epoll.h>.
75280         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75282         bits/epoll.h.
75284 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75286         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75287         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75288         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75289         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75290         <bits/timerfd.h>.
75291         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75293         bits/timerfd.h.
75295 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75297         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75298         in C locale.
75299         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75301         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75304 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75306         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75307         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75309 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75311         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75312         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75313         defined.
75314         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75315         Likewise.
75316         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75317         entry for 2.16.
75319 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75321         * math/w_acos.c: Use non-signaling floating-point comparisons.
75322         * math/w_acosf.c: Likewise.
75323         * math/w_acosh.c: Likewise.
75324         * math/w_acoshf.c: Likewise.
75325         * math/w_acoshl.c: Likewise.
75326         * math/w_acosl.c: Likewise.
75327         * math/w_asin.c: Likewise.
75328         * math/w_asinf.c: Likewise.
75329         * math/w_asinl.c: Likewise.
75330         * math/w_atanh.c: Likewise.
75331         * math/w_atanhf.c: Likewise.
75332         * math/w_atanhl.c: Likewise.
75333         * math/w_exp2.c: Likewise.
75334         * math/w_exp2f.c: Likewise.
75335         * math/w_exp2l.c: Likewise.
75336         * math/w_j0.c: Likewise.
75337         * math/w_j0f.c: Likewise.
75338         * math/w_j0l.c: Likewise.
75339         * math/w_j1.c: Likewise.
75340         * math/w_j1f.c: Likewise.
75341         * math/w_j1l.c: Likewise.
75342         * math/w_jn.c: Likewise.
75343         * math/w_jnf.c: Likewise.
75344         * math/w_log.c: Likewise.
75345         * math/w_log10.c: Likewise.
75346         * math/w_log10f.c: Likewise.
75347         * math/w_log10l.c: Likewise.
75348         * math/w_log2.c: Likewise.
75349         * math/w_log2f.c: Likewise.
75350         * math/w_log2l.c: Likewise.
75351         * math/w_logf.c: Likewise.
75352         * math/w_logl.c: Likewise.
75353         * math/w_sqrt.c: Likewise.
75354         * math/w_sqrtf.c: Likewise.
75355         * math/w_sqrtl.c: Likewise.
75356         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75358         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75359         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75360         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75364         [BZ #9739]
75365         * manual/string.texi (strnlen): Use correct parameter name in
75366         equivalent expression.
75368 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75370         [BZ #11174]
75371         * manual/users.texi (seteuid): Consistently use neweuid for
75372         argument name.
75374 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75376         [BZ #13704]
75377         * manual/nss.texi (Services in the NSS configuration): Correct
75378         list of services in example configuration file.
75380 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75382         [BZ #11322]
75383         * manual/arith.texi: Remove statements about negative zero
75384         behaving identically to zero.
75386 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75388         [BZ #5993]
75389         * manual/install.texi: Do not document upgrading from libc5.
75391 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75393         [BZ #4596]
75394         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75396 2012-02-18  David S. Miller  <davem@davemloft.net>
75398         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75399         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75400         %o7 across the call.
75401         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75402         instead.
75403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75404         SETUP_PIC_REG_LEAF.
75405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75406         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75407         * sysdeps/sparc/crtn.S: Likewise.
75409 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75411         * aout/Makefile: Remove.
75413 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75415         [BZ #13058]
75416         * manual/examples/argp-ex1.c (main): Format definition in GNU
75417         style.
75418         * manual/examples/argp-ex2.c (main): Likewise.
75419         * manual/examples/argp-ex3.c (main): Likewise.
75420         * manual/examples/argp-ex4.c (main): Likewise.
75421         * manual/examples/longopt.c (main): Use new-style prototype
75422         definition.
75423         * manual/examples/strncat.c (main): Specify return type and use
75424         (void) for arguments.
75425         * manual/examples/subopt.c (main): Use char **argv argument.
75427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75429         [BZ #5077]
75430         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75431         rounding modes.
75433 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75435         [BZ #6907]
75436         * manual/string.texi (strchr): Change when strchrnul is
75437         recommended.
75439 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75441         [BZ #174]
75442         * manual/locale.texi (setlocale): Document LOCPATH.
75444 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75446         [BZ #10210]
75447         * manual/process.texi (execle): Move @dots{} before last argument.
75449 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75451         [BZ #12047]
75452         * manual/charset.texi (Generic Charset Conversion): Fix typo
75453         (LC_TYPE -> LC_CTYPE).
75455 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75457         [BZ #5805]
75458         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75459         (scalbnf): Likewise.
75460         (scalbnl): Likewise.
75461         (scalbln): Likewise.
75462         (scalblnf): Likewise.
75463         (scalblnl): Likewise.
75464         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75465         (vwarnx): Likewise.
75466         (verr): Likewise.
75467         (verrx): Likewise.
75468         * manual/filesys.texi (telldir): Use braces around return type.
75469         * manual/llio.texi (mmap): Add space after comma.
75470         (mmap64): Likewise.
75471         * manual/math.texi (jn): Use @var{} on parameter names.
75472         (jnf): Likewise.
75473         (jnl): Likewise.
75474         (yn): Likewise.
75475         (ynf): Likewise.
75476         (ynl): Likewise.
75477         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75478         line.
75479         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75480         "...".
75481         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75482         (sched_get_priority_max): Likewise.
75483         * manual/signal.texi (sigvec): Add space after comma.
75484         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75485         names.
75486         (if_indextoname): Likewise.
75487         (if_freenameindex): Likewise.
75488         (sendto): Use ',' instead of '.' in prototype.
75489         * manual/startup.texi (syscall): Use @dots{} instead of literal
75490         "...".
75491         * manual/stdio.texi (__fpending): Separate initial words of
75492         paragraph from @deftypefun line.
75493         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75494         "...".
75495         (vsyslog): Use @var{} on parameter names.
75496         * manual/terminal.texi (stty): Use @var{} on parameter names.
75497         * manual/users.texi (getutmp): Use @var{} on parameter names.
75498         (getutmpx): Likewise.
75500 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75502         [BZ #6884]
75503         * manual/stdio.texi (fopen): Fix typos in description of
75504         ",ccs=STRING".
75506 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75508         [BZ #4026]
75509         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75510         get clock_id definition.
75512 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75514         [BZ #4822]
75515         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75516         (madvise): Cast every argument to void on its own.
75518 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75520         [BZ #9902]
75521         * manual/startup.texi (Exit Status): Fix typo.
75523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75525         [BZ #10140]
75526         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75527         * manual/examples/argp-ex2.c: Likewise.
75528         * manual/examples/argp-ex3.c: Likewise.
75530 2012-02-16  Richard Henderson  <rth@redhat.com>
75532         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75533         * sysdeps/s390/s390-32/initfini.c: Remove.
75534         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75535         * sysdeps/s390/s390-64/initfini.c: Remove.
75537 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75539         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75540         compiler output for sysdeps/generic/initfini.c.
75541         * sysdeps/sh/elf/initfini.c: Remove file.
75543 2012-02-16  David S. Miller  <davem@davemloft.net>
75545         [BZ #11494]
75546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75548         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75549         * sysdeps/sparc/crti.S: New file.
75550         * sysdeps/sparc/crtn.S: New file.
75551         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75552         * sysdeps/sparc/sparc64/Makefile: Likewise.
75554 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75556         [BZ #3335]
75557         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75559 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75561         [BZ #4822]
75562         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75564         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75565         (write, read, close): Likewise.
75566         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75568 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75570         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75571         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75572         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75573         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75574         <bits/signalfd.h>.
75575         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75577         bits/signalfd.h.
75579 2012-02-14  Marek Polacek  <polacek@redhat.com>
75581         * sysdeps/x86_64/crti.S: New file.
75582         * sysdeps/x86_64/crtn.S: New file.
75583         * sysdeps/x86_64/elf/initfini.c: Remove file.
75585 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75587         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75588         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75589         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75590         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75591         <bits/inotify.h>.
75592         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75594         bits/inotify.h.
75596 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75598         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75599         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75600         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75601         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75602         <bits/eventfd.h>.
75603         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75605         bits/eventfd.h.
75607 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75609         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75610         __feraiseexcept instead of feraiseexcept.
75612         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75613         nanosleep invocations.
75614         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75615         strings, and add error checking for a nanosleep invocations.
75617 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75619         Replace FSF snail mail address with URLs, as per GNU coding standards.
75620         Most of the snail mail addresses were wrong anyway, and omitting
75621         them makes the source code easier to maintain.  Almost all of the
75622         changes are to license notices and to locale LC_IDENTIFICATION
75623         addresses, except for this one:
75624         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75625         not its snail mail address.
75627 2012-02-09  Richard Henderson  <rth@twiddle.net>
75629         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75630         of kernel-features.h.
75632         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75634 2012-02-08  Marek Polacek  <polacek@redhat.com>
75636         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75637         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75638         * sysdeps/gnu/_G_config.h: Likewise.
75639         * sysdeps/generic/_G_config.h: Likewise.
75641 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75643         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75644         tests.
75645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75647         * sysdeps/powerpc/powerpc32/crti.S: New file.
75648         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75649         * sysdeps/powerpc/powerpc64/crti.S: New file.
75650         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75652         * Makeconfig (have-initfini): Don't set.
75653         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75654         * configure.in (nopic_initfini): Don't substitute.
75655         * config.h.in (HAVE_INITFINI): Don't #undef.
75656         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75657         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75659 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75661         Support crti.S and crtn.S provided directly by architectures.
75662         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75663         [crti.S in sysdirs] (omit-deps): Likewise.
75664         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75665         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75666         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75667         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75668         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75669         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75670         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75671         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75672         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75673         compiler output for sysdeps/generic/initfini.c.
75674         * sysdeps/i386/elf/Makefile: Remove file.
75675         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75677 2012-02-07  Marek Polacek  <polacek@redhat.com>
75679         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75680         * sysdeps/gnu/_G_config.h: Likewise.
75681         * sysdeps/mach/hurd/_G_config.h: Likewise.
75683 2012-02-07  Marek Polacek  <polacek@redhat.com>
75685         * math/Makefile (tests): Add tst-CMPLX2.
75686         * math/tst-CMPLX2.c: New file.
75688 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75690         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75692         * math/libm-test.inc (jn_test): Add missing L suffix.
75694 2012-02-06  Marek Polacek  <polacek@redhat.com>
75696         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75697         * sysdeps/i386/fpu/e_powf.S: Likewise.
75698         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75699         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75700         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75701         * sysdeps/i386/fpu/e_pow.S: Likewise.
75702         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75703         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75704         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75705         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75706         * sysdeps/i386/fpu/e_log2.S: Likewise.
75707         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75708         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75709         * sysdeps/i386/fpu/e_powl.S: Likewise.
75710         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75711         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75712         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75713         * sysdeps/i386/fpu/e_logl.S: Likewise.
75714         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75715         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75716         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75717         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75718         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75719         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75720         * sysdeps/i386/fpu/e_log.S: Likewise.
75721         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75722         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75723         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75724         * sysdeps/i386/fpu/e_logf.S: Likewise.
75725         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75726         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75727         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75728         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75729         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75730         * sysdeps/i386/fpu/e_log10.S: Likewise.
75731         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75732         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75733         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75734         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75735         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75736         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75737         * sysdeps/i386/asm-syntax.h: Likewise.
75738         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75739         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75740         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75741         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75742         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75743         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75744         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75745         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75746         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75747         * sysdeps/powerpc/sysdep.h: Likewise.
75748         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75749         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75751 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75753         [BZ #411]
75754         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75756 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75758         * sysdeps/i386/sysdep.h: Include <features.h>.
75759         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75760         version.
75762 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75764         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75765         Define.
75766         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75767         LOAD_PIC_REG_STR.
75769 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75771         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75772         (SETUP_PIC_REG): Use GET_PC_THUNK.
75773         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75774         macro.
75776 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75778         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75779         for non-PIC compilation.
75780         (SETUP_PIC_REG): Add .p2align directive.
75781         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75782         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75783         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75784         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75785         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75786         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75787         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75788         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75789         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75790         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75791         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75792         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75793         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75794         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75795         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75796         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75797         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75798         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75799         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75800         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75801         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75802         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75803         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75804         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75805         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75807         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75808         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75809         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75810         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75811         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75812         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75813         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75814         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75815         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75816         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75817         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75818         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75819         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75820         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75821         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75823 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75825         * math/tst-CMPLX.c: Include <stdio.h>.
75827 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75829         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75830         float.
75831         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75832         * sysdeps/sparc/bits/mathdef.h: Likewise.
75834 2012-01-31  Marek Polacek  <polacek@redhat.com>
75836         * libio/libio.h: Don't define _PARAMS.
75837         * locale/programs/config.h: Don't define PARAMS.
75838         * stdlib/strtol_l.c: Likewise.
75839         (__strtol_l): Remove PARAMS from the prototype.
75841 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75843         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75844         names.  Just use the correct names.  Remove unnecessary wrapper
75845         functions.
75846         * malloc/arena.c: Likewise.
75847         * malloc/hooks.c: Likewise.
75849         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75850         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75851         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75853 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75855         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75856         into tail calls.
75857         (update_get_addr): New function.
75858         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75859         GET_ADDR_MODULE parameter.
75861 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75863         * crypt/cert.c: Remove __STDC__ conditionals.
75864         * crypt/crypt-entry.c: Likewise.
75865         * crypt/crypt_util.c: Likewise.
75866         * libio/filedoalloc.c: Likewise.
75867         * libio/fileops.c: Likewise.
75868         * libio/genops.c: Likewise.
75869         * libio/iofclose.c: Likewise.
75870         * libio/iofdopen.c: Likewise.
75871         * libio/iofopen.c: Likewise.
75872         * libio/iofopen64.c: Likewise.
75873         * libio/iogetdelim.c: Likewise.
75874         * libio/iopopen.c: Likewise.
75875         * libio/obprintf.c: Likewise.
75876         * libio/oldfileops.c: Likewise.
75877         * libio/oldiofclose.c: Likewise.
75878         * libio/oldiofdopen.c: Likewise.
75879         * libio/oldiofopen.c: Likewise.
75880         * libio/oldiopopen.c: Likewise.
75881         * libio/wfiledoalloc.c: Likewise.
75882         * libio/wgenops.c: Likewise.
75883         * locale/programs/xmalloc.c: Likewise.
75884         * misc/syslog.c: Likewise.
75885         * stdio-common/xbug.c: Likewise.
75886         * string/memchr.c: Likewise.
75887         * string/memcmp.c: Likewise.
75888         * string/memrchr.c: Likewise.
75889         * string/rawmemchr.c: Likewise.
75890         * sysdeps/posix/getcwd.c: Likewise.
75891         * time/strftime_l.c: Likewise.
75893 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75895         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75896         * config.make.in (config-cflags-sse2avx): Define.
75897         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75898         Fix typo.
75900 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75902         * scripts/config.guess: Update from upstream config git repository.
75903         * scripts/config.sub: Likewise.
75905 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75907         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75908         (EM_NUM): Update.
75909         (R_TILEPRO_*, R_TILEGX_*): New macros.
75911         * scripts/firstversions.awk: Fix bug in version range handling.
75913         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75915         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75917         * include/sys/epoll.h: New file.
75918         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75919         libc_hidden_def.
75921 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75923         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75924         Avoid unnecessary __WORDSIZE == 64 test.
75925         (fmaxf): Use VEX format if possible.
75926         (fmax): Likewise.
75927         (fminf): Likewise.
75928         (fmin): Likewise.
75930         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75931         * math/math_private.h: Remove libc_fegetround* and
75932         libc_fesetround*.
75933         * sysdeps/i386/configure.in: Check for -msse2avx.
75934         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75935         also if SSE2AVX is defined.
75936         Remove libc_fegetround* and libc_fesetround*.
75937         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75938         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75939         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75940         of HAS_YMM_USABLE.
75941         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75942         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75943         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75944         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75945         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75947         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75949 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75951         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75952         size is not set.
75953         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75955 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75957         [BZ #13618]
75958         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75959         relocation.
75960         * Makeconfig (libm): Define.
75961         * elf/Makefile: Add rules to build and run tst-relsort1.
75962         * elf/tst-relsort1.c: New file.
75963         * elf/tst-relsort1mod1.c: New file.
75964         * elf/tst-relsort1mod2.c: New file.
75966 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75968         * math/s_ldexp.c: Remove __STDC__ conditionals.
75969         * math/s_ldexpf.c: Likewise.
75970         * math/s_ldexpl.c: Likewise.
75971         * math/s_nextafter.c: Likewise.
75972         * math/s_nexttowardf.c: Likewise.
75973         * math/s_significand.c: Likewise.
75974         * math/s_significandf.c: Likewise.
75975         * math/s_significandl.c: Likewise.
75976         * math/w_jnl.c: Likewise.
75977         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75978         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75979         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75980         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75981         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75983         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75984         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75985         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75986         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75987         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75988         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75989         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75990         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75991         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75992         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75993         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75994         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75995         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75996         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75997         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75998         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75999         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76000         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76001         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76002         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76003         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76004         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76005         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76006         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76007         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76008         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76009         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76010         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76011         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76012         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76013         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76014         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76015         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76016         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76017         * sysdeps/ieee754/k_standard.c: Likewise.
76018         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76019         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76020         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76021         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76022         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76023         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76024         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76025         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76026         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76027         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76028         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76029         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76030         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76031         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76032         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76033         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76034         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76035         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76036         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76037         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76038         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76039         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76040         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76041         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76042         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76043         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76044         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76045         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76046         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76047         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76048         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76049         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76050         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76051         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76052         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76053         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76054         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76055         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76056         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76057         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76058         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76060         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76061         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76062         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76063         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76064         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76066         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76067         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76068         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76071         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76072         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76073         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76074         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76075         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76076         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76077         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76078         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76079         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76080         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76081         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76082         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76083         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76084         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76085         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76086         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76087         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76088         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76089         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76090         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76091         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76092         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76093         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76094         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76095         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76096         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76097         * sysdeps/ieee754/s_matherr.c: Likewise.
76098         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76099         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76100         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76101         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76103 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76105         * crypt/md5.h: Remove __STDC__ conditionals.
76106         * libio/libioP.h: Likewise.
76107         * locale/programs/config.h: Likewise.
76108         * sysdeps/generic/sysdep.h: Likewise.
76109         * sysdeps/i386/asm-syntax.h: Likewise.
76110         * sysdeps/s390/asm-syntax.h: Likewise.
76111         * sysdeps/unix/sysdep.h: Likewise.
76112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76115 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76117         * libio/libio.h: Remove __STDC__ conditionals.
76118         * malloc/obstack.h: Likewise.
76119         * math/complex.h: Likewise.
76120         * math/math.h: Likewise.
76121         * sysdeps/generic/_G_config.h: Likewise.
76122         * sysdeps/gnu/_G_config.h: Likewise.
76123         * sysdeps/mach/hurd/_G_config.h: Likewise.
76124         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76125         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76126         * sysdeps/sparc/bits/mathdef.h: Likewise.
76128 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76130         [BZ #13583]
76131         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76132         Clean up HAS_* macros.
76133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76134         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76135         possible.
76136         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76137         HAS_AVX.
76138         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76139         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76140         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76141         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76142         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76144 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76146         * elf/tst-unique3.cc (gets): Remove declaration.
76147         * elf/tst-unique3lib.cc (gets): Likewise.
76148         * elf/tst-unique3lib2.cc (gets): Likewise.
76149         * elf/tst-unique4.cc (gets): Likewise.
76151 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76153         * include/stdio.h: Add C++ protection.  Add gets declarations and
76154         definitions.
76155         * debug/tst-chk1.c: Don't declare gets here.
76156         * stdio-common/tst-gets.c: Likewise.
76158 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76160         * posix/glob: Remove directory.
76162 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76164         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76166 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76168         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76169         of the non-standard EPFNOSUPPORT.
76171 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76173         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76174         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76175         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76177 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76179         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76181 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76183         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76184         transient errors.
76185         * nscd/grpcache.c (cache_addgr): Likewise.
76186         * nscd/hstcache.c (cache_addhst): Likewise.
76187         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76188         * nscd/pwdcache.c (cache_addpw): Likewise.
76189         * nscd/servicescache.c (cache_addserv): Likewise.
76191 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76193         * malloc/malloc.c: Various cleanups.
76194         * malloc/hooks.c: Likewise.
76196         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76197         * stdlib/bug-fmtmsg1.c: New file.
76199         * stdlib/fmtmsg.c (init): Add missing unlock.
76200         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76202 2012-01-12  Marek Polacek  <polacek@redhat.com>
76204         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76205         and _GNU_SOURCE.
76207 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76209         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76210         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76211         macro to ensure uniqueness of label name.
76212         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76213         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76215 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76217         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76219         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76220         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76221         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76222         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76224 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76226         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76228         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76229         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76230         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76232         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76234         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76235         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76236         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76237         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76239         * math/bits/math-finite.h: Add ldexp support.
76241 2012-01-10  Marek Polacek  <polacek@redhat.com>
76243         * locale/programs/localedef.h (show_archive_content): Add noreturn
76244         attribute.
76246 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76248         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76250 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76252         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76254         * io/Makefile (headers): Add bits/poll2.h.
76256 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76259         typo #include statement.
76261 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76263         * include/sys/cdefs.h: Define __attribute_alloc_size.
76264         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76265         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76266         * elf/pldd.c: Likewise.
76267         * iconv/iconv_charmap.c: Likewise.
76268         * iconv/iconvconfig.c: Likewise.
76269         * iconv/strtab.c: Likewise.
76270         * locale/programs/locale.c: Likewise.
76271         * locale/programs/localedef.h: Likewise.
76272         * locale/programs/simple-hash.c: Likewise.
76273         * nscd/nscd.h: Likewise.
76274         * nss/makedb.c: Likewise.
76275         * sysdeps/generic/ldconfig.h: Likewise.
76276         * locale/programs/localedef.c: Remove xmalloc prototype.
76277         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76279 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76281         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76282         appropriate.
76284 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76286         * math/Makefile (tests): Add tst-CMPLX.
76287         * math/tst-CMPLX.c: New file.
76289         * math/complex.h (CMPLXL): Fix typo.
76291         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76292         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76293         GLIBC_2.16.
76294         * debug/tst-chk1.c: Add poll and ppoll tests.
76295         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76296         * include/sys/poll.h: Add hidden proto for ppoll.
76297         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76298         * sysdeps/mach/hurd/ppoll.c: Likewise.
76299         * io/ppoll.c: Likewise.
76300         * debug/poll_chk.c: New file.
76301         * debug/ppoll_chk.c: New file.
76302         * include/bits/poll2.h: New file.
76303         * io/bits/poll2.h: New file.
76305         [BZ #1350]
76306         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76308         * configure.in: static is always set to yes.  Remove.
76309         * config.make.in: Don't set build-static.
76310         * Makeconfig: Remove use of build-static.
76311         * dlfcn/Makefile: Likewise.
76312         * elf/Makefile: Likewise.
76313         * math/Makefile: Likewise.
76314         * misc/Makefile: Likewise.
76315         * nptl/Makefile: Likewise.
76316         * sysdeps/mach/hurd/Makefile: Likewise.
76318         * configure.in: PWD_P is not used anymore.
76319         * config.make.in: Remove PWD_P entry.
76321         * configure.in: Remove last remnants of RANLIB.
76322         No need to check for signed size_t anymore.
76323         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76324         and IA-64.
76325         Remove __builtin_expect test because we require at least gcc 3.4.
76326         * aclocal.m4: Likewise.
76328         * wcsmbs/mbrtoc16.c: Implement using towc function.
76329         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76330         * wcsmbs/wcsmbsload.c: Likewise.
76331         * iconv/gconv_simple.c: Likewise.
76332         * iconv/gconv_int.h: Likewise.
76333         * iconv/gconv_builtin.h: Likewise.
76334         * iconv/iconv_prog.c: Remove CHAR16 handling.
76336         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76338         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76340         * configure.in: Remove --with-elf and --enable-bounded options.
76341         Dont set base_machine for ia64.  More non-ELF conditions removed.
76342         Remove testing and setting of leading underscore information.
76343         * config.make.in (build-bounded): Set to no.
76344         * config.h.in: Remove NO_UNDERSCORES entry.
76345         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76346         them.
76347         * csu/start.c: Remove !NO_UNDERSCORE code.
76348         * locale/localeinfo.h: Likewise.
76349         * sysdeps/generic/machine-gmon.h: Likewise.
76350         * sysdeps/generic/sysdep.h: Likewise.
76351         * sysdeps/i386/sysdep.h: Likewise.
76352         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76353         * sysdeps/mach/sysdep.h: Likewise.
76354         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76355         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76356         * sysdeps/sh/sysdep.h: Likewise.
76357         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76358         * sysdeps/unix/i386/sysdep.S: Likewise.
76359         * sysdeps/unix/sparc/start.c: Likewise.
76360         * sysdeps/unix/sparc/sysdep.S: Likewise.
76361         * sysdeps/unix/sparc/sysdep.h: Likewise.
76362         * sysdeps/unix/start.c: Likewise.
76363         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76364         * sysdeps/x86_64/sysdep.h: Likewise.
76366 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76368         [BZ #13553]
76369         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76370         for non-gcc.
76371         * argp/argp-fmtstream.h: Use const instead __const.
76372         * argp/argp.h: Likewise.
76373         * assert/assert.h: Likewise.
76374         * bits/fenv.h: Likewise.
76375         * bits/sched.h: Likewise.
76376         * bits/sigset.h: Likewise.
76377         * bits/sigthread.h: Likewise.
76378         * catgets/nl_types.h: Likewise.
76379         * conform/data/pthread.h-data: Likewise.
76380         * crypt/crypt-private.h: Likewise.
76381         * crypt/crypt.h: Likewise.
76382         * crypt/crypt_util.c: Likewise.
76383         * ctype/ctype.h: Likewise.
76384         * debug/execinfo.h: Likewise.
76385         * debug/mbsnrtowcs_chk.c: Likewise.
76386         * debug/mbsrtowcs_chk.c: Likewise.
76387         * debug/wcsnrtombs_chk.c: Likewise.
76388         * debug/wcsrtombs_chk.c: Likewise.
76389         * debug/wcstombs_chk.c: Likewise.
76390         * dirent/dirent.h: Likewise.
76391         * dlfcn/dlfcn.h: Likewise.
76392         * elf/neededtest4.c: Likewise.
76393         * grp/grp.h: Likewise.
76394         * gshadow/gshadow.h: Likewise.
76395         * iconv/gconv.h: Likewise.
76396         * iconv/gconv_int.h: Likewise.
76397         * iconv/gconv_simple.c: Likewise.
76398         * iconv/iconv.h: Likewise.
76399         * iconv/loop.c: Likewise.
76400         * iconv/skeleton.c: Likewise.
76401         * include/aio.h: Likewise.
76402         * include/aliases.h: Likewise.
76403         * include/argz.h: Likewise.
76404         * include/arpa/inet.h: Likewise.
76405         * include/assert.h: Likewise.
76406         * include/dirent.h: Likewise.
76407         * include/dlfcn.h: Likewise.
76408         * include/execinfo.h: Likewise.
76409         * include/fcntl.h: Likewise.
76410         * include/fenv.h: Likewise.
76411         * include/glob.h: Likewise.
76412         * include/grp.h: Likewise.
76413         * include/libintl.h: Likewise.
76414         * include/mntent.h: Likewise.
76415         * include/netdb.h: Likewise.
76416         * include/pwd.h: Likewise.
76417         * include/rpc/netdb.h: Likewise.
76418         * include/sched.h: Likewise.
76419         * include/search.h: Likewise.
76420         * include/shadow.h: Likewise.
76421         * include/signal.h: Likewise.
76422         * include/stdio.h: Likewise.
76423         * include/stdlib.h: Likewise.
76424         * include/string.h: Likewise.
76425         * include/sys/socket.h: Likewise.
76426         * include/sys/stat.h: Likewise.
76427         * include/sys/statfs.h: Likewise.
76428         * include/sys/statvfs.h: Likewise.
76429         * include/sys/syslog.h: Likewise.
76430         * include/sys/time.h: Likewise.
76431         * include/sys/uio.h: Likewise.
76432         * include/time.h: Likewise.
76433         * include/unistd.h: Likewise.
76434         * include/utmp.h: Likewise.
76435         * include/wchar.h: Likewise.
76436         * include/wctype.h: Likewise.
76437         * inet/aliases.h: Likewise.
76438         * inet/arpa/inet.h: Likewise.
76439         * inet/netinet/ether.h: Likewise.
76440         * inet/netinet/in.h: Likewise.
76441         * intl/libintl.h: Likewise.
76442         * io/bits/fcntl2.h: Likewise.
76443         * io/fcntl.h: Likewise.
76444         * io/ftw.h: Likewise.
76445         * io/sys/poll.h: Likewise.
76446         * io/sys/stat.h: Likewise.
76447         * io/sys/statfs.h: Likewise.
76448         * io/sys/statvfs.h: Likewise.
76449         * io/utime.h: Likewise.
76450         * libio/bits/stdio.h: Likewise.
76451         * libio/bits/stdio2.h: Likewise.
76452         * libio/libio.h: Likewise.
76453         * libio/libioP.h: Likewise.
76454         * libio/stdio.h: Likewise.
76455         * locale/lc-ctype.c: Likewise.
76456         * locale/locale.h: Likewise.
76457         * login/utmp.h: Likewise.
76458         * malloc/arena.c: Likewise.
76459         * malloc/malloc.c: Likewise.
76460         * malloc/malloc.h: Likewise.
76461         * malloc/mcheck.c: Likewise.
76462         * malloc/mtrace.c: Likewise.
76463         * math/bits/mathcalls.h: Likewise.
76464         * math/fenv.h: Likewise.
76465         * math/math_private.h: Likewise.
76466         * misc/bits/error.h: Likewise.
76467         * misc/bits/syslog.h: Likewise.
76468         * misc/err.h: Likewise.
76469         * misc/error.h: Likewise.
76470         * misc/fstab.h: Likewise.
76471         * misc/mntent.h: Likewise.
76472         * misc/regexp.h: Likewise.
76473         * misc/search.h: Likewise.
76474         * misc/sgtty.h: Likewise.
76475         * misc/sys/mman.h: Likewise.
76476         * misc/sys/syslog.h: Likewise.
76477         * misc/sys/uio.h: Likewise.
76478         * misc/sys/xattr.h: Likewise.
76479         * misc/ttyent.h: Likewise.
76480         * nis/rpcsvc/ypclnt.h: Likewise.
76481         * nss/nss.h: Likewise.
76482         * posix/bits/unistd.h: Likewise.
76483         * posix/fnmatch.h: Likewise.
76484         * posix/glob.h: Likewise.
76485         * posix/sched.h: Likewise.
76486         * posix/spawn.h: Likewise.
76487         * posix/sys/wait.h: Likewise.
76488         * posix/unistd.h: Likewise.
76489         * posix/wordexp.h: Likewise.
76490         * pwd/pwd.h: Likewise.
76491         * resolv/netdb.h: Likewise.
76492         * resource/sys/resource.h: Likewise.
76493         * rt/aio.h: Likewise.
76494         * rt/bits/mqueue2.h: Likewise.
76495         * rt/mqueue.h: Likewise.
76496         * shadow/shadow.h: Likewise.
76497         * signal/signal.h: Likewise.
76498         * socket/send.c: Likewise.
76499         * socket/sendto.c: Likewise.
76500         * socket/sys/socket.h: Likewise.
76501         * stdio-common/printf.h: Likewise.
76502         * stdlib/bits/stdlib.h: Likewise.
76503         * stdlib/fmtmsg.h: Likewise.
76504         * stdlib/monetary.h: Likewise.
76505         * stdlib/stdlib.h: Likewise.
76506         * stdlib/ucontext.h: Likewise.
76507         * streams/stropts.h: Likewise.
76508         * string/argz.h: Likewise.
76509         * string/bits/string2.h: Likewise.
76510         * string/string.h: Likewise.
76511         * string/strings.h: Likewise.
76512         * sunrpc/rpc/auth.h: Likewise.
76513         * sunrpc/rpc/auth_des.h: Likewise.
76514         * sunrpc/rpc/clnt.h: Likewise.
76515         * sunrpc/rpc/netdb.h: Likewise.
76516         * sunrpc/rpc/pmap_clnt.h: Likewise.
76517         * sunrpc/rpc/xdr.h: Likewise.
76518         * sysdeps/generic/inttypes.h: Likewise.
76519         * sysdeps/generic/net/if.h: Likewise.
76520         * sysdeps/generic/sys/swap.h: Likewise.
76521         * sysdeps/gnu/net/if.h: Likewise.
76522         * sysdeps/gnu/utmpx.h: Likewise.
76523         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76524         * sysdeps/i386/i486/bits/string.h: Likewise.
76525         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76526         * sysdeps/s390/bits/string.h: Likewise.
76527         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76528         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76529         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76530         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76531         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76532         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76533         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76534         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76535         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76536         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76537         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76538         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76539         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76540         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76541         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76542         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76543         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76544         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76545         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76546         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76547         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76548         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76549         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76550         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76551         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76552         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76553         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76554         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76555         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76556         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76557         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76558         * sysvipc/sys/ipc.h: Likewise.
76559         * sysvipc/sys/msg.h: Likewise.
76560         * sysvipc/sys/sem.h: Likewise.
76561         * sysvipc/sys/shm.h: Likewise.
76562         * termios/termios.h: Likewise.
76563         * time/sys/time.h: Likewise.
76564         * time/time.h: Likewise.
76565         * wcsmbs/bits/wchar2.h: Likewise.
76566         * wcsmbs/uchar.h: Likewise.
76567         * wcsmbs/wchar.h: Likewise.
76568         * wctype/wctype.h: Likewise.
76570         [BZ #13551]
76571         * Makeconfig: Remove all but ELF support including AIX support.
76572         * Makerules: Likewise.
76573         * config.h.in: Likewise.
76574         * config.make.in: Likewise.
76575         * configure: Likewise.
76576         * configure.in: Likewise.
76577         * csu/Makefile: Likewise.
76578         * csu/version.c: Likewise.
76579         * debug/Makefile: Likewise.
76580         * dlfcn/Makefile: Likewise.
76581         * elf/Makefile: Likewise.
76582         * extra-lib.mk: Likewise.
76583         * iconv/Makefile: Likewise.
76584         * include/libc-symbols.h: Likewise.
76585         * include/shlib-compat.h: Likewise.
76586         * resolv/Makefile: Likewise.
76587         * resolv/res_libc.c: Likewise.
76588         * rt/Makefile: Likewise.
76589         * sysdeps/i386/asm-syntax.h: Likewise.
76590         * sysdeps/i386/sysdep.h: Likewise.
76591         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76592         * sysdeps/mach/sysdep.h: Likewise.
76593         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76594         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76595         * sysdeps/s390/asm-syntax.h: Likewise.
76596         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76597         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76598         * sysdeps/sh/sysdep.h: Likewise.
76599         * sysdeps/unix/sparc/sysdep.h: Likewise.
76600         * sysdeps/wordsize-32/divdi3.c: Likewise.
76601         * sysdeps/x86_64/sysdep.h: Likewise.
76603         * argp/Versions: Remove _argp_unlock_xxx.
76605         [BZ #13559]
76606         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76607         * abilist/libBrokenLocale.abilist: Likewise.
76608         * abilist/libanl.abilist: Likewise.
76609         * abilist/libc.abilist: Likewise.
76610         * abilist/libcrypt.abilist: Likewise.
76611         * abilist/libdl.abilist: Likewise.
76612         * abilist/libm.abilist: Likewise.
76613         * abilist/libnsl.abilist: Likewise.
76614         * abilist/libpthread.abilist: Likewise.
76615         * abilist/libresolv.abilist: Likewise.
76616         * abilist/librt.abilist: Likewise.
76617         * abilist/libthread_db.abilist: Likewise.
76618         * abilist/libutil.abilist: Likewise.
76619         * abilist/libnss_db.abilist: New file.
76621         * scripts/abilist.awk: Add support for indirect functions.
76623         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76625         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76627         * shlib-versions: Remove entries for ports architectures.
76629         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76630         files in ports.
76631         * elf/stackguard-macros.h: Remove support for IA-64.
76632         * elf/tst-auditmod1.c: Likewise.
76633         * sysdeps/generic/ldsodefs.h: Likewise.
76635         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76636         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76637         configure files.
76639         [BZ #13552]
76640         * configure.in: Remove --enable-omitfp support.
76641         * FAQ.in: Adjust.
76642         * config.make.in: Likewise.
76643         * Makeconfig: Likewise.
76644         * manual/install.texi: Likewise.
76646         In case anyone cares, the IA-64 architecture could move to ports.
76647         * sysdeps/ia64/*: Removed.
76648         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76649         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76651         [BZ #13555]
76652         * configure.in: Remove entries for unsupported architectures.
76654         [BZ #13533]
76655         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76656         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76657         routines.
76658         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76659         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76660         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76661         fall back to using wcrtomb.
76662         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76663         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76664         renaming.
76665         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76666         * wcsmbs/tst-c16c32-1.c: New file.
76668         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76669         local variable.
76671         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76673         * elf/tst-unique3.cc: Add explicit declaration of gets.
76674         * elf/tst-unique3lib.cc: Likewise.
76675         * elf/tst-unique3lib2.cc: Likewise.
76676         * elf/tst-unique4.cc: Likewise.
76678         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76680 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76682         [BZ #13566]
76683         * assert/assert.h (static_assert): Don't define for C++.
76684         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76685         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76687 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76689         * iconv/loop.c (single loop): Fix assertion in storing of
76690         remaining bytes.
76692         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76694 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76696         * posix/getconf.c: Update copyright year.
76697         * nss/getent.c: Likewise.
76698         * nss/makedb.c: Likewise.
76699         * iconv/iconvconfig.c: Likewise.
76700         * iconv/iconv_prog.c: Likewise.
76701         * elf/ldconfig.c: Likewise.
76702         * elf/pldd.c: Likewise.
76703         * elf/sotruss.ksh: Likewise.
76704         * catgets/gencat.c: Likewise.
76705         * csu/version.c: Likewise.
76706         * elf/ldd.bash.in: Likewise.
76707         * elf/sprof.c (print_version): Likewise.
76708         * locale/programs/locale.c: Likewise.
76709         * locale/programs/localedef.c: Likewise.
76710         * login/programs/pt_chown.c: Likewise.
76711         * nscd/nscd.c (print_version): Likewise.
76712         * debug/xtrace.sh: Likewise.
76713         * malloc/memusage.sh: Likewise.
76714         * malloc/mtrace.pl: Likewise.
76715         * debug/catchsegv.sh: Likewise.
76717 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76719         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76720         pure attribute.
76722 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76724         [BZ #13533]
76725         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76726         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76727         transformations.
76728         * iconv/gconv_int.h: Likewise.
76729         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76730         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76731         from libc for GLIBC_2.16.
76732         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76733         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76734         * wcsmbs/uchar.h: Really define mbstate_t.
76735         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76736         * wcsmbs/c16rtomb.c: New file.
76737         * wcsmbs/mbrtoc16.c: New file.
76738         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76739         for C/POSIX locale.
76740         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76741         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76743         * wcsmbs/wchar.h: Add missing __restrict.
76745 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76747         [BZ #13532]
76748         * time/Makefile (routines): Add timespec_get.
76749         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76750         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76751         timespec for ISO C11.
76752         * time/timespec_get.c: New file.
76753         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76754         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76756         [BZ #13531]
76757         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76758         * stdlib/stdlib.h: Declare aligned_alloc.
76759         * Versions.def: Add GLIBC_2.16 for libc.
76760         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76762         [BZ 13527]
76763         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76764         ISO C11.
76766         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76767         code.
76769         [BZ #13528]
76770         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76772         [BZ #13529]
76773         * assert/assert.h (static_assert): Define.
76775         * version.h: Update for 2.16 development version.
76777         [BZ #13526]
76778         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76779         _ISOC11_SOURCE.
76781         * version.h (RELEASE): Bump for 2.15 release.
76782         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76784         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76785         Patch by Marek Polacek <mpolacek@redhat.com>.
76787         * bits/byteswap.h: Protect long long constants with __extension__.
76788         * sysdeps/i386/bits/byteswap.h: Likewise.
76789         * sysdeps/ia64/bits/byteswap.h: Likewise.
76790         * sysdeps/s390/bits/byteswap.h: Likewise.
76791         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76793 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76795         [BZ #13540]
76796         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76797         destination buffer.
76798         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76800 2011-12-23  Marek Polacek  <polacek@redhat.com>
76802         * elf/dl-addr.c (determine_info): Add inline keyword.
76803         * elf/tst-auditmod4b.c (check_avx): Likewise.
76804         * elf/tst-auditmod6b.c (check_avx): Likewise.
76805         * elf/tst-auditmod6c.c (check_avx): Likewise.
76806         * elf/tst-auditmod7b.c (check_avx): Likewise.
76808 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76810         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76811         !__SSE_MATH__.
76813 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76815         [BZ #13540]
76816         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76817         processing for last bytes.
76819 2011-08-06  Bruno Haible  <bruno@clisp.org>
76821         [BZ #13061]
76822         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76823         U+0385, not to U+1FEE.
76825         [BZ #13062]
76826         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76827         entry for U+00A5 U+0301.
76829 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76831         [BZ #13166]
76832         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76833         buffer for the output is too small.
76835         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76836         optimization.
76838         [BZ #13185]
76839         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76840         SSE flags if possible.
76842 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76844         [BZ #13540]
76845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76846         processing for last bytes.
76848 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76850         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76851         (syscall-list-default-options, syscall-list-default-condition)
76852         (syscall-list-includes): Define.
76853         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76854         list of ABIs and options and #if conditions for each ABI.  Do not
76855         handle common syscalls between ABIs specially.
76856         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76857         Remove.
76858         (syscall-list-variants, syscall-list-32bit-options)
76859         (syscall-list-32bit-condition, syscall-list-64bit-options)
76860         (syscall-list-64bit-condition): Define.
76861         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76862         (syscall-list-variants, syscall-list-32bit-options)
76863         (syscall-list-32bit-condition, syscall-list-64bit-options)
76864         (syscall-list-64bit-condition): Define.
76865         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76866         Remove.
76867         (syscall-list-variants, syscall-list-32bit-options)
76868         (syscall-list-32bit-condition, syscall-list-64bit-options)
76869         (syscall-list-64bit-condition): Define.
76870         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76871         Remove.
76872         (syscall-list-variants, syscall-list-32bit-options)
76873         (syscall-list-32bit-condition, syscall-list-64bit-options)
76874         (syscall-list-64bit-condition): Define.
76876 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76878         * locale/iso-639.def: Add brx entry.
76880         [BZ #13328]
76881         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76882         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76884         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76885         __feraiseexcept_renamed.
76887 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76889         [BZ #13538]
76890         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76891         EPOLLET with unsigned values.
76892         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76893         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76895         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76896         to large cancellation.
76897         * math/s_cacoshf.c: Likewise.
76898         * math/s_cacoshl.c: Likewise.
76900 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76902         [BZ #13305]
76903         [BZ #12786]
76904         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76905         * math/s_cacoshf.c: Likewise.
76906         * math/s_cacoshl.c: Likewise.
76908 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76910         [BZ #13439]
76911         * iconv/gconv.h: Define __GCONV_SWAP.
76912         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76913         * iconvdata/utf-16.c: Likewise.
76914         * iconvdata/utf-32.c: Likewise.
76916 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76918         [BZ #13524]
76919         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76920         numerator after shifting it by one limb.
76922 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76924         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76925         under [__USE_EXTERN_INLINES].
76927 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76929         [BZ #13446]
76930         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76932 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76934         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76935         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76936         optimized code.
76937         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76938         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76939         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76940         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76941         for strncasecmp/strncasecmp_l compilation.
76942         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76943         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76945 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76947         [BZ #13484]
76948         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76949         of __asm__.
76951 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76953         [BZ #13506]
76954         * time/tzfile.c (__tzfile_read): Check values from file header.
76956 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76958         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76959         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76960         * powerpc/powerpc32/dl-start.S: Likewise.
76961         * powerpc/powerpc32/elf/start.S: Likewise.
76962         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76963         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76964         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76965         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76966         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76967         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76968         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76969         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76970         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76971         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76972         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76973         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76974         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76975         * powerpc/powerpc32/memset.S: Likewise.
76976         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76977         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76978         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76979         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76980         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76981         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76982         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76983         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76984         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76985         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76986         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76987         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76988         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76990 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76992         * math/libm-test.inc: Added more nearbyint tests.
76993         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76994         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76995         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76998 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77000         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77001         FD_CLOEXEC.
77003 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77005         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77006         Add wcscpy-ssse3 wcscpy-c.
77007         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77008         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77009         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77010         * sysdeps/x86_64/wcschr.S: New file.
77011         * sysdeps/x86_64/wcsrchr.S: New file.
77012         * string/test-strcmp.c: Remove checking of wcscmp function for
77013         wrong alignments.
77014         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77015         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77016         wcsrchr-sse2 wcsrchr-c.
77017         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77018         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77019         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77020         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77021         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77022         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77023         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77024         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77025         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77026         * wcsmbc/wcschr.c (WCSCHR): New macro.
77028 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77030         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77031         * wcsmbs/test-wcsrchr.c: New file.
77032         * string/test-strrchr.c: Add wcsrchr support.
77033         (WIDE): New macro.
77034         * wcsmbs/test-wcscpy.c: New file.
77035         * string/test-strcpy.c: Add wcscpy support.
77036         (WIDE): New macro.
77038 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77040         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77041         the inner loop.
77043 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77045         [BZ #13472]
77046         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77048 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77050         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77051         Minor optimizations.
77053         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77054         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77055         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77057 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77059         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77060         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77061         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77062         for gcc to avoid warnings.
77063         * inet/Makefile (tests): Add tst-checks.
77064         * inet/tst-checks.c: New file.
77066         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77067         warning.
77069         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77070         __wmemcmp_sse2.
77072         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77073         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77075         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77077 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77079         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77080         problem.
77082         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77084 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77086         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77087         conditional on GCC version.
77088         (__arch_compare_and_exchange_val_8_acq)
77089         (__arch_compare_and_exchange_val_16_acq)
77090         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77091         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77092         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77094 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77096         * sysdeps/sh/backtrace.c: New file.
77098 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77100         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77101         parenthesis.
77103 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77105         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77106         falling back to utime.
77108 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77110         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77111         expectations for float.
77113 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77115         * locale/weight.h (findidx): Add parameter len.
77116         * locale/weightwc.h (findidx): Likewise.
77117         * posix/fnmatch_loop.c (FCT): Adjust caller.
77118         * posix/regcomp.c (build_equiv_class): Likewise.
77119         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77120         * posix/regexec.c (check_node_accept_bytes): Likewise.
77121         * string/strcoll_l.c (STRCOLL): Likewise.
77122         * string/strxfrm_l.c (STRXFRM): Likewise.
77124 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77126         * Makefile.in: Remove CVSOPT handling.
77127         * configure.in: Remove use of AC_REVISION.
77128         * iconvdata/Makefile (distribute): No need to filter out CVS.
77129         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77130         handling.
77132 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77135         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77136         [USE_AS_STRNCASECMP_L]: Likewise.
77137         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77138         NO_TLS_DIRECT_SEG_REFS.
77139         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77140         Fix argument offsets for non-PIC.
77141         [USE_AS_STRNCASECMP_L]: Likewise.
77142         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77143         NO_TLS_DIRECT_SEG_REFS.
77145 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77147         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77148         O_CLOEXEC.
77149         * locale/loadlocale.c (_nl_load_locale): Likewise.
77151 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77153         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77154         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77155         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77156         (SYSCALL_GETTIME): Set errno on error.
77158         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77159         count references to noai6ai_cached.
77161 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77163         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77165         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77166         FD_CLOEXEC for /proc/self/maps.
77168         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77169         FD_CLOEXEC for /proc/meminfo.
77171         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77172         gai.conf.
77174         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77175         FD_CLOEXEC for given file.
77177         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77179         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77180         FD_CLOEXEC for /etc/hosts.
77181         (_gethtent): Likewise.
77183         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77185         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77186         cancellation and set FD_CLOEXEC for /etc/netgroup.
77188         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77189         reading /etc/publickey.
77191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77192         allow cancellation when reading /etc/group.
77194         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77195         cancellation.
77196         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77198         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77199         when using data file.
77201         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77203         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77204         (write_nis_obj): Use "c" and "e" in fopen.
77206         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77208         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77210         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77212         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77214         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77215         locale.alias.
77217         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77219         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77221         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77223         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77224         file parsing and set FD_CLOEXEC.
77226 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77228         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77230 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77232         * malloc/arena.c (arena_get2): Don't call reused_arena when
77233         _int_new_arena failed.
77235 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77237         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77238         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77239         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77240         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77241         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77242         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77243         to compile strcasecmp and strncasecmp.
77244         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77245         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77249 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77251         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77252         locale-defines.sym to gen-as-const-headers.
77253         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77254         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77255         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77256         to compile strcasecmp and strncasecmp.
77257         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77258         strcasecmp_l and strncasecmp_l.
77259         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77260         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77261         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77262         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77263         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77264         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77265         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77266         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77267         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77268         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77269         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77271 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77273         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77274         result of SYSDEP_GETTIME_CPU to retval.
77275         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77276         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77278         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77279         variable.
77281         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77282         mantissa words.
77283         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77285         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77286         from unused variable.
77288         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77289         DWARF definitions.
77290         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77291         for assembling.
77293         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77294         over namespaces.
77296         * sunrpc/rpc_prot.c (rejected): Fix case value.
77298         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77299         unsigned long long int to avoid warnings in shift.
77301         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77302         of use of trans.
77303         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77304         variable tmp.
77306         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77307         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77308         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77310         * nis/nis_table.c (nis_list): Use variable of correct type for
77311         result of __follow_path call.
77313 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77315         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77316         of math functions ceil, trunc, floor, round, and sqrt, when
77317         avaliable on the platform.
77318         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77319         name clash.
77320         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77321         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77322         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77324 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77326         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77327         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77329 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77331         * include/unistd.h: Fix __readlink return type.
77332         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77334 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77336         * stdlib/ucontext.h: Undo last change for makecontext.
77338 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77340         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77342         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77343         * setjmp/setjmp.h: Mark functions as non-leaf.
77344         * setjmp/bits/setjmp2.h: Likewise.
77345         * stdlib/ucontext.h: Likewise.
77347 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77349         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77350         (reused_arena): Don't check arena limit.
77351         (arena_get2): Atomically check arena limit.
77353 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77355         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77356         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77359         instructions.
77361 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77363         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77364         handler when locking.
77366         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77367         Fix size of allocated buffer.
77369 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77371         [BZ #10103]
77372         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77373         declarations for long double functions.
77374         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77376         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77378 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77380         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77381         installed.
77383         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77384         is disabled.
77386 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77388         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77390 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77392         * include/alloca.h (stackinfo_alloca_round): Define.
77393         (extend_alloca): Use it.
77394         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77395         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77396         here.
77398         * scripts/check-local-headers.sh: Ignore libaudit.h.
77400         * nscd/Makefile (extra-objs): Make recursively expanded.
77402 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77404         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77405         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77407         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77408         * posix/tst-rfc3484-2.c: Likewise.
77409         * posix/tst-rfc3484-3.c: Likewise.
77411         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77412         process_vm_writev.
77413         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77414         process_vm_writev.
77415         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77416         process_vm_writev from libc using GLIBC_2.15 version.
77418         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77420 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77422         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77423         stack usage.
77425 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77427         [BZ #13367]
77428         * nss/getent.c (initgroups_keys): Show error message in case no group
77429         names are given.
77431         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77432         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77433         __bump_nl_timestamp.
77434         * nscd/connections (nscd_init): When host database is served open
77435         netlink socket and request notification about configuration changes.
77436         (main_loop_poll): Track netlink file descriptor and bump timestamp
77437         in case data becomes available.
77438         (main_loop_epoll): Likewise.
77439         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77440         (database_pers_head): Add extra_data fileds.
77441         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77442         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77443         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77444         Adjust caller.
77445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77446         in6ai data, call __free_in6ai.
77447         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77448         Add -DHAVE_NETLINK.
77449         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77450         interface information.  Reuse previous data if netlink timestamp
77451         is not changed.
77452         (__bump_nl_timestamp): New function.
77453         (__free_in6ai): New function.
77455 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77457         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77458         close_not_cancel_no_status here.
77459         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77461 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77463         [BZ #13276]
77464         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77465         return value.
77467         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77468         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77469         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77471 2011-07-03  Andreas Jaeger  <aj@suse.de>
77473         [BZ #10709]
77474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77475         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77476         * math/libm-test.inc (sin_test): Add test case.
77478 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77480         [BZ #13337]
77481         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77482         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77484         * elf/chroot_canon.c (chroot_canon): Cleanups.
77486         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77488         [BZ #13335]
77489         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77490         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77492         * string/test-strchr.c: Make usable for strchrnul testing.
77493         * string/test-strchrnul.c: New file.
77494         * string/Makefile (strop-tests): Add strchrnul.
77496         * po/it.po: Update from translation team.
77497         * po/es.po: Likewise.
77499 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77501         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77502         the three constants needed as parameters.  Drop the others.
77503         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77504         __m128i_strloadu_tolower.
77505         Create and initialize variable zero and use it in all the places
77506         where _mm_setzero_si128 was used.
77508         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77509         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77510         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77511         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77512         anymore.
77513         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77514         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77515         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77516         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77517         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77518         __mpranred, __mptan.
77519         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77520         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77521         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77522         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77523         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77524         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77525         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77526         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77527         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77529 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77531         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77532         redefine if SHARED.
77533         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77536         wide char related routines to wcsmbs subdir.
77538 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77540         [BZ #13344]
77541         * misc/sys/cdefs.h (__THROWNL): Define.
77542         * posix/unistd.h: Use __THREADNL instead of __THREAD
77543         for memory synchronization functions.
77545 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77547         [BZ #13349]
77548         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77549         doesn't exist.
77550         * manual/stdio.texi (Obstack Streams): Node removed.
77552 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77554         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77555         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77556         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77558         * math/math_private.h (math_force_eval): Allow non-addressable
77559         arguments.
77560         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77562 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77564         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77565         file is not needed.
77567         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77568         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77569         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77570         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77571         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77572         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77573         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77574         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77575         Add AVX variants.
77576         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77577         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77578         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77579         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77580         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77581         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77582         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77583         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77584         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77585         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77586         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77587         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77588         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77589         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77590         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77591         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77592         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77593         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77594         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77596         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77597         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77599         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77600         place.  Use VEX encoding when compiling for AVX.
77602 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77604         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77605         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77607         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77609 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77611         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77612         useless if() expression.
77613         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77614         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77615         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77617         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77618         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77619         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77620         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77621         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77622         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77623         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77624         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77625         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77626         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77627         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77628         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77629         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77630         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77631         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77633         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77635 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77637         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77638         condition.
77639         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77641 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77643         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77644         .text section.  Avoid duplicate constants.
77645         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77647         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77649         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77653         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77654         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77655         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77656         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77657         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77658         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77659         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77660         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77661         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77662         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77665         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77666         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77667         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77668         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77669         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77670         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77671         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77672         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77673         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77674         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77675         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77676         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77677         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77678         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77679         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77680         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77681         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77682         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77683         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77684         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77685         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77686         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77687         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77688         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77689         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77691 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77693         * sysdeps/x86_64/dla.h: Move to ...
77694         * sysdeps/x86_64/fpu/dla.h: ...here.
77695         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77696         situations.  Use __builtin_fma only for gcc 4.6 and up.
77698         * config.make.in: Add have-mfma4 entry.
77699         * configure.in: Substitute libc_cv_cc_fma4.
77700         * math/Makefile (dbl-only-routines): Add sincostab.
77701         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77702         Use __sincostab not sincos.
77703         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77704         name is a macro.
77705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77709         using __copysign.
77710         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77711         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77712         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77713         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77714         and __inv.
77715         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77716         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77717         __copysign.
77718         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77719         define aliases when function name is a macro.
77720         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77721         sysdeps/ieee754/dbl-64/sincos.tbl.
77722         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77723         fma4-enabled routines.
77724         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77725         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77726         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77727         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77728         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77729         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77730         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77731         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77732         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77733         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77734         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77735         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77736         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77737         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77738         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77739         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77740         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77741         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77742         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77743         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77744         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77745         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77746         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77747         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77748         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77749         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77750         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77751         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77752         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77753         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77755         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77756         rename.
77757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77761         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77763         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77766 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77768         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77770 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77772         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77774         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77775         prediction.
77776         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77778         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77779         Remove unused variable magic_bits.
77780         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77782         * string/strnlen.c: Define and use STRNLEN macro.
77783         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77784         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77785         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77786         * wcsmbs/wcslen.c: Define and use WCSLEN.
77787         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77788         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77789         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77790         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77791         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77792         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77793         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77795 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77798         strnlen-sse2-no-bsf.
77799         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77801         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77802         Add strnlen support.
77803         (USE_AS_STRNLEN): New macro.
77804         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77805         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77806         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77807         * sysdeps/x86_64/wcslen.S: New file.
77809 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77811         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77812         XMM-moves are used for copying on small sizes.
77814 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77816         * wcsmbs/Makefile (strop-tests): Add wcschr.
77817         * wcsmbs/test-wcschr.c: New file.
77818         * string/test-strchr.c: Update.
77819         Add wcschr support.
77820         (WIDE): New macro.
77822 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77824         * wcsmbs/Makefile (strop-tests): Add wcslen.
77825         * wcsmbs/test-wcslen.c: New file.
77826         * string/test-strlen.c: Update.
77827         Add wcslen support.
77828         (WIDE): New macro.
77830 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77832         * po/it.po: Update from translation team.
77834 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77836         * sysdeps/x86_64/wcscmp.S: Update.
77837         Fix wrong comparison semantics.
77838         wcscmp shall use signed comparison not unsigned.
77839         Don't use substraction to avoid overflow bug.
77840         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77841         * wcsmbc/wcscmp.c: Likewise.
77842         * string/test-strcmp.c: Likewise.
77843         Add new tests to check cases with negative values.
77845 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77847         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77848         * sysdeps/x86_64/dla.h: ...here.  New file.
77849         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77850         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77851         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77852         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77853         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77854         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77855         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77856         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77857         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77859 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77862         __ynl_finite aliases.
77864 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77868         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77869         define DLA_FMA.
77870         [DLA_FMA] (EMULV): Use DLA_FMA.
77871         [DLA_FMA] (MUL12): Use EMULV.
77872         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77873         that are not needed.
77874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77878         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77879         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77882 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77884         * math/s_nan.c: Undef __nan.
77885         * math/s_nanf.c: Undef __nanf.
77886         * math/s_nanl.c: Undef __nanl.
77887         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77888         "math_private.h".
77890 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77892         * math/s_catan.c: Add branch predictions.
77893         * math/s_catanf.c: Likewise.
77894         * math/s_catanh.c: Likewise.
77895         * math/s_catanhf.c: Likewise.
77896         * math/s_catanhl.c: Likewise.
77897         * math/s_catanl.c: Likewise.
77898         * math/s_cexp.c: Likewise.
77899         * math/s_cexpf.c: Likewise.
77900         * math/s_cexpl.c: Likewise.
77901         * math/s_clog.c: Likewise.
77902         * math/s_clog10.c: Likewise.
77903         * math/s_clog10f.c: Likewise.
77904         * math/s_clog10l.c: Likewise.
77905         * math/s_clogf.c: Likewise.
77906         * math/s_clogl.c: Likewise.
77907         * math/s_csqrt.c: Likewise.
77908         * math/s_csqrtf.c: Likewise.
77909         * math/s_csqrtl.c: Likewise.
77910         * math/s_ctanf.c: Likewise.
77911         * math/s_ctanh.c: Likewise.
77912         * math/s_ctanhf.c: Likewise.
77913         * math/s_ctanhl.c: Likewise.
77914         * math/s_ctanl.c: Likewise.
77916         * math/math_private.h: Define __nan, __nanf, __nanl.
77917         * math/s_cacosh.c: Include <math_private.h>.
77918         * math/s_cacoshl.c: Likewise.
77919         * math/s_casinh.c: Likewise.
77920         * math/s_casinhf.c: Likewise.
77921         * math/s_casinhl.c: Likewise.
77922         * math/s_ccos.c: Rely entire on ccosh.
77923         * math/s_ccosf.c: Rely entire on ccoshf.
77924         * math/s_ccosl.c: Rely entirely on ccoshl.
77925         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77926         Remove tests for FE_INVALID.
77927         * math/s_ccoshf.c: Likewise.
77928         * math/s_ccoshl.c: Likewise.
77929         * math/s_csin.c: Likewise.
77930         * math/s_csinf.c: Likewise.
77931         * math/s_csinh.c Likewise.
77932         * math/s_csinhf.c: Likewise.
77933         * math/s_csinhl.c: Likewise.
77934         * math/s_csinl.c: Likewise.
77935         * math/s_ctan.c: Likewise.
77936         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77937         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77938         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77940 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77943         compilation problems.
77945         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77946         __builtin_expect.
77948 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77950         * sysdeps/i386/configure.in: Test for -mfma4 option.
77951         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77952         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77953         COMMON_CPUID_INDEX_80000001.
77954         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77955         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77956         use it if FMA3 is not supported.
77957         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77959         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77960         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77962 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77964         [BZ #12892]
77965         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77966         it would create a cycle with a link time dependency.
77968 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77970         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77971         instruction.
77972         * string/Makefile (strop-tests): Add rawmemchr.
77973         * string/test-rawmemchr.c: New file.
77975         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77977         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77978         when compiling str{,n}casecmp and when AVX is available.  Hook up
77979         new optimized code in initializers.
77981 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77983         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77984         __feraiseexcept instead of feraiseexcept.
77986 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77988         * math/math_private.h: Define defaults for libc_fetestexcept and
77989         libc_feupdateenv.
77990         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77991         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77992         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77993         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77994         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77995         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77996         libc_fetestexcept and libc_feupdateenv.
77998         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77999         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78000         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78001         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78002         libc_feholdexcept_setround.
78004         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78005         Add s_nearbyint-c and s_nearbyintf-c.
78006         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78007         nearbyintf inlines.
78008         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78009         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78010         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78011         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78013         * math/math_private.h: Define defaults for libc_fegetround,
78014         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78015         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78016         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78017         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78018         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78019         standard functions.
78020         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78021         Remove comments and hacks for old compiler versions.
78022         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78023         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78024         libc_feholdexceptl.
78026 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78028         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78029         (__feraiseexcept_renamed): Add __NTH.
78030         (feraiseexcept): Add __NTH.  Rename local variables to fix
78031         namespace violations.
78033 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78037         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78039         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78040         recently added interfaces.
78041         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78043         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78044         about macro parameter expansion.
78046         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78047         __NO_MATH_INLINES is defined.  Cleanups.
78049         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78050         and __floorf is target has SSE4.1.
78051         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78052         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78053         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78054         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78056         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78057         name.
78058         (floorf): Likewise.
78060         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78062 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78064         * misc/sys/cdefs.h: Fix last change.
78066         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78067         database lookup.
78069 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78071         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78073         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78074         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78075         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78076         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78077         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78078         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78079         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78080         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78081         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78082         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78083         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78084         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78085         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78086         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78087         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78088         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78089         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78090         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78091         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78092         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78093         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78094         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78096         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78097         ceil, ceilf, floor, floorf.
78099         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78100         Perform IRELATIVE relocations last.
78102         * elf/do-rel.h: Add another parameter nrelative, replacing the
78103         local variable with the same name.  Change name of the function
78104         to end in Rel or Rela (uppercase).
78105         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78106         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78107         elf_dynamic_do_##reloc function.
78109 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78111         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78112         is sufficient, at least on modern CPUs.
78114         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78116         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78117         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78119         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78120         __expl_finite.
78121         * math/bits/math-finite.h: Add entries for exp.
78122         * math/e_expl.c: Add __*_finite alias.
78123         * sysdeps/i386/fpu/e_exp.S: Likewise.
78124         * sysdeps/i386/fpu/e_expf.S: Likewise.
78125         * sysdeps/i386/fpu/e_expl.c: Likewise.
78126         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78127         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78128         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78130         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78131         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78132         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78134         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78135         is sufficient, at least on modern CPUs.
78137         * ctype/ctype-info.c (__ctype_init): Define.
78138         * include/ctype.h (__ctype_init): Declare.
78139         (__ctype_b_loc): The variable is always initialized.
78140         (__ctype_toupper_loc): Likewise.
78141         (__ctype_tolower_loc): Likewise.
78142         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78143         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78145 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78147         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78149         * configure.in: Also look in $cxxmachine/include for C++ system
78150         headers.
78152 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78154         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78155         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78156         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78157         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78158         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78159         (USE_AS_WMEMCMP): New macro.
78160         Fixing indents.
78161         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78162         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78163         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78164         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78166         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78167         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78168         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78169         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78170         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78171         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78172         (USE_AS_WMEMCMP): New macro.
78173         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78174         * sysdeps/string/test-memcmp.c: Update.
78175         Fix simple_wmemcmp.
78176         Add new tests.
78177         * wcsmbs/wmemcmp.c: Update.
78178         (WMEMCMP): New macro.
78179         Fix overflow bug.
78181 2011-10-12  Andreas Jaeger  <aj@suse.de>
78183         [BZ #13268]
78184         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78186 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78188         * libio/iofwide.c (do_length): Avoid warning.
78190         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78192 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78194         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78196         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78197         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78198         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78199         * sysdeps/i386/i686/fpu/e_log.S: New file.
78200         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78201         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78203         * ctype/ctype.h: Add support for inlined isXXX functions when
78204         compiling C++ code.
78206 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78208         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78210         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78212 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78214         [BZ #13291]
78215         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78217 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78219         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78220         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78221         feraiseexcept.
78223         * sysdeps/x86_64/memrchr.S: Check for zero size.
78225         * string/stratcliff.c: Add memrchr tests.
78227 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78230         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78231         rawmemchr-sse2 rawmemchr-sse2-bsf.
78232         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78233         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78234         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78235         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78236         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78237         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78238         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78239         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78240         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78241         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78242         * string/memrchr.c (MEMRCHR): New macro.
78244 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78246         Add integration with gcc's -ffinite-math-only and optimize wrapper
78247         functions in libm.
78248         * Versions.def: Define GLIBC_2.15 version for libm.
78249         * math/Makefile (headers): Add bits/math-finite.h.
78250         * math/bits/math-finite.h: New file.
78251         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78252         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78253         * math/e_acoshl.c: Add __*_finite alias.
78254         * math/e_acosl.c: Likewise.
78255         * math/e_asinl.c: Likewise.
78256         * math/e_atan2l.c: Likewise.
78257         * math/e_atanhl.c: Likewise.
78258         * math/e_coshl.c: Likewise.
78259         * math/e_exp10.c: Likewise.
78260         * math/e_exp10f.c: Likewise.
78261         * math/e_exp10l.c: Likewise.
78262         * math/e_exp2l.c: Likewise.
78263         * math/e_fmodl.c: Likewise.
78264         * math/e_gammal_r.c: Likewise.
78265         * math/e_hypotl.c: Likewise.
78266         * math/e_j0l.c: Likewise.
78267         * math/e_j1l.c: Likewise.
78268         * math/e_jnl.c: Likewise.
78269         * math/e_lgammal_r.c: Likewise.
78270         * math/e_log10l.c: Likewise.
78271         * math/e_log2l.c: Likewise.
78272         * math/e_logl.c: Likewise.
78273         * math/e_powl.c: Likewise.
78274         * math/e_sinhl.c: Likewise.
78275         * math/e_sqrtl.c: Likewise.
78276         * math/e_scalb.c: Completely rewritten and optimized.
78277         * math/e_scalbf.c: Likewise.
78278         * math/e_scalbl.c: Likewise.
78279         * math/w_acos.c: Likewise.
78280         * math/w_acosf.c: Likewise.
78281         * math/w_acosl.c: Likewise.
78282         * math/w_acosh.c: Likewise.
78283         * math/w_acoshf.c: Likewise.
78284         * math/w_acoshl.c: Likewise.
78285         * math/w_asin.c: Likewise.
78286         * math/w_asinf.c: Likewise.
78287         * math/w_asinl.c: Likewise.
78288         * math/w_atan2.c: Likewise.
78289         * math/w_atan2f.c: Likewise.
78290         * math/w_atan2l.c: Likewise.
78291         * math/w_atanh.c: Likewise.
78292         * math/w_atanhf.c: Likewise.
78293         * math/w_atanhl.c: Likewise.
78294         * math/w_exp10.c: Likewise.
78295         * math/w_exp10f.c: Likewise.
78296         * math/w_exp10l.c: Likewise.
78297         * math/w_fmod.c: Likewise.
78298         * math/w_fmodf.c: Likewise.
78299         * math/w_fmodl.c: Likewise.
78300         * math/w_j0.c: Likewise.
78301         * math/w_j0f.c: Likewise.
78302         * math/w_j0l.c: Likewise.
78303         * math/w_j1.c: Likewise.
78304         * math/w_j1f.c: Likewise.
78305         * math/w_j1l.c: Likewise.
78306         * math/w_jn.c: Likewise.
78307         * math/w_jnf.c: Likewise.
78308         * math/w_log.c: Likewise.
78309         * math/w_logf.c: Likewise.
78310         * math/w_logl.c: Likewise.
78311         * math/w_log10.c: Likewise.
78312         * math/w_log10f.c: Likewise.
78313         * math/w_log10l.c: Likewise.
78314         * math/w_log2.c: Likewise.
78315         * math/w_log2f.c: Likewise.
78316         * math/w_log2l.c: Likewise.
78317         * math/w_pow.c: Likewise.
78318         * math/w_powf.c: Likewise.
78319         * math/w_powl.c: Likewise.
78320         * math/w_remainder.c: Likewise.
78321         * math/w_remainderf.c: Likewise.
78322         * math/w_remainderl.c: Likewise.
78323         * math/w_scalb.c: Likewise.
78324         * math/w_scalbf.c: Likewise.
78325         * math/w_scalbl.c: Likewise.
78326         * math/w_sqrt.c: Likewise.
78327         * math/w_sqrtf.c: Likewise.
78328         * math/w_sqrtl.c: Likewise.
78329         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78330         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78331         used.
78332         * math/math_private.h: Declare __kernel_standard_f.
78333         * math/w_cosh.c: Remove cruft and optimize a bit.
78334         * math/w_coshf.c: Likewise.
78335         * math/w_coshl.c: Likewise.
78336         * math/w_exp2.c: Likewise.
78337         * math/w_exp2f.c: Likewise.
78338         * math/w_exp2l.c: Likewise.
78339         * math/w_hypot.c: Likewise.
78340         * math/w_hypotf.c: Likewise.
78341         * math/w_hypotl.c: Likewise.
78342         * math/w_lgamma.c: Likewise.
78343         * math/w_lgamma_r.c: Likewise.
78344         * math/w_lgammaf.c: Likewise.
78345         * math/w_lgammaf_r.c: Likewise.
78346         * math/w_lgammal.c: Likewise.
78347         * math/w_lgammal_r.c: Likewise.
78348         * math/w_sinh.c: Likewise.
78349         * math/w_sinhf.c: Likewise.
78350         * math/w_sinhl.c: Likewise.
78351         * math/w_tgamma.c: Likewise.
78352         * math/w_tgammaf.c: Likewise.
78353         * math/w_tgammal.c: Likewise.
78354         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78356         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78357         Minor optimizations.  Pretty printing.  Remove cruft.
78358         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78359         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78360         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78361         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78362         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78363         * sysdeps/i386/fpu/e_asin.S: Likewise.
78364         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78365         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78366         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78367         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78368         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78369         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78370         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78371         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78372         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78373         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78374         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78375         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78376         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78377         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78378         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78379         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78380         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78381         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78382         * sysdeps/i386/fpu/e_log.S: Likewise.
78383         * sysdeps/i386/fpu/e_log10.S: Likewise.
78384         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78385         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78386         * sysdeps/i386/fpu/e_log2.S: Likewise.
78387         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78388         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78389         * sysdeps/i386/fpu/e_logf.S: Likewise.
78390         * sysdeps/i386/fpu/e_logl.S: Likewise.
78391         * sysdeps/i386/fpu/e_pow.S: Likewise.
78392         * sysdeps/i386/fpu/e_powf.S: Likewise.
78393         * sysdeps/i386/fpu/e_powl.S: Likewise.
78394         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78395         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78396         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78397         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78398         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78399         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78400         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78401         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78402         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78403         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78404         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78406         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78407         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78408         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78409         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78410         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78411         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78412         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78413         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78414         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78415         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78416         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78417         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78419         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78420         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78421         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78422         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78423         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78424         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78425         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78426         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78427         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78428         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78429         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78430         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78431         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78432         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78433         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78434         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78435         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78436         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78437         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78438         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78439         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78440         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78441         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78442         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78443         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78444         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78445         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78446         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78447         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78448         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78449         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78450         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78451         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78452         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78463         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78464         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78465         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78466         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78467         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78469         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78470         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78471         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78473         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78474         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78475         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78476         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78477         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78478         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78479         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78480         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78481         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78482         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78483         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78484         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78485         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78486         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78487         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78488         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78489         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78490         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78491         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78492         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78493         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78494         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78495         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78496         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78497         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78498         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78499         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78500         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78501         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78502         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78503         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78504         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78505         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78506         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78507         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78508         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78509         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78511         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78512         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78513         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78514         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78515         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78516         (__isnanf): Likewise.
78517         (__isinf_ns): Likewise.
78518         (__isinf_nsf): Likewise.
78519         (__finite): Likewise.
78520         (__finitef): Likewise.
78521         (__ieee754_sqrt): Define as macro.
78522         (__ieee754_sqrtf): Define as macro.
78523         (__ieee754_sqrtl): Define as macro.
78524         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78525         inlined copy.
78526         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78527         __FINITE_MATH_ONLY__ consistent.
78528         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78530 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78532         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78533         of rawmemchr.
78535         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78537 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78539         * po/ja.po: Update from translation team.
78541 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78543         * locale/programs/locarchive.c (prepare_address_space): New function.
78544         (create_archive, enlarge_archive, open_archive): Use it.
78546         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78547         inside [SHARED], where it is used.
78549         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78551         * nss/getent.c (netgroup_keys): Remove unused variable.
78552         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78554 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78556         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78557         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78558         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78559         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78560         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78561         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78562         * math/Makefile (libm-calls): Add s_isinf_ns.
78563         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78564         * math/multc3.c: Likewise.
78565         * math/s_casin.c: Likewise.
78566         * math/s_casinf.c: Likewise.
78567         * math/s_casinl.c: Likewise.
78568         * math/s_ccos.c: Likewise.
78569         * math/s_ccosf.c: Likewise.
78570         * math/s_ccosl.c: Likewise.
78571         * math/s_ctan.c: Likewise.
78572         * math/s_ctanf.c: Likewise.
78573         * math/s_ctanh.c: Likewise.
78574         * math/s_ctanhf.c: Likewise.
78575         * math/s_ctanhl.c: Likewise.
78576         * math/s_ctanl.c: Likewise.
78577         * math/w_fmod.c: Likewise.
78578         * math/w_fmodf.c: Likewise.
78579         * math/w_fmodl.c: Likewise.
78580         * math/w_remainder.c: Likewise.
78581         * math/w_remainderf.c: Likewise.
78582         * math/w_remainderl.c: Likewise.
78583         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78584         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78585         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78587         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78588         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78589         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78590         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78592         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78593         of the number.
78594         * stdio-common/printf_fphex.c: Likewise.
78595         * stdio-common/printf_size.c: Likewise.
78597         * math/e_exp10.c: Include math_private.h using <...> not "...".
78598         * math/e_exp10f.c: Likewise.
78599         * math/e_exp10l.c: Likewise.
78600         * math/e_exp2l.c: Likewise.
78601         * math/e_j0l.c: Likewise.
78602         * math/e_j1l.c: Likewise.
78603         * math/e_jnl.c: Likewise.
78604         * math/e_lgammal_r.c: Likewise.
78605         * math/e_rem_pio2l.c: Likewise.
78606         * math/e_scalb.c: Likewise.
78607         * math/e_scalbf.c: Likewise.
78608         * math/e_scalbl.c: Likewise.
78609         * math/k_cosl.c: Likewise.
78610         * math/k_sinl.c: Likewise.
78611         * math/k_tanl.c: Likewise.
78612         * math/s_cacoshf.c: Likewise.
78613         * math/s_catan.c: Likewise.
78614         * math/s_catanf.c: Likewise.
78615         * math/s_catanh.c: Likewise.
78616         * math/s_catanhf.c: Likewise.
78617         * math/s_catanhl.c: Likewise.
78618         * math/s_catanl.c: Likewise.
78619         * math/s_ccosh.c: Likewise.
78620         * math/s_ccoshf.c: Likewise.
78621         * math/s_ccoshl.c: Likewise.
78622         * math/s_cexp.c: Likewise.
78623         * math/s_cexpf.c: Likewise.
78624         * math/s_cexpl.c: Likewise.
78625         * math/s_clog.c: Likewise.
78626         * math/s_clog10.c: Likewise.
78627         * math/s_clog10f.c: Likewise.
78628         * math/s_clog10l.c: Likewise.
78629         * math/s_clogf.c: Likewise.
78630         * math/s_clogl.c: Likewise.
78631         * math/s_csin.c: Likewise.
78632         * math/s_csinf.c: Likewise.
78633         * math/s_csinh.c: Likewise.
78634         * math/s_csinhf.c: Likewise.
78635         * math/s_csinhl.c: Likewise.
78636         * math/s_csinl.c: Likewise.
78637         * math/s_csqrt.c: Likewise.
78638         * math/s_csqrtf.c: Likewise.
78639         * math/s_csqrtl.c: Likewise.
78640         * math/s_ctan.c: Likewise.
78641         * math/s_ctanf.c: Likewise.
78642         * math/s_ctanh.c: Likewise.
78643         * math/s_ctanhf.c: Likewise.
78644         * math/s_ctanhl.c: Likewise.
78645         * math/s_ctanl.c: Likewise.
78646         * math/s_ldexp.c: Likewise.
78647         * math/s_ldexpf.c: Likewise.
78648         * math/s_ldexpl.c: Likewise.
78649         * math/s_significand.c: Likewise.
78650         * math/s_significandf.c: Likewise.
78651         * math/s_significandl.c: Likewise.
78652         * math/w_acos.c: Likewise.
78653         * math/w_acosf.c: Likewise.
78654         * math/w_acosh.c: Likewise.
78655         * math/w_acoshf.c: Likewise.
78656         * math/w_acoshl.c: Likewise.
78657         * math/w_acosl.c: Likewise.
78658         * math/w_asin.c: Likewise.
78659         * math/w_asinf.c: Likewise.
78660         * math/w_asinl.c: Likewise.
78661         * math/w_atan2.c: Likewise.
78662         * math/w_atan2f.c: Likewise.
78663         * math/w_atan2l.c: Likewise.
78664         * math/w_atanh.c: Likewise.
78665         * math/w_atanhf.c: Likewise.
78666         * math/w_atanhl.c: Likewise.
78667         * math/w_cosh.c: Likewise.
78668         * math/w_coshf.c: Likewise.
78669         * math/w_coshl.c: Likewise.
78670         * math/w_dremf.c: Likewise.
78671         * math/w_exp10.c: Likewise.
78672         * math/w_exp10f.c: Likewise.
78673         * math/w_exp10l.c: Likewise.
78674         * math/w_exp2.c: Likewise.
78675         * math/w_exp2f.c: Likewise.
78676         * math/w_fmod.c: Likewise.
78677         * math/w_fmodf.c: Likewise.
78678         * math/w_fmodl.c: Likewise.
78679         * math/w_hypot.c: Likewise.
78680         * math/w_hypotf.c: Likewise.
78681         * math/w_hypotl.c: Likewise.
78682         * math/w_j0.c: Likewise.
78683         * math/w_j0f.c: Likewise.
78684         * math/w_j0l.c: Likewise.
78685         * math/w_j1.c: Likewise.
78686         * math/w_j1f.c: Likewise.
78687         * math/w_j1l.c: Likewise.
78688         * math/w_jn.c: Likewise.
78689         * math/w_jnf.c: Likewise.
78690         * math/w_jnl.c: Likewise.
78691         * math/w_lgamma.c: Likewise.
78692         * math/w_lgamma_r.c: Likewise.
78693         * math/w_lgammaf.c: Likewise.
78694         * math/w_lgammaf_r.c: Likewise.
78695         * math/w_lgammal.c: Likewise.
78696         * math/w_lgammal_r.c: Likewise.
78697         * math/w_log.c: Likewise.
78698         * math/w_log10.c: Likewise.
78699         * math/w_log10f.c: Likewise.
78700         * math/w_log10l.c: Likewise.
78701         * math/w_log2.c: Likewise.
78702         * math/w_log2f.c: Likewise.
78703         * math/w_log2l.c: Likewise.
78704         * math/w_logf.c: Likewise.
78705         * math/w_logl.c: Likewise.
78706         * math/w_pow.c: Likewise.
78707         * math/w_powf.c: Likewise.
78708         * math/w_powl.c: Likewise.
78709         * math/w_remainder.c: Likewise.
78710         * math/w_remainderf.c: Likewise.
78711         * math/w_remainderl.c: Likewise.
78712         * math/w_scalb.c: Likewise.
78713         * math/w_scalbf.c: Likewise.
78714         * math/w_scalbl.c: Likewise.
78715         * math/w_sinh.c: Likewise.
78716         * math/w_sinhf.c: Likewise.
78717         * math/w_sinhl.c: Likewise.
78718         * math/w_sqrt.c: Likewise.
78719         * math/w_sqrtf.c: Likewise.
78720         * math/w_sqrtl.c: Likewise.
78721         * math/w_tgamma.c: Likewise.
78722         * math/w_tgammaf.c: Likewise.
78723         * math/w_tgammal.c: Likewise.
78725         * po/ja.po: Update from translation team.
78727 2011-09-29  Andreas Jaeger  <aj@suse.de>
78729         [BZ #13179]
78730         * sunrpc/netname.c (netname2host): Fix logic.
78732         [BZ #6779]
78733         [BZ #6783]
78734         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78735         correctly.
78736         * math/w_remainder.c (__remainder): Likewise.
78737         * math/w_remainderf.c (__remainderf): Likewise.
78738         * math/libm-test.inc (remainder_test): Add test cases.
78740 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78742         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78743         sdiv_qrnnd.
78745 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78747         * string/test-memcmp.c: Avoid unncessary #defines.
78748         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78750 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78752         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78753         Use new sse2 version for core i3 - i7 as it's faster
78754         than sse42 version.
78755         (bit_Prefer_PMINUB_for_stringop): New.
78756         * sysdeps/x86_64/rawmemchr.S: Update.
78757         Replace with faster SSE2 version.
78758         * sysdeps/x86_64/memrchr.S: New file.
78759         * sysdeps/x86_64/memchr.S: Update.
78760         Replace with faster SSE2 version.
78762 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78764         * elf/dl-load.c (lose): Add cast to avoid warning.
78766 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78768         * po/ca.po: Update from translation team.
78770         * inet/getnetgrent_r.c: Hook up nscd.
78771         * nscd/Makefile (routines): Add nscd_netgroup.
78772         (nscd-modules): Add netgroupcache.
78773         (CFLAGS-netgroupcache.c): Define.
78774         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78775         (cache_search): Add const to second parameter.
78776         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78777         INNETGR.
78778         (dbs): Add netgrdb entry.
78779         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78780         (verify_persistent_db): Handle netgrdb.
78781         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78782         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78783         GETFDNETGR.
78784         (netgroup_response_header): Define.
78785         (innetgroup_response_header): Define.
78786         (datahead): Add netgroup_response_header and innetgroup_response_header
78787         elements.
78788         * nscd/nscd.conf: Add entries for netgroup cache.
78789         * nscd/nscd.h (dbtype): Add netgrdb.
78790         (_PATH_NSCD_NETGROUP_DB): Define.
78791         (netgroup_iov_disabled): Declare.
78792         (xmalloc, xcalloc, xrealloc): Move declarations here.
78793         (cache_search): Adjust prototype.
78794         Add netgroup-related prototypes.
78795         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78796         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78797         (__nscd_innetgr): Declare.
78798         * nscd/selinux.c (perms): Use access_vector_t as element type and
78799         add netgroup-related initializers.
78800         * nscd/netgroupcache.c: New file.
78801         * nscd/nscd_netgroup.c: New file.
78802         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78803         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78804         For four parameters use innetgr.
78805         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78806         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78807         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78808         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78810         * nscd/connections.c (register_traced_file): Don't register file
78811         for disabled databases.
78813 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78815         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78817         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78818         from tree and freeing node.
78820 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78822         * nss/nsswitch.c (__nss_database_lookup): Handle
78823         nss_parse_service_list out of memory case.
78825 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78827         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78828         out of memory case.
78830 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78832         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78833         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78834         pass it down.
78835         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78836         elf_machine_rela, elf_machine_lazy_rel.
78837         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78838         (ELF_DYNAMIC_DO_REL): Likewise.
78839         (ELF_DYNAMIC_DO_RELA): Likewise.
78840         (ELF_DYNAMIC_RELOCATE): Likewise.
78841         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78842         to ELF_DYNAMIC_DO_REL.
78843         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78844         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78845         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78846         elf_machine_rela.
78847         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78848         skip_ifunc, don't call ifunc function if non-zero.
78849         (elf_machine_rela): Likewise.
78850         (elf_machine_lazy_rel): Likewise.
78851         (elf_machine_lazy_rela): Likewise.
78852         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78853         (elf_machine_lazy_rel): Likewise.
78854         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78855         Likewise.
78856         (elf_machine_lazy_rel): Likewise.
78857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78858         Likewise.
78859         (elf_machine_lazy_rel): Likewise.
78860         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78861         (elf_machine_lazy_rel): Likewise.
78862         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78863         (elf_machine_lazy_rel): Likewise.
78864         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78865         (elf_machine_lazy_rel): Likewise.
78866         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78867         (elf_machine_lazy_rel): Likewise.
78868         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78869         (elf_machine_lazy_rel): Likewise.
78870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78871         (elf_machine_lazy_rel): Likewise.
78873 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78875         * nss/nss_files/files-init.c (_nss_files_init): Use static
78876         initialization for all the *_traced_file variables.
78878 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78880         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78882 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78884         [BZ #13226]
78885         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78887 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78890         Reread the line before reparsing it.
78892 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78894         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78896 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78897             Maxim Kuvyrkov  <maxim@codesourcery.com>
78898             Joseph Myers  <joseph@codesourcery.com>
78900         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78901         if needed for __stack_chk_guard.
78903 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78905         * sysdeps/posix/spawni.c (script_execute): Always define it.
78906         It will be optimized away if unused.
78907         (maybe_script_execute): New function.
78908         (__spawni): Call it.
78910         * Makerules: Don't include tls.make.
78911         (config-tls): Always set to thread.
78912         * tls.make.c: File removed.
78914 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78916         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78917         * config.make.in (CPPFLAGS-config): New substituted variable.
78919 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78923         [BZ #13192]
78924         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78925         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78927 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78929         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78930         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78932         (CALL_FAIL): Likewise.
78933         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78934         (CALL_FAIL): Macro removed.
78935         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78937 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78939         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78940         for __FINITE_MATH_ONLY__ == 1.
78942 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78944         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78945         __ieee754_sqrt instead of sqrt.
78946         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78947         __ieee754_sqrtf instead of sqrtf.
78948         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78949         __floorf instead of floorf.
78950         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78951         __floorf, __truncf instead of floorf, truncf.
78953 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78955         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78957         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78958         __extern_always_inline.
78959         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78960         32-bit.
78962 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78964         * elf/rtld.c (dl_main): Also relocate in dependency order when
78965         doing symbol dependency testing.
78967 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78969         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78970         Always define `refsym'.
78972 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78974         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78975         (__FD_ELT): Renamed from __FDELT.
78976         * misc/bits/select2.h (__FD_ELT): Likewise.
78977         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78978         __FD_MASK instead of __FDELT, __FDMASK.
78979         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78980         Likewise.
78981         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78982         Likewise.
78984         * elf/Makefile (gen-ldd): Fix pattern.
78986         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78987         (init_tls): Likewise.
78989 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78991         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78993 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78995         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78996         `struct cmsghdr *' instead of `void *'.
78997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78998         Likewise.
79000 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79002         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79003         if non-absolute.
79004         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79005         ldd_rewrite_script.
79007 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79009         * configure.in: Remove --with-tls option.
79010         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79011         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79012         out in case it is missing.
79013         * sysdeps/ia64/elf/configure.in: Likewise.
79014         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79015         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79016         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79017         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79018         * sysdeps/sh/elf/configure.in: Likewise.
79019         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79020         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79021         * sysdeps/x86_64/elf/configure.in: Likewise.
79022         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79023         * sysdeps/mach/hurd/tls.h: Likewise.
79025         [BZ #13067]
79026         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79028         [BZ #13090]
79029         * configure.in: Fix use of AC_INIT.
79031         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79033 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79035         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79036         __set_errno.
79037         * malloc/hooks.c: Likewise.
79039         [BZ #11929]
79040         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79041         variables statically.
79042         (narenas): Initialize.
79043         (list_lock): Initialize.
79044         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79045         initializtion of main_arena and list_lock.  Small cleanups.
79046         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79047         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79048         Add initializers to main_arena and mp_.
79049         (malloc_state): Remove pagesize member.  Change all users to use
79050         GLRO(dl_pagesize).
79052         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79053         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79054         is always initialized.
79056         * malloc/malloc.c: Removed unused configurations and dead code.
79057         * malloc/arena.c: Likewise.
79058         * malloc/hooks.c: Likewise.
79059         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79061         * include/tls.h: Removed.  USE___THREAD must always be defined.
79062         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79063         * elf/dl-libc.c: Likewise.
79064         * elf/dl-tsd.c: Likewise.
79065         * include/errno.h: Likewise.
79066         * include/netdb.h: Likewise.
79067         * include/resolv.h: Likewise.
79068         * inet/herrno-loc.c: Likewise.
79069         * inet/herrno.c: Likewise.
79070         * malloc/arena.c: Likewise.
79071         * malloc/hooks.c: Likewise.
79072         * malloc/malloc.c: Likewise.
79073         * resolv/res-state.c: Likewise.
79074         * resolv/res_libc.c: Likewise.
79075         * sysdeps/i386/dl-machine.h: Likewise.
79076         * sysdeps/ia64/dl-machine.h: Likewise.
79077         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79078         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79079         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79080         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79081         * sysdeps/sh/dl-machine.h: Likewise.
79082         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79083         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79084         * sysdeps/unix/i386/sysdep.S: Likewise.
79085         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79086         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79091         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79095         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79096         * sysdeps/x86_64/dl-machine.h: Likewise.
79097         * tls.make.c: Likewise.
79099         * configure.in: Remove --with-__thread option.  Make tests for
79100         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79101         tls_model attribute fail if no support is available.  Remove
79102         USE_IN_LIBIO.
79103         * Makeconfig: Adjust for dropped configure option.  All features are
79104         now mandatory.
79105         * Makerules: Likewise.
79106         * Versions.def: Likewise.
79107         * argp/argp-fmtstream.c: Likewise.
79108         * argp/argp-fmtstream.h: Likewise.
79109         * argp/argp-help.c: Likewise.
79110         * assert/assert.c: Likewise.
79111         * config.h.in: Likewise.
79112         * config.make.in: Likewise.
79113         * configure: Likewise.
79114         * configure.in: Likewise.
79115         * csu/Versions: Likewise.
79116         * csu/init.c: Likewise.
79117         * elf/tst-audit2.c: Likewise.
79118         * elf/tst-tls10.c: Likewise.
79119         * elf/tst-tls10.h: Likewise.
79120         * elf/tst-tls11.c: Likewise.
79121         * elf/tst-tls12.c: Likewise.
79122         * elf/tst-tls14.c: Likewise.
79123         * elf/tst-tlsmod11.c: Likewise.
79124         * elf/tst-tlsmod12.c: Likewise.
79125         * elf/tst-tlsmod13.c: Likewise.
79126         * elf/tst-tlsmod13a.c: Likewise.
79127         * elf/tst-tlsmod14a.c: Likewise.
79128         * elf/tst-tlsmod15b.c: Likewise.
79129         * elf/tst-tlsmod16a.c: Likewise.
79130         * elf/tst-tlsmod16b.c: Likewise.
79131         * elf/tst-tlsmod7.c: Likewise.
79132         * elf/tst-tlsmod8.c: Likewise.
79133         * elf/tst-tlsmod9.c: Likewise.
79134         * gmon/gmon.c: Likewise.
79135         * grp/fgetgrent_r.c: Likewise.
79136         * grp/putgrent.c: Likewise.
79137         * hurd/fopenport.c: Likewise.
79138         * include/libc-symbols.h: Likewise.
79139         * include/tls.h: Likewise.
79140         * intl/gettextP.h: Likewise.
79141         * intl/loadinfo.h: Likewise.
79142         * locale/global-locale.c: Likewise.
79143         * locale/localeinfo.h: Likewise.
79144         * mach/devstream.c: Likewise.
79145         * malloc/arena.c: Likewise.
79146         * malloc/set-freeres.c: Likewise.
79147         * misc/err.c: Likewise.
79148         * misc/getttyent.c: Likewise.
79149         * misc/mntent_r.c: Likewise.
79150         * posix/getopt.c: Likewise.
79151         * posix/wordexp.c: Likewise.
79152         * pwd/fgetpwent_r.c: Likewise.
79153         * resolv/Versions: Likewise.
79154         * resolv/res_hconf.c: Likewise.
79155         * shadow/fgetspent_r.c: Likewise.
79156         * shadow/putspent.c: Likewise.
79157         * stdio-common/printf_fphex.c: Likewise.
79158         * stdio-common/tmpfile.c: Likewise.
79159         * stdlib/abort.c: Likewise.
79160         * stdlib/fmtmsg.c: Likewise.
79161         * sunrpc/auth_unix.c: Likewise.
79162         * sunrpc/clnt_perr.c: Likewise.
79163         * sunrpc/clnt_tcp.c: Likewise.
79164         * sunrpc/clnt_udp.c: Likewise.
79165         * sunrpc/clnt_unix.c: Likewise.
79166         * sunrpc/openchild.c: Likewise.
79167         * sunrpc/svc_simple.c: Likewise.
79168         * sunrpc/svc_tcp.c: Likewise.
79169         * sunrpc/svc_udp.c: Likewise.
79170         * sunrpc/svc_unix.c: Likewise.
79171         * sunrpc/xdr.c: Likewise.
79172         * sunrpc/xdr_array.c: Likewise.
79173         * sunrpc/xdr_rec.c: Likewise.
79174         * sunrpc/xdr_ref.c: Likewise.
79175         * sunrpc/xdr_stdio.c: Likewise.
79177 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79179         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79181 2011-07-03  Andreas Jaeger  <aj@suse.de>
79183         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79184         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79185         regenerate with gen-libm-tests.pl.
79187 2010-05-12  Petr Baudis  <pasky@suse.cz>
79189         [BZ #11589]
79190         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79191         around j0() zero points by switching to j1().
79192         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79193         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79197 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79199         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79200         instead of 0.
79201         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79202         instead of 0.
79203         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79204         Patch in part by Pavel Roskin <proski@gnu.org>.
79206         [BZ #13138]
79207         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79208         realloc.
79209         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79210         Free memory block if necessary.
79212         [BZ #12847]
79213         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79214         be NULL.  Don't lock in this case.
79216 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79218         * elf/elf.h (ELFOSABI_GNU): New macro.
79219         (ELFOSABI_LINUX): Define to that.
79221 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79223         * string/strncat.c (strncat): Undef the symbol in case it has been
79224         defined in bits/string.h.
79226 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79228         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79230         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79231         link map.
79233 2011-08-17  Andreas Jaeger  <aj@suse.de>
79235         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79237 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79238             Ian Lance Taylor  <iant@google.com>
79240         * math/libm-test.inc (lround_test): New testcase.
79241         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79243 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79245         * Makefile: Remove support for automatic cvs check-ins.
79246         * Makerules: Likewise.
79247         * config.make.in: Likewise.
79248         * configure.in: Likewise.
79249         * intl/Makefile: Likewise.
79250         * locale/Makefile: Likewise.
79251         * po/Makefile: Likewise.
79252         * posix/Makefile: Likewise.
79253         * sysdeps/gnu/Makefile: Likewise.
79254         * sysdeps/mach/hurd/Makefile: Likewise.
79255         * sysdeps/sparc/sparc32/Makefile: Likewise.
79257         [BZ #13118]
79258         * posix/Makefile (bug-regex32-ENV): Define.
79259         Patch by John Stanley <jpsinthemix@verizon.net>.
79261         * misc/Makefile (headers): Add bits/select2.h.
79262         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79263         * misc/bits/select2.h: New file.
79264         * include/bits/select2.h: New file.
79265         * debug/Makefile (routines): Add fdelt_chk.
79266         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79267         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79268         FD_ISSET.
79269         * debug/fdelt_chk.c: New file.
79271         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79272         * wcsmbs/test-wmemcmp.c: Likewise.
79273         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79274         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79276 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79278         * string/Makefile (strop-tests): Add memcmp.
79279         * string/test-wmemcmp.c: New file.
79280         * string/test-memcmp.c: Add wmemcmp support.
79282 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79284         [BZ #13153]
79285         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79286         2011-07-19 change.
79288         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79289         garbage value in a __mach_port_mod_refs call in the cases of the
79290         task-self and thread-self ports.
79292 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79294         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79296 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79298         * elf/dl-load.c (lose): Check for non-null L.
79300 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79302         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79304         * elf/dl-libc.c (dlerror_run): Pass back error code from
79305         dl_catch_error.
79307         [BZ #13123]
79308         * elf/dl-load.c (lose): Free l_origin if it is valid.
79310         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79311         names.
79312         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79313         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79314         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79315         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79316         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79317         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79319 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79321         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79322         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79323         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79324         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79325         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79326         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79327         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79328         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79329         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79330         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79332 2011-08-15  Alan Modra  <amodra@gmail.com>
79334         [BZ #13092]
79335         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79336         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79337         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79338         ppc_mcount to static-only-routines.
79339         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79340         __mcount_internal.
79341         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79342         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79344 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79347         for finite and infinity parameters.
79349 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79351         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79352         and add nop instructions for throughput optimization.
79353         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79355 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79357         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79358         aligned copy for power7 with vector-scalar instructions.
79359         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79361 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79364         AVX check.
79366 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79368         [BZ #13144]
79369         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79370         last change.
79372 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79374         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79375         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79376         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79378         clock_gettime.
79380 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79382         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79383         Forgot to demangle the pointer.
79385         * sysdeps/i386/sysdep.h: Define atom_text_section.
79386         * sysdeps/x86_64/sysdep.h: Likewise.
79387         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79388         section with atom_text_section.
79389         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79390         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79391         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79392         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79393         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79395         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79396         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79397         already be defined.  Change to take two parameters and don't assign
79398         result to variable.  Adjust all users.
79399         Define INTERNAL_GETTIME if not already defined.
79400         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79401         call.
79402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79403         HAVE_CLOCK_GETTIME_VSYSCALL.
79404         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79406         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79407         gettimeofday vsyscall, just use time.
79409 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79412         <errno.h>.
79414 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79416         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79417         syscall on x86-64.
79418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79419         syscall.
79420         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79421         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79422         syscall if possible.
79424 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79426         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79427         e_ident.  Don't pass to find_mapsXX.
79428         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79430 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79433         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79434         * sysdeps/x86_64/multiarch/strchr.S: Update.
79435         Check bit_slow_BSF bit.
79436         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79437         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79438         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79440 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79442         [BZ #13134]
79443         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79444         before glibc 2.15.
79445         (tryshell): Define.
79446         (__spawni): Change last parameter to be flag.  Test
79447         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79448         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79449         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79450         * posix/spawni.c: Likewise.
79451         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79452         * posix/spawnp.c: Likewise.  Change normal version to use
79453         SPAWN_XFLAGS_USE_PATH.
79454         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79455         SPAWN_XFLAGS_TRY_SHELL.
79457         [BZ #13150]
79458         * posix/glob.h: Remove gcc 1.x support.
79460         [BZ #13068]
79461         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79463 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79466         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79467         strrchr-sse2-bsf
79468         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79469         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79470         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79471         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79472         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79473         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79475 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79477         * sysdeps/x86_64/wcscmp.S: New file.
79479         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79480         wcscmp-c wcscmp-sse2
79481         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79482         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79483         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79484         * wcsmbs/wcscmp.c: Allow renaming.
79486 2011-09-05  David S. Miller  <davem@davemloft.net>
79488         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79489         stack slot, rather than the struct return pointer slot.
79490         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79491         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79493         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79495 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79497         * po/ja.po: Update from translation team.
79499         [BZ #13144]
79500         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79501         kernel in 64-bit binaries.
79503 2011-09-01  David S. Miller  <davem@davemloft.net>
79505         * elf/elf.h (HWCAP_SPARC_*): Move to..
79506         * sysdeps/sparc/sysdep.h: this new file and add new values.
79507         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79508         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79509         _DL_HWCAP_COUNT to 24.
79510         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79511         entries.
79512         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79513         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79514         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79516         instead of magic constants.
79517         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79519 2011-08-31  David S. Miller  <davem@davemloft.net>
79521         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79523         Reimplement to do errno handling inline.
79524         (SYSCALL_ERROR_HANDLER): New macro.
79525         (__SYSCALL_STRING): Do not do errno handling in asm.
79526         (__CLONE_SYSCALL_STRING): Delete.
79527         (__INTERNAL_SYSCALL_STRING): Delete.
79528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79529         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79530         (PSEUDO): Reimplement to do errno handling inline.
79531         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79532         (SYSCALL_ERROR_HANDLER): New macro.
79533         (__SYSCALL_STRING): Do not do errno handling in asm.
79534         (__CLONE_SYSCALL_STRING): Delete.
79535         (__INTERNAL_SYSCALL_STRING): Delete.
79536         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79537         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79538         i386.
79539         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79540         (inline_syscall*): Add 'err' argument.
79541         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79542         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79543         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79544         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79546         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79547         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79549 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79551         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79553 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79555         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79556         directive.
79558 2011-08-24  David S. Miller  <davem@davemloft.net>
79560         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79562 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79564         * elf/Makefile: Add rules to build and run unload8 test.
79565         * elf/unload8.c: New file.
79566         * elf/unload8mod1.c: New file.
79567         * elf/unload8mod1x.c: New file.
79568         * elf/unload8mod2.c: New file.
79569         * elf/unload8mod3.c: New file.
79571         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79572         it wasn't used.
79574 2011-08-23  David S. Miller  <davem@davemloft.net>
79576         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79577         subtract stack bias.
79578         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79579         %sp not %fp in calculations.
79580         (_JMPBUF_UNWINDS_ADJ): Likewise.
79582         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79583         (aio_suspend): Call it to force an exception region around the
79584         AIO_MISC_WAIT() invocation.
79586 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79588         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79589         backslash.
79591 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79593         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79594         protection macro.
79595         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79596         and <dl-machine.h>.
79597         (Elf64_FuncDesc): Remove.
79599 2011-08-22  David S. Miller  <davem@davemloft.net>
79601         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79602         sigaltstack check, add missing cfi directives.
79603         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79604         missing cfi directives, and sigaltstack handling.
79606 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79608         [BZ #11724]
79609         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79610         object is seen twice.
79611         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79613         * elf/Makefile (distribute): Add tst-initorder2.c.
79614         (tests): Add tst-initorder2.
79615         (modules-names): Add tst-initorder2a tst-initorder2b
79616         tst-initorder2c tst-initorder2d.  Add rules to build them.
79617         ($(objpfx)tst-initorder2.out): New rule.
79618         * elf/tst-initorder2.c: New file.
79619         * elf/tst-initorder2.exp: New file.
79621 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79623         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79625         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79626         dependencies back to end of function.
79628         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79629         $(elfobjdir)/ld.so.
79631 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79634         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79635         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79636         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79637         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79638         of __vdso_gettimeofday.
79639         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79640         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79641         attribute_hidden.
79642         (_libc_vdso_platform_setup): Remove initialization of
79643         __vdso_gettimeofday and __vdso_time.
79645 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79647         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79648         and fgetc_unlocked.
79649         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79650         getc_unlocked.
79652         * elf/dl-open.c (add_to_global): Report additions to the global scope
79653         for LD_DEBUG=scopes.
79654         (dl_open_worker): Also print scope of newly loaded dependencies.
79655         (_dl_show_scope): Indicate if there is no scope.
79657         [BZ #13114]
79658         * stdio-common/Makefile (tests): Add bug24.
79659         * stdio-common/bug24.c: New file.
79661 2011-08-19  Andreas Jaeger  <aj@suse.de>
79663         [BZ #13114]
79664         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79665         non-existant file when using close-on-exec mode.
79667 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79669         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79670         the very first instruction.
79672         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79673         the CFI state in the end.
79674         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79675         inclusion of dl-trampoline.h.
79676         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79678 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79680         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79681         expectations for long double.
79683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79684         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79686 2011-08-14  David S. Miller  <davem@davemloft.net>
79688         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79689         artificual limit depends upon the system page size.
79691 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79693         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79694         * resolv/Makefile: Define CFLAGS-libresolv.
79696 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79698         * nss/makedb.c (compute_tables): Make variables used in nested
79699         function static.
79701 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79703         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79704         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79705         if buffer was too small.
79707         * elf/pldd.c (main): Attach to all threads in the process.
79708         Rewrite /proc handling to use *at functions.
79710 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79712         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79713         specifies first scope to show.
79714         (dl_open_worker): Update callers.  Move printing scope of new
79715         object to before the relocation.
79716         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79717         * sysdeps/generic/ldsodefs.h: Update declaration.
79719         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79720         string for the scope number.
79722 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79724         * nscd/servicescache.c (cache_addserv): Make sure written is always
79725         initialized.
79727 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79729         * sysdeps/i386/i486/bits/atomic.h
79730         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79731         statement expression, so as to suppress "set but not used" warning.
79732         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79734         * string/strncat.c (STRNCAT): Use prototype definition.
79736         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79737         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79738         -Iprograms here.
79739         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79740         (localedef-modules): Add localedef.
79741         (locale-modules): Add locale.
79743         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79744         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79745         to avoid a warning.
79747 2011-08-14  David S. Miller  <davem@davemloft.net>
79749         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79750         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79752 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79754         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79755         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79756         * elf/rtld.c (dl_main): Set l_name of vDSO.
79757         Call _dl_show_scope when DL_DEBUG_SCOPES.
79758         (process_dl_debug): Recognize scopes flag and also set it for all.
79759         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79760         Declare _dl_show_scope.
79762         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79763         (do_dlopen): Pass caller_dlopen to dl_open.
79764         (__libc_dlopen_mode): Initialize caller_dlopen.
79766         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79767         of libc.  Make tolower call locale-independent.  Optimize a bit by
79768         using isdigit instead of isalnum.
79769         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79771 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79773         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79774         was a dependency or dynamically loaded.
79776 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79778         * intl/l10nflist.c: Allow architecture-specific pop function.
79779         * sysdeps/x86_64/l10nflist.c: New file.
79781         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79782         classification.
79784 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79786         * include/dirent.h: Add libc_hidden_proto for scandirat and
79787         scandirat64.  Don't declare __scandirat64.
79788         * dirent/scandirat.c: Add libc_hidden_def.
79789         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79790         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79792 2011-08-10  David S. Miller  <davem@davemloft.net>
79794         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79795         enum.
79796         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79797         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79800 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79802         * Versions.def [libc]: Add GLIBC_2.15.
79803         * dirent/Makefile (routines): Add scandirat and scandirat64.
79804         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79805         GLIBC_2.15.
79806         * dirent/dirent.h: Declare scandirat and scandirat64.
79807         * dirent/scandirat.c: New file.
79808         * dirent/scandirat64.c: New file.
79809         * sysdeps/wordsize-64/scandirat.c: New file.
79810         * sysdeps/wordsize-64/scandirat64.c: New file.
79811         * dirent/opendir.c: Define opendirat.
79812         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79813         using scandirat.
79814         * dirent/scandir64.c: Adjust for scandir.c change.
79815         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79816         __scandirat64, and __scandir_cancel_handler.
79817         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79818         additional parameter and use openat instead of open (outside of ld.so).
79819         Add new __opendir as wrapper around __opendirat.
79820         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79821         here without requiring old scandirat implementation.
79823 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79825         * dirent/scandir.c (cancel_handler): Renamed to
79826         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79827         defined.  Adjust users.
79828         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79829         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79831 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79833         * string/test-string.h (IMPL): Use __STRING to expand name and then
79834         stringify it.
79836         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79837         of cleanups.
79839 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79841         * string/Makefile: Update.
79842         (strop-tests): Append strncat.
79843         * string/test-wcscmp.c: New file.
79844         New comprehensive test for wcscmp.
79845         * string/test-strcmp.c: Update.
79846         (WIDE): New define.
79848 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79850         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79851         line.
79853 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79856         encoding to ACE if AI_IDN.
79858 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79861         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79863 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79865         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79866         Fix overflow bug in strncat.
79867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79869         * string/test-strncat.c: Update.
79870         Add new tests for checking overflow bugs.
79872 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79875         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79876         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79877         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79878         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79879         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79880         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79881         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79882         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79884         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79885         (USE_AS_STRCAT): Define.
79886         Add strcat and strncat support.
79887         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79889 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79891         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79892         __n bigger than INT_MAX+1.
79893         (__strncmp_g): Likewise.
79895 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79897         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79898         * libio/stido.h: Likewise.
79900         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79901         (AF_NFC): Define.
79902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79903         (AF_NFC): Define.
79905         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79906         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79907         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79908         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79911         [BZ #13021]
79912         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79913         installed.
79915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79916         typo.
79917         (_dl_x86_64_save_sse): Likewise.
79919 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79921         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79922         OSXSAVE.
79923         (_dl_x86_64_save_sse): Likewise.
79925         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79927         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79929 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79932         change.
79933         (_dl_x86_64_save_sse): Use correct AVX check.
79935 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79937         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79938         bug in strncpy/strncat.
79939         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79941 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79943         * string/tester.c (test_strcat): Add tests for different alignments
79944         of source and destination.
79945         (test_strncat): Likewise.
79947 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79949         [BZ #12852]
79950         * posix/glob.c (glob): Check passed in values before using them in
79951         expressions to avoid some overflows.
79952         (glob_in_dir): Likewise.
79954         [BZ #13007]
79955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79956         check for AVX enablement so that we don't crash with old kernels and
79957         new hardware.
79958         * elf/tst-audit4.c: Add same checks here.
79959         * elf/tst-audit6.c: Likewise.
79961         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79963 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79965         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79967 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79969         * po/cs.po: Update from translation team.
79970         * po/bg.po: Likewise.
79972 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79974         * misc/sys/cdefs.h: Add support for const attribute.
79975         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79976         to gnu_dev_{major,minor,makedev} functions.
79978 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79980         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79982 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79984         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79985         strlen results.
79987 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79990         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79991         register in order to avoid conflicts with the soft frame pointer
79992         being held in r11 when necessary.
79993         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79994         (INTERNAL_VSYSCALL_NCS): Likewise.
79996 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79998         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79999         * elf/dl-fini.c (_dl_fini): Adjust caller.
80000         * elf/dl-close.c (_dl_close_worker): Likewise.
80001         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80003 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80005         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80006         "aux_cache->nlibs < 0".
80008         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80009         in the reload-count case.
80011 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80014         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80015         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80016         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80017         * sysdeps/x86_64/multiarch/strcat.S: New file.
80018         * sysdeps/x86_64/multiarch/strncat.S: New file.
80019         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80020         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80021         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80022         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80023         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80024         (USE_AS_STRCAT): Define.
80025         Add strcat and strncat support.
80026         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80027         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80028         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80029         * string/strncat.c: Update.
80030         (USE_AS_STRNCAT): Define.
80031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80032         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80033         and i7.
80034         * sysdeps/x86_64/multiarch/init-arch.h
80035         (bit_Prefer_PMINUB_for_stringop): New.
80036         (index_Prefer_PMINUB_for_stringop): Likewise.
80037         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80038         bit_Prefer_PMINUB_for_stringop.
80040 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80042         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80043         buffer64.
80044         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80045         of casting of buffer.
80046         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80047         buffer32 and buffer64.
80048         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80049         writes instead of casting of buffer.
80050         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80051         buffer32.
80052         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80053         casting of buffer.
80055 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80057         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80059 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80061         * nscd/nscd.c (termination_handler): Don't do anything for a database
80062         if it has not yet been initialized.
80064 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80066         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80068 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80070         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80072 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80074         * po/nl.po: Update from translation team.
80075         * po/sv.po: Likewise.
80077 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80079         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80080         now disallowed by GCC.
80082         * configure.in (use-default-link): Default to yes if a test -shared
80083         link meets our qualifications.
80084         * configure: Regenerated.
80086         * config.make.in (output-format): New variable.
80087         * configure.in: Check for ld --print-output-format support.
80088         * configure: Regenerated.
80089         * Makerules ($(common-objpfx)format.lds)
80090         [$(output-format) != unknown]: Just use $(output-format),
80091         instead of the linker-script munging.
80093 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80095         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80096         of $(common-objpfx)shlib.lds.
80097         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80099         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80100         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80102         * configure.in (-z relro check): Adjust test code to add a large
80103         writable data section after it.
80104         * configure: Regenerated.
80106 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80108         * configure.in (-z relro check): Fix test code to make the variable
80109         truly const.
80110         * configure: Regenerated.
80112 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80114         * nscd/nscd.h (struct traced_file): Define.
80115         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80116         elements.  Add traced_files.
80117         (inotify_fd): Declare.
80118         (register_traced_file): Declare.
80119         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80120         (inotify_fd): Export.
80121         (resolv_conf_descr): Remove.
80122         (nscd_init): Move inotify descriptor creation to main.
80123         Don't register files for notification here.
80124         (register_traced_file): New function.
80125         (invalidate_cache): Don't use reset_res to determine whether to call
80126         res_init, go through the list of registered files.
80127         (main_loop_poll): The inotify descriptors are now stored in the
80128         structures for the traced files.
80129         (main_loop_epoll): Likewise.
80130         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80131         to __nss_disable_nscd.
80132         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80133         for a database anymore.  Check the records for all the registered
80134         files instead.
80135         * nss/Makefile (libnss_files-routines): Add files-init.
80136         (libnss_db-routines): Add db-init.
80137         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80138         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80139         * nss/nss_db/db-init.c: New file.
80140         * nss/nss_files/files-init.c: New file.
80141         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80142         __nss_lookup_function.
80143         (__nss_lookup_function): Call nss_load_library.
80144         (nss_load_all_libraries): New function.
80145         (__nss_disable_nscd): Take parameter with callback function for files
80146         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80147         used for the cached services.
80148         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80149         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80150         options for features to all the files in nscd.
80152         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80154 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80156         * csu/elf-init.c (__libc_csu_init): Comment typo.
80158 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80160         * po/pl.po: Update from translation team.
80161         * po/ja.po: Likewise.
80162         * po/ru.po: Likewise.
80163         * po/ko.po: Likewise.
80164         * po/fr.po: Likewise.
80166 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80168         * configure.in (.ctors/.dtors header and trailer check):
80169         Use an empirical test on a built program.
80170         * configure: Regenerated.
80172         * configure.in (-z relro check): Use an empirical test on a built DSO.
80173         Detect, but do not require, on ia64.
80174         * configure: Regenerated.
80176         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80177         Update tests that use readelf to use $READELF instead.
80178         * configure: Regenerated.
80180 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80182         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80183         if the result is not used.
80185 2011-07-05  Andreas Jaeger  <aj@suse.de>
80187         [BZ#9696]
80188         * stdlib/tst-strtod.c: Add testcase.
80190 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80192         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80193         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80194         The latter has a higher limit.  Take additional parameter to pass to
80195         the new function.
80196         (__pathconf): Pass file to __statfs_link_max.
80197         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80198         __statfs_link_max.
80199         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80200         __statfs_link_max.
80202         [BZ #12868]
80203         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80204         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80205         Handle Lustre.
80206         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80207         (__statfs_filesize_max): Likewise.
80208         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80210 2011-07-05  Andreas Jaeger  <aj@suse.de>
80212         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80214 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80216         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80217         `status' variable.
80218         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80219         Likewise.
80221 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80223         * Makefile (strop-tests): Add strncat.
80224         * string/test-strncat.c: New file.
80226 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80228         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80230 2011-06-21  Andreas Jaeger  <aj@suse.de>
80232         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80233         Copy rule from iconvdata/Makefile.
80235 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80237         [BZ #12922]
80238         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80239         but no long options are defined, just return 'W'.
80241 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80243         [BZ #9696]
80244         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80246 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80248         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80249         netgroups to read.
80250         (innetgr): Likewise.
80252 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80254         * config.make.in (install_root): Default to $(DESTDIR).
80256 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80258         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80260 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80262         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80264         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80265         containing directory rather than embedding absolute directory names.
80267         * scripts/check-local-headers.sh: Rewritten using awk.
80268         Match by word, not by line.  Print error messages for matches.
80269         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80271         * Makerules [shlib-lds-flags empty]:
80272         ($(common-objpfx)libc_pic.opts): New target.
80273         ($(common-objpfx)libc_pic.os.clean): New target.
80274         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80276         * config.make.in (OBJCOPY): New variable.
80277         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80278         * configure: Regenerated.
80280         * config.make.in (use-default-link): New variable.
80281         * configure.in (use_default_link): Grok --with-default-link to set it.
80282         * configure: Regenerated.
80283         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80284         (shlib-lds, shlib-lds-flags): Define to empty.
80286         * Makerules (shlib-lds): New variable.
80287         (shlib-lds-flags): New variable.
80288         (build-shlib, build-moduile, build-module-asneeded): Use it.
80289         ($(common-objpfx)libc.so): Use $(shlib-lds).
80290         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80291         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80293         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80294         DT_FLAGS/DT_FLAGS_1 with zero flags.
80296         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80297         linker script munging.
80299 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80301         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80302         as 128-bit value.
80303         * crypt/sha512.c (sha512_process_block): Perform total addition using
80304         128-bit if possible.
80305         (__sha512_finish_ctx): Likewise.
80306         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80307         as 64-bit value.
80308         * crypt/sha256.c (SWAP64): Define.
80309         (sha256_process_block): Perform total addition using 64-bit if
80310         possible.
80311         (__sha256_finish_ctx): Likewise.
80313 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80315         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80316         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80317         * nscd/hstcache.c (cache_addhst): Likewise.
80318         * nscd/grpcache.c (cache_addgr): Likewise.
80319         * nscd/aicache.c (addhstaiX): Likewise.
80320         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80322 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80324         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80325         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80326         * nscd/hstcache.c (cache_addhst): Likewise.
80327         * nscd/grpcache.c (cache_addgr): Likewise.
80328         * nscd/aicache.c (addhstaiX): Likewise.
80330 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80332         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80333         domain only when needed.
80335 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80338         is always restored.
80340 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80342         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80343         are re-adding the entry.
80344         * nscd/servicescache.c (cache_addserv): Likewise.
80346 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80348         * sysdeps/generic/dl-irel.h: fix protection against multiple
80349         inclusions.
80350         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80352 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80354         [BZ #12935]
80355         * malloc/memusage.sh: Fix quoting in message.
80356         * debug/xtrace.sh: Likewise.
80358         * configure.in: Remove support for --experimental-malloc option, make
80359         it the default.
80360         * config.make.in: Likewise.
80361         * malloc/Makefile: Likewise.
80363 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80365         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80366         two-byte characters.
80368 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80370         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80371         AC_CACHE_CHECK invocation.
80372         * configure: Regenerated.
80374         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80376 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80378         [BZ #12350]
80379         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80380         bit from old_res_options.
80382         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80384         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80385         value type for setfct.
80387 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80390         __gettimeofday instead of gettimeofday.
80392 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80394         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80396 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80398         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80401         info.
80403 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80406         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80407         strcpy-sse2-unaligned strncpy-sse2-unaligned
80408         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80409         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80410         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80411         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80412         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80413         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80414         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80415         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80416         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80417         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80418         (STRCPY): Support SSE2 and SSSE3 versions.
80420 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80422         [BZ #12874]
80423         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80424         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80425         kernels which artificially limit size of requests.
80427 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80429         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80430         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80431         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80432         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80433         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80434         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80435         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80436         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80437         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80438         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80439         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80440         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80441         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80442         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80443         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80445         Enable unaligned load optimization for Intel Core i3, i5 and i7
80446         processors.
80447         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80448         Define.
80449         (index_Fast_Unaligned_Load): Define.
80450         (HAS_FAST_UNALIGNED_LOAD): Define.
80452 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80454         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80456 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80458         [BZ #12907]
80459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80460         until it is clear that the information is realy needed.
80461         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80463 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80467 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80470         /sys/devices/system/cpu/online if it is usable.
80472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80473         reading the information from the /proc filesystem to once a second.
80475 2011-06-21  Andreas Jaeger  <aj@suse.de>
80477         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80478         NULL after inclusion of kernel headers.
80480 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80482         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80483         calls to internal_setent.
80485         [BZ #12885]
80486         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80487         addresses using gethostbyname4_r ignore IPv4 addresses.
80489         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80490         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80492         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80494 2011-06-20  David S. Miller  <davem@davemloft.net>
80496         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80497         inclusions.
80498         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80500         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80501         (elf_irel): Use it.
80502         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80503         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80504         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80505         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80506         * sysdeps/x86_64/dl-irel.h: Likewise.
80508         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80509         * elf/dl-sym.c: Likewise.
80511 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80513         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80514         need to dereference resplen2.
80516 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80518         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80520 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80522         * Makeconfig: Define vardbdir and inst_vardbdir.
80523         * nss/Makefile: Add rules to install db-Makefile.
80525         * nss/nss_db/db-XXX.c: Cleanup.
80527         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80528         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80529         GLIBC_PRIVATE.
80530         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80531         * nss/makedb.c: Implement -g option to specify that value strings
80532         are generated and should not be added to table iterated over for
80533         get*ent calls.
80534         * nss/nss_db/db-initgroups.c: New file.
80536         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80537         interface.
80539         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80540         (internal_getgrouplist): Adjust to name change.
80541         Update use_initgroups_entry if this is not the first call.
80542         * nss/databases.def: Add initgroups entry.
80544         * nss/makedb.c (compute_tables): Check result of multiple hash table
80545         sizes to minimize maximum chain length.
80547 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80549         * Versions.def: Add entry for libnss_db.
80550         * shlib-versions: Likewise.
80551         * nss/Makefile: Add rules to build libnss_db.
80552         * nss/Versions: Add libnss_db information.  Organize libnss_files
80553         entries better.
80554         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80555         makedb progra.  Some minor improvements to generate smaller files.
80556         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80557         here from...
80558         * nss/makedb.c: ...here.
80559         Improve database format to be smaller and require less memory at
80560         runtime.
80561         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80562         db anymore.
80563         * nss/nss_db/db-netgrp.c: Likewise.
80564         * nss/nss_db/db-open.c: Likewise.
80565         * nss/nss_files/flies-XXX.x: Adjust comments.
80566         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80567         * nss/nss_files/files-grp.c: Likewise.
80568         * nss/nss_files/files-hosts.c: Likewise.
80569         * nss/nss_files/files-network.c: Likewise.
80570         * nss/nss_files/files-proto.c: Likewise.
80571         * nss/nss_files/files-pwd.c: Likewise.
80572         * nss/nss_files/files-rpc.c: Likewise.
80573         * nss/nss_files/files-service.c: Likewise.
80574         * nss/nss_files/files-sgrp.c: Likewise.
80575         * nss/nss_files/files-spwd.c: Likewise.
80576         * nss/nss_db/db-alias.c: Removed.
80577         * nss/nss_db/dummy-db.h: Removed.
80579 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80581         * nss/makedb.c: Rewritten to not use database library.
80582         * nss/Makefile: Update to build new makedb program.
80584 2011-06-14  Andreas Jaeger  <aj@suse.de>
80586         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80587         memset declaration.
80589 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80592         tmpbuf.
80594 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80596         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80597         * elf/Makefile ($(objpfx)ld.so): Likewise.
80599         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80600         Don't list ld.so twice in dependencies.
80602         * posix/bug-regex31.c: Include <stdlib.h>.
80604         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80606         * nis/nss_compat/compat-spwd.c
80607         (getspent_next_nss_netgr): Remove unused variable.
80608         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80610         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80611         nonmembers" output to use the right array.
80613         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80615         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80617         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80618         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80619         * catgets/gencat.c (read_input_file): Likewise.
80620         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80622         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80623         variable definition inside #if's controlling its use.
80625         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80627         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80629         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80631         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80632         unreachable code.
80634         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80636         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80637         * configure: Regenerated.
80639         * Makerules: Revert last change.
80640         * elf/Makefile: Likewise.
80642 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80644         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80645         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80646         (reloc-link): Likewise.
80648 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80650         * elf/Makefile: Add rules to build pldd.
80651         * elf/pldd.c: New file.
80652         * elf/pldd-xx.c: New file.
80654 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80656         * version.h: Update for 2.15 development version.
80658 2011-06-07  David S. Miller  <davem@davemloft.net>
80660         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80661         ifuncs.
80662         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80663         elf_machine_lazy_rel): Likewise.
80664         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80666         elf_machine_lazy_rel): Likewise.
80667         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80668         dl_hwcap via passed in argument.
80669         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80670         Likewise.
80672 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80674         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80676 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80678         [BZ #12849]
80679         * manual/fdl-1.1.texi: New file, verbatim from:
80680         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80681         * manual/lgpl-2.1.texi: New file, verbatim from:
80682         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80683         * manual/Makefile (licenses): New variable, list those new file names.
80684         (texis): Use it.
80685         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80687         * manual/fdl.texi: File removed.
80688         * manual/lesser.texi: File removed.
80689         * manual/libc.texinfo (Copying, Documentation License):
80690         Use new @include file names, put @appendix directive before @include.
80692 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80694         [BZ #12841]
80695         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80696         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80697         (mq_open): Add __NTH.
80699 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80702         Assume Intel Core i3/i5/i7 processor if AVX is available.
80704 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80707         typo.
80709 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80711         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80712         memory.  Use alloca_account.  Fix memory leak when retrying.
80714 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80716         * version.h (RELEASE): Bump for 2.14 release.
80717         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80719         * config.make.in (RANLIB): Remove entry.
80721 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80723         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80724         (libc.pot): Work around missing support for .ksh extension in xgettext.
80726         [BZ #12684]
80727         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80728         if both request failed.
80729         (send_dg): In case of server errors clear resplen or *resplen2.
80731         [BZ #12454]
80732         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80733         when there are multiple maps.
80734         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80735         (_dl_fini): Remove test here.
80737         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80739 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80741         [BZ #12350]
80742         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80743         bit from old_res_options.
80744         (gaih_inet): Likewise.
80746         [BZ #11099]
80747         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80748         as signed.
80750         * resolv/res_init.c (res_setoptions): Make the code more compact.
80752         [BZ #11558]
80753         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80754         set RES_USEVC.
80756         [BZ #11634]
80757         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80759         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80761         [BZ #11781]
80762         * malloc/malloc.h: Declare malloc hook variables as volatile.
80764         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80765         in last patch.
80767         [BZ #11799]
80768         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80769         raise in the comment.
80770         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80771         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80772         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80774 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80776         [BZ #12811]
80777         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80778         grow the buffers more if it already has to be sufficient.
80779         (build_wcs_upper_buffer): Likewise.
80780         * posix/regexec.c (check_matching): Likewise.
80781         (clean_state_log_if_needed): Likewise.
80782         (extend_buffers): Don't enlarge buffers beyond size of the input
80783         buffer.
80784         Patches mostly by Emil Wojak <emil@wojak.eu>.
80785         * posix/bug-regex32.c: New file.
80786         * posix/Makefile (tests): Add bug-regex32.
80788         * locale/findlocale.c (_nl_find_locale): Return right away if
80789         _nl_explode_name failed.
80790         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80792         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80794         * debug/xtrace.sh: Unify messages.
80795         * malloc/memusage.sh: Likewise.
80797         [BZ #12813]
80798         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80799         time symbol from vDSO.  Substitute with vsyscall if not available.
80800         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80801         __vdso_time.
80803         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80804         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80805         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80806         Add sendmmsg and internal_sendmmsg.
80807         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80808         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80809         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80811         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80812         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80813         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80815 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80817         [BZ #12813]
80818         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80819         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80820         available.
80821         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80822         __vdso_getcpu.
80824         [BZ #12814]
80825         * iconvdata/Makefile (tests): Add bug-iconv9.
80826         * iconvdata/bug-iconv9.c: New file.
80828 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80830         [BZ #12814]
80831         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80833 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80836         (struct user_regs_struct): Change intcs field back to cs.
80838 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80840         * po/ja.po: Update from translation team.
80842 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80844         [BZ #12795]
80845         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80846         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80848 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80850         * stdlib/longlong.h: Update from GCC.
80852 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80854         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80855         parameter name.
80856         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80857         Add parameter name.
80858         (__sysconf): Pass it down.
80860 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80862         [BZ #12671]
80863         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80864         some situations.
80865         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80866         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80867         add in in __libc_use_alloca calls.  Adjust callers.
80868         (glob): Use malloc in some situations.
80870         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80871         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80872         pltexit.
80874 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80876         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80877         and CLOCK_BOOTTIME_ALARM.
80879         [BZ #12782]
80880         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80881         is returned.
80883         * string/_strerror.c (__strerror_r): Print negative errors as signed
80884         numbers.
80886         [BZ #12777]
80887         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80888         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80889         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80891         * configure.in: Fix typo in redirection and correct removal of test
80892         files in two cases.
80894         [BZ #12788]
80895         * locale/setlocale.c (new_composite_name): Fix test to check for
80896         identical name of all categories.
80898         [BZ #12792]
80899         * libio/filedoalloc.c (local_isatty): New function.
80900         (_IO_file_doallocate): Use local_isatty.
80901         * stdio-common/perror.c (perror): In case a new stream is used
80902         forward the stream error.
80903         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80904         error flag.
80906 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80908         [BZ #11884]
80909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80910         alloca.
80911         * include/alloca.h (extend_alloca_account): Define.
80913         [BZ #11857]
80914         * posix/regex.h: Fix comments with documentation of user-accessible
80915         fields after compilation and describe correct free'ing of pattern
80916         after re_compile_pattern.
80917         Patch by Reuben Thomas <rrt@sc3d.org>.
80919 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80921         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80922         and -mno-altivec to prevent the compiler from using Altivec and/or
80923         VSX instructions when the corresponding registers are not available.
80925 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80927         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80929 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80931         * libio/freopen.c (freopen): Use __dup2, not dup2.
80932         * libio/freopen64.c (freopen64): Likewise.
80934 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80936         [BZ #12775]
80937         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80938         * math/Makefile (tests): Add test-powl.
80939         (CFLAGS-test-powl.c): Define.
80940         * math/test-powl.c: New file.
80942 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80944         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80946 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80948         [BZ #11837]
80949         * iconvdata/gb18030.c: Update to GB18020-2005.
80951 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80953         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80954         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80955         Patch by Aharon Robbins <arnold@skeeve.com>.
80957         [BZ #11892]
80958         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80959         on the stack.
80961         [BZ #11895]
80962         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80963         through underflows.
80965         [BZ #12766]
80966         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80967         point to strings before performing equality test for error_one_per_line
80968         mode.
80970         [BZ #11697]
80971         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80973         [BZ #11820]
80974         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80975         (struct user_fpregs_struct): Avoid __uint*_t types.
80977         [BZ #6420]
80978         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80979         symbol info.  Use it instead of calling _dl_addr locally.
80980         (lock_and_info): New function.
80981         (tr_freehook): Call lock_and_info and pass symbol info as additional
80982         parameter to tr_where.
80983         (tr_mallochook): Likewise.
80984         (tr_reallochook): Likewise.
80985         (tr_memalignhook): Likewise.
80987         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80988         used and couldn't be at all thread-safe.
80990 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80992         * libio/freopen.c (freopen): Don't close old file descriptor
80993         before the new one is opened.  Instead dup the new file descriptor
80994         to the old one after the new stream is created.
80995         * libio/freopen64.c (freopen64): Likewise.
80996         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80997         * libio/fileops.c (_IO_new_file_close_it): Handle new
80998         _IO_FLAGS2_NOCLOSE flag.
80999         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81000         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81001         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81002         _IO_FLAGS2_NOCLOSE flag.
81003         * include/unistd.h: Add hidden_proto for dup3.
81004         Define __have_dup3.
81005         * io/dup3.c: Define hidden symbol.
81006         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81008         [BZ #7101]
81009         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81010         when an incomplete long option is used.
81011         * posix/tst-getopt_long1.c: New file.
81012         * posix/Makefile (tests): Add tst-getopt_long1.
81014         [BZ #10138]
81015         * scripts/config.guess: Update from autoconf-2.68.
81016         * scripts/config.sub: Likewise.
81018         [BZ #10157]
81019         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81020         tests into ...
81021         (has_cpuclock): ...this.  New function.
81022         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81023         macro here based on has_cpuclock code.
81025         [BZ #10149]
81026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81027         First byte (not low byte) is now always NUL.
81028         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81031         Use non-cancelable interfaces.
81033         [BZ #9809]
81034         * locale/iso-639.def: Add entry for Sorani.
81036         [BZ #11901]
81037         * include/stdlib.h: Move include protection to the right place.
81038         Define abort_msg_s.  Declare __abort_msg with it.
81039         * stdlib/abort.c (__abort_msg): Adjust type.
81040         * assert/assert.c (__assert_fail_base): New function.  Majority
81041         of code from __assert_fail.  Allocate memory for __abort_msg with
81042         mmap.
81043         (__assert_fail): Now call __assert_fail_base.
81044         * assert/assert-perr.c: Remove bulk of implementation.  Use
81045         __assert_fail_base.
81046         * include/assert.hL Declare __assert_fail_base.
81047         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81048         mmap.
81049         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81051 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81053         [BZ #11952]
81054         [BZ #12453]
81055         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81056         until all modules are registered in the DTV.
81057         * elf/Makefile: Add rules to build and run tst-tls19.
81058         * elf/tst-tls19.c: New file.
81059         * elf/tst-tls19mod1.c: New file.
81060         * elf/tst-tls19mod2.c: New file.
81061         * elf/tst-tls19mod3.c: New file.
81062         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81064         [BZ #12083]
81065         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81066         correctly.
81068         [BZ #12601]
81069         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81070         two-byte sequence errors.
81071         * iconvdata/Makefile (tests): Add bug-iconv8.
81072         * iconvdata/bug-iconv8.c: New file.
81074         [BZ #12626]
81075         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81076         buf2 definition.
81078         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81080         [BZ #12432]
81081         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81082         (dummy_getcfa): New function.
81083         (init): Get _Unwind_GetCFA address, use dummy if not found.
81084         (backtrace_helper): In recursion check, also check whether CFA changes.
81085         (__backtrace): Completely initialize arg.
81087         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81088         storing incomplete byte sequence in state object.  Avoid testing for
81089         guaranteed too small input if we know there is enough data available.
81091 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81093         * Makeconfig (+link-pie): Indent.
81094         * Rules (binaries-pie): Define if $(have-fpie) and
81095         $(build-shared).
81096         (binaries-shared): Also filter out $(binaries-pie).
81097         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81098         * nscd/Makefile (others-pie): Add nscd.
81099         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81100         ($(objpfx)nscd): Remove command override.
81101         * login/Makefile (others-pie): Add pt_chown.
81102         ($(objpfx)pt_chown): Remove command override.
81103         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81104         remove command overrides.
81106 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81108         * libio/tst_putwc.c: Fix error messages.
81110         [BZ #12724]
81111         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81112         currently writing and seek to current position when not.
81113         * libio/Makefile (tests): Add bug-fclose1.
81114         * libio/bug-fclose1.c: New file.
81116 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81118         [BZ #12511]
81119         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81120         don't set DF_1_NODELETE here.
81121         (do_lookup_x): When entering new entry test for copy relocation
81122         and if necessary set DF_1_NODELETE flag.
81123         * elf/tst-unique4.cc: New file.
81124         * elf/tst-unique4.h: New file.
81125         * elf/tst-unique4lib.cc: New file.
81126         * elf/Makefile: Add rules to build and run tst-unique4.
81127         Patch by Piotr Bury <pbury@goahead.com>.
81129 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81131         [BZ #12052]
81132         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81134         [BZ #12625]
81135         * misc/mntent_r.c (addmntent): Flush the stream after the output
81137         [BZ #12393]
81138         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81139         (is_trusted_path_normalize): Skip initial colon.  Append slash
81140         to empty buffer.  Duplicate is_trusted_path code but allow
81141         constructed patch to be prefix.
81142         (is_dst): Allow $ORIGIN followed by /.
81143         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81144         Correct testing of result of is_trusted_path_normalize
81145         (decompose_rpath): Fix warning.
81147 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81149         [BZ #11257]
81150         * grp/initgroups.c (internal_getgrouplist): When we found the service
81151         list through the initgroups entry in nsswitch.conf do not always
81152         continue on a successful lookup.  Don't always use the
81153         __nss_group_database value if it is set.
81154         * nss/nsswitch.conf (initgroups): Change action for successful db
81155         lookup to continue for compatibility.
81157 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81159         [BZ #11532]
81160         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81161         and CP774 modules.
81162         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81163         and CP774 modules.
81164         * iconvdata/tst-tables.sh: Likewise.
81165         * iconvdata/cp770.c: New file.
81166         * iconvdata/cp771.c: New file.
81167         * iconvdata/cp772.c: New file.
81168         * iconvdata/cp773.c: New file.
81169         * iconvdata/cp774.c: New file.
81170         * iconvdata/testdata/CP770: New file.
81171         * iconvdata/testdata/CP770..UTF8: New file.
81172         * iconvdata/testdata/CP771: New file.
81173         * iconvdata/testdata/CP771..UTF8: New file.
81174         * iconvdata/testdata/CP772: New file.
81175         * iconvdata/testdata/CP772..UTF8: New file.
81176         * iconvdata/testdata/CP773: New file.
81177         * iconvdata/testdata/CP773..UTF8: New file.
81178         * iconvdata/testdata/CP774: New file.
81179         * iconvdata/testdata/CP774..UTF8: New file.
81181         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81182         END CHARMAP line.
81183         * iconvdata/gen-8bit-gap.sh: Likewise.
81184         * iconvdata/gen-8bit.sh: Likewise.
81186         * locale/iso-639.def: Add ary entry.
81188         [BZ #11258]
81189         * locale/C-translit.h.in: Add U20A1 transliteration.
81191         [BZ #12178]
81192         * locale/iso-639.def: Add wae entry.
81193         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81195         [BZ #12545]
81196         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81197         for n.
81199         [BZ #12711]
81200         * locale/C-translit.h.in: Add entry for U20B9.
81201         Patch by pravin.d.s@gmail.com.
81203 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81205         [BZ #12713]
81206         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81207         ENAMETOOLONG use generic getcwd.
81208         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81209         in rtld.  Use *stat64.
81210         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81211         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81212         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81213         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81214         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81215         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81216         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81217         __fstatat64 macros.
81218         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81219         * dirent/rewinddir.c: Add libc_hidden_def.
81220         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81221         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81223         * include/dirent.h (__alloc_dir): Add flags parameter.
81224         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81225         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81226         __alloc_dir.
81227         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81228         from fdopendir if O_CLOEXEC is already set.
81230 2011-03-15  Alan Modra  <amodra@gmail.com>
81232         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81233         l_tls_firstbyte_offset non-zero.  Save padding offset in
81234         l_tls_firstbyte_offset for later use.
81235         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81236         freeing static tls block.
81238 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81240         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81241         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81242         being defined by the kernel headers.
81244 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81246         [BZ #12734]
81247         * resolv/resolv.h: Define RES_NOTLDQUERY.
81248         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81249         no-tld-query and set RES_NOTLDQUERY.
81250         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81251         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81252         modern BIND to search name as TLD unless forbidden.
81254 2011-05-07  Petr Baudis  <pasky@suse.cz>
81255             Ulrich Drepper  <drepper@gmail.com>
81257         [BZ #12393]
81258         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81259         (is_trusted_path): ...to here.
81260         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81261         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81262         using is_trusted_path_normalize() in setuid scripts.
81264 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81266         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81267         __BEGIN/__END_DECLS.
81269 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81271         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81272         NSS_STATUS_NOTFOUND if no record was found.
81274 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81276         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81277         (headers-not-in-tirpc): Remove rpc/netdb.h
81278         * resolv/netdb.h: Revert last change.
81280 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81282         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81283         circular dependency between libgcc.a and libc.a.
81285 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81287         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81288         * nis/Makefile: Don't install rpcsvc/*.
81289         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81290         instead of <rpc/types.h>.
81291         (MAXHOSTNAMELEN): Define.
81293 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81295         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81297 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81299         [BZ #12714]
81300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81301         gethostbyname4_r when IPv6 results are possible.
81303 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81305         [BZ #12723]
81306         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81307         _PC_PIPE_BUF handling.
81309 2011-04-30  Bruno Haible  <bruno@clisp.org>
81311         [BZ #12717]
81312         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81313         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81314         to 'int'.
81315         * inet/getnameinfo.c (getnameinfo): Likewise.
81317 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81319         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81320         to groups setting in database lookup.
81321         * nss/nsswitch.conf: Add initgroups entry.
81323 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81325         [BZ #12685]
81326         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81327         mode string.
81328         Patch by Eric Blake <eblake@redhat.com>.
81330 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81332         * sunrpc/Makefile (need-export-routines): Add svc_run.
81333         (routines): Remove svc_run.
81334         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81335         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81336         * sunrpc/svc_run.c (svc_run): Likewise.
81337         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81339 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81341         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81342         problem in reallocation in last patch.
81344 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81346         * sunrpc/Makefile: Move inclusion of Rules.
81348 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81350         * nss/nss_files/files-initgroups.c: New file.
81351         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81352         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81353         _nss_files_initgroups_dyn.
81355 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81357         * elf/elf.h (R_ARM_IRELATIVE): Define.
81359 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81361         * po/ru.po: Update from translation team.
81363 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81365         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81366         dependencies.
81368 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81370         [BZ #12653]
81371         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81372         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81374         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81375         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81377 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81379         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81380         differing bytes.
81381         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81382         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81383         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81385 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81387         [BZ #12420]
81388         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81389         storing it.
81390         * stdlib/bug-getcontext.c: New file.
81391         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81393 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81395         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81396         instructions into .machine "z9-109".
81397         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81398         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81400 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81402         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81403         between environment variables and auxiliary vector.
81405 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81407         * Makefile: Add rules to build linkobj/libc.so.
81408         * include/libc-symbols.h: Define libc_hidden_nolink.
81409         * include/rpc/auth.h: Mark functions which are to be hidden.
81410         * include/rpc/auth_des.h: Likewise.
81411         * include/rpc/auth_unix.h: Likewise.
81412         * include/rpc/clnt.h: Likewise.
81413         * include/rpc/des_crypt.h: Likewise.
81414         * include/rpc/key_prot.h: Likewise.
81415         * include/rpc/pmap_clnt.h: Likewise.
81416         * include/rpc/pmap_prot.h: Likewise.
81417         * include/rpc/pmap_rmt.h: Likewise.
81418         * include/rpc/rpc_msg.h: Likewise.
81419         * include/rpc/svc.h: Likewise.
81420         * include/rpc/svc_auth.h: Likewise.
81421         * include/rpc/xdr.h: Likewise.
81422         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81423         * nss/Makefile: Likewise.
81424         * sunrpc/Makefile: Don't install headers.  Build library with normal
81425         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81426         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81427         for the compat linking library.  Remove use of INTDEF/INTUSE.
81428         * sunrpc/auth_none.c: Likewise.
81429         * sunrpc/auth_unix.c: Likewise.
81430         * sunrpc/authdes_prot.c: Likewise.
81431         * sunrpc/authuxprot.c: Likewise.
81432         * sunrpc/clnt_gen.c: Likewise.
81433         * sunrpc/clnt_perr.c: Likewise.
81434         * sunrpc/clnt_raw.c: Likewise.
81435         * sunrpc/clnt_simp.c: Likewise.
81436         * sunrpc/clnt_tcp.c: Likewise.
81437         * sunrpc/clnt_udp.c: Likewise.
81438         * sunrpc/clnt_unix.c: Likewise.
81439         * sunrpc/des_crypt.c: Likewise.
81440         * sunrpc/des_soft.c: Likewise.
81441         * sunrpc/get_myaddr.c: Likewise.
81442         * sunrpc/key_call.c: Likewise.
81443         * sunrpc/key_prot.c: Likewise.
81444         * sunrpc/netname.c: Likewise.
81445         * sunrpc/pm_getmaps.c: Likewise.
81446         * sunrpc/pm_getport.c: Likewise.
81447         * sunrpc/pmap_clnt.c: Likewise.
81448         * sunrpc/pmap_prot.c: Likewise.
81449         * sunrpc/pmap_prot2.c: Likewise.
81450         * sunrpc/pmap_rmt.c: Likewise.
81451         * sunrpc/publickey.c: Likewise.
81452         * sunrpc/rpc_cmsg.c: Likewise.
81453         * sunrpc/rpc_common.c: Likewise.
81454         * sunrpc/rpc_dtable.c: Likewise.
81455         * sunrpc/rpc_prot.c: Likewise.
81456         * sunrpc/rpc_thread.c: Likewise.
81457         * sunrpc/rtime.c: Likewise.
81458         * sunrpc/svc.c: Likewise.
81459         * sunrpc/svc_auth.c: Likewise.
81460         * sunrpc/svc_authux.c: Likewise.
81461         * sunrpc/svc_raw.c: Likewise.
81462         * sunrpc/svc_run.c: Likewise.
81463         * sunrpc/svc_simple.c: Likewise.
81464         * sunrpc/svc_tcp.c: Likewise.
81465         * sunrpc/svc_udp.c: Likewise.
81466         * sunrpc/svc_unix.c: Likewise.
81467         * sunrpc/svcauth_des.c: Likewise.
81468         * sunrpc/xcrypt.c: Likewise.
81469         * sunrpc/xdr.c: Likewise.
81470         * sunrpc/xdr_array.c: Likewise.
81471         * sunrpc/xdr_float.c: Likewise.
81472         * sunrpc/xdr_intXX_t.c: Likewise.
81473         * sunrpc/xdr_mem.c: Likewise.
81474         * sunrpc/xdr_rec.c: Likewise.
81475         * sunrpc/xdr_ref.c: Likewise.
81476         * sunrpc/xdr_sizeof.c: Likewise.
81477         * sunrpc/xdr_stdio.c: Likewise.
81479 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81481         [BZ #12650]
81482         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81483         * sysdeps/ia64/dl-tls.h: Likewise.
81484         * sysdeps/powerpc/dl-tls.h: Likewise.
81485         * sysdeps/s390/dl-tls.h: Likewise.
81486         * sysdeps/sh/dl-tls.h: Likewise.
81487         * sysdeps/sparc/dl-tls.h: Likewise.
81488         * sysdeps/x86_64/dl-tls.h: Likewise.
81489         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81491 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81493         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81494         rpath element also skip the following colon.
81495         (expand_dynamic_string_token): Add is_path parameter and pass
81496         down to DL_DST_REQUIRED and _dl_dst_substitute.
81497         (decompose_rpath): Call expand_dynamic_string_token with
81498         non-zero is_path.  Ignore empty rpaths.
81499         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81500         with zero is_path.
81502 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81505         Make cancelable.
81507 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81509         [BZ #12655]
81510         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81511         Patch by Filipe David Manana <fdmanana@apache.org>.
81513 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81516         Maintain aligned stack.
81517         (CHECK_RSP): Remove unused macro.
81519 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81521         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81522         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81524 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81526         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81528         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81530 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81532         [BZ #12518]
81533         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81534         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81535         * sysdeps/x86_64/memmove.c: New file.
81536         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81537         (memcpy): Renamed to ...
81538         (__new_memcpy): This.
81539         (memcpy): Provide GLIBC_2_14 memcpy.
81540         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81541         (memcpy): Provide GLIBC_2_2_5 memcpy.
81543 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81545         [BZ #12631]
81546         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81548 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81550         * misc/syncfs.c: New file.
81551         * misc/Makefile (routines): Add syncfs.
81552         * posix/unistd.h: Declare syncfs.
81553         * sysdeps/unix/syscalls.list: Add syncfs.
81555 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81557         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81558         open_by_handle_at.
81559         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81560         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81562         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81563         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81564         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81565         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81567 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81570         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81571         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81573         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81575         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81577         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81578         sync_file_range.c with -fexceptions.
81579         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81580         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81581         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81582         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81583         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81584         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81585         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81586         sync_file_range as cancellation point
81587         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81588         now a wrapper around __call_sync_file_range with cancellation handling.
81589         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81590         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81591         function name to __call_sync_file_range.
81592         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81593         Add call_sync_file_range.
81595 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81598         bits/timex.h.
81600 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81602         * iconv/iconv.h: Fix typo in comment.
81603         * io/fcntl.h: Likewise.
81604         * libio/stdio.h: Likewise.
81605         * posix/spawn.h: Likewise.
81606         * posix/unistd.h: Likewise.
81607         * stdlib/stdlib.h: Likewise.
81608         * time/time.h: Likewise.
81609         * wcsmbs/wchar.h: Likewise.
81611         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81612         open_by_handle): Add.
81613         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81614         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81615         Augment a few comments.
81616         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81618         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81620         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81621         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81622         open_by_handle.
81624         * io/fcntl.h (AT_EMPTY_PATH): Define.
81626 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81628         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81629         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81630         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81631         to...
81632         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81633         * Versions.def: Add GLIBC_2.14.
81634         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81635         Export.
81637 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81639         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81640         round counter.
81641         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81643 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81645         [BZ #12597]
81646         * string/test-strncmp.c (do_page_test): New function.
81647         (check2): Likewise.
81648         (test_main): Call check2.
81649         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81651 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81653         [BZ #12587]
81654         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81655         Handle cache information in CPU leaf 4.
81656         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81658 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81660         [BZ #12583]
81661         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81662         character representation.
81663         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81665 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81667         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81668         END(__isnan) to END(__isnanf) to match function entry point/label
81669         EALIGN(__isnanf,...).
81671 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81673         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81675 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81677         [BZ #12510]
81678         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81679         copy from the symbol referenced in the relocation to initialize the
81680         used variable.
81681         Patch by Piotr Bury <pbury@goahead.com>.
81682         * elf/Makefile: Add rules to build and tst-unique3.
81683         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81684         * elf/tst-unique3.cc: New file.
81685         * elf/tst-unique3.h: New file.
81686         * elf/tst-unique3lib.cc: New file.
81687         * elf/tst-unique3lib2.cc: New file.
81689         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81691 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81693         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81694         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81695         to _start.
81697 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81699         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81700         to-be-loaded object along a path to loader is ld.so.
81702 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81703             Ulrich Drepper  <drepper@gmail.com>
81705         * sysdeps/x86_64/memset.S: After aligning destination, code
81706         branches to different locations depending on the value of
81707         misalignment, when multiarch is enabled. Fix this.
81709 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81711         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81712         Set _x86_64_preferred_memory_instruction for AMD processsors.
81713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81714         Set bit_Prefer_SSE_for_memop for AMD processors.
81716 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81718         * libio/fmemopen.c (fmemopen): Optimize a bit.
81720 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81722         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81724 2011-03-03  Roland McGrath  <roland@redhat.com>
81726         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81728 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81730         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81731         __bzero_ultra1 instead of __memset_ultra1.
81733 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81734             Ulrich Drepper  <drepper@gmail.com>
81736         [BZ #12509]
81737         * include/link.h (struct link_map): Add l_orig_initfini.
81738         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81739         returning unsuccessfully.
81740         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81741         close of a file loaded at startup, restore the original l_initfini
81742         list.
81743         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81744         list, store the pointer.
81745         * elf/Makefile ($(objpfx)noload-mem): New rule.
81746         (noload-ENV): Define.
81747         (tests): Add $(objpfx)noload-mem.
81748         * elf/noload.c: Include <memcheck.h>.
81749         (main): Call mtrace.  Close all opened handles.
81751 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81753         [BZ #12454]
81754         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81755         dependencies are missing.
81757 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81759         Fix __if_freereq crash: Unlike the generic version which uses free,
81760         Hurd needs munmap.
81761         * sysdeps/mach/hurd/ifreq.h: New file.
81763 2011-01-27  Petr Baudis  <pasky@suse.cz>
81764             Ulrich Drepper  <drepper@gmail.com>
81766         [BZ 12445]#
81767         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81768         to extend_alloca().
81769         * stdio-common/bug23.c: New file.
81770         * stdio-common/Makefile (tests): Add bug23.
81772 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81773             Ulrich Drepper  <drepper@gmail.com>
81775         [BZ #12489]
81776         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81777         before performing relro protection.  At old place add assertion
81778         to make sure nothing changed.
81780 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81781             Glauber de Oliveira Costa  <glommer@gmail.com>
81783         * elf/elf.h: Add new ARM TLS relocs.
81785 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81788         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81789         cast from r3.
81790         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81791         'tests' variable.
81792         * sysdeps/wordsize-64/tst-writev.c: New file.
81794 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81796         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81797         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81798         insns in _dl_start to prevent a TOC reference before relocs are
81799         resolved.
81801 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81803         [BZ #12469]
81804         * Makeconfig: Remove RANLIB definition.
81805         * Makerules: Don't use RANLIB.
81806         * aclocal.m4: Remove ranlib test.
81807         * configure.in: No need to check for ranlib.
81808         * elf/rtld-Rules: Don't use RANLIB.
81810 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81812         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81813         protection macro.
81814         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81815         inclusion protection macro.
81817         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81818         SIGRTMIN and SIGRTMAX and print information in that case only when
81819         SIGRTMIN is defined.
81821 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81823         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81824         arginfo fn returning -1.
81826         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81827         and thousands string is zero terminated.
81829 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81832         sysdeps/unix/sysv/linux/bits/socket.h.
81834 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81836         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81837         (__CPU_COUNT): Remove old macros.
81838         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81839         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81840         (__CPU_ALLOC, __CPU_FREE): Add macros.
81841         (__sched_cpualloc, __sched_cpufree): Add declarations.
81843 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81845         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81846         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81847         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81848         (readdhstai): Return value of addhstaiX call.
81849         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81850         (addgrbyX): Return value returned by cache_addgr.
81851         (readdgrbyname): Return value returned by addgrbyX.
81852         (readdgrbygid): Likewise.
81853         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81854         (addpwbyX): Return value returned by cache_addpw.
81855         (readdpwbyname): Return value returned by addhstbyX.
81856         (readdpwbyuid): Likewise.
81857         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81858         (addservbyX): Return value returned by cache_addserv.
81859         (readdservbyname): Return value returned by addservbyX:
81860         (readdservbyport): Likewise.
81861         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81862         (addhstbyX): Return value returned by cache_addhst.
81863         (readdhstbyname): Return value returned by addhstbyX.
81864         (readdhstbyaddr): Likewise.
81865         (readdhstbynamev6): Likewise.
81866         (readdhstbyaddrv6): Likewise.
81867         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81868         (readdinitgroups): Return value returned by addinitgroupsX.
81869         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81870         (prune_cache): Keep track of timeout value of re-added entries.
81871         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81872         * nscd/nscd.h: Adjust prototypes of readd* functions.
81874 2011-02-04  Roland McGrath  <roland@redhat.com>
81876         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81877         (nis_stats): Likewise.
81878         * nis/nis_modify.c (nis_modify): Likewise.
81879         * nis/nis_remove.c (nis_remove): Likewise.
81880         * nis/nis_add.c (nis_add): Likewise.
81882         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81884         * posix/fnmatch_loop.c: Add some consts.
81886         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81888 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81890         [BZ #12460]
81891         * config.make.in (config-cflags-novzeroupper): Define.
81892         * configure.in: Substitute libc_cv_cc_novzeroupper.
81893         * elf/Makefile (AVX-CFLAGS): Define.
81894         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81895         (CFLAGS-tst-auditmod4a.c): Likewise.
81896         (CFLAGS-tst-auditmod4b.c): Likewise.
81897         (CFLAGS-tst-auditmod6b.c): Likewise.
81898         (CFLAGS-tst-auditmod6c.c): Likewise.
81899         (CFLAGS-tst-auditmod7b.c): Likewise.
81900         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81902 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81904         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81905         function to the callback.
81906         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81908 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81910         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81911         of errno.
81913 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81915         [BZ #11724]
81916         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81917         of constructors.
81918         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81919         of destructors.
81920         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81922         [BZ #11724]
81923         * elf/Makefile: Add rules to build and run new test.
81924         * elf/tst-initorder.c: New file.
81925         * elf/tst-initorder.exp: New file.
81926         * elf/tst-initordera1.c: New file.
81927         * elf/tst-initordera2.c: New file.
81928         * elf/tst-initordera3.c: New file.
81929         * elf/tst-initordera4.c: New file.
81930         * elf/tst-initorderb1.c: New file.
81931         * elf/tst-initorderb2.c: New file.
81932         * elf/tst-order-a1.c: New file.
81933         * elf/tst-order-a2.c: New file.
81934         * elf/tst-order-a3.c: New file.
81935         * elf/tst-order-a4.c: New file.
81936         * elf/tst-order-b1.c: New file.
81937         * elf/tst-order-b2.c: New file.
81938         * elf/tst-order-main.c: New file.
81939         New test case by George Gensure <werkt0@gmail.com>.
81941 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81944         decoding ACE if AI_CANONIDN.
81946 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81948         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81950 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81952         * version.h (RELEASE): Bump for 2.13 release.
81953         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81955         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81957         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81958         MADV_NOHUGEPAGE.
81959         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81961         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81963         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81964         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81966         * posix/getconf.c: Update copyright year.
81967         * catgets/gencat.c: Likewise.
81968         * csu/version.c: Likewise.
81969         * debug/catchsegv.sh: Likewise.
81970         * debug/xtrace.sh: Likewise.
81971         * elf/ldconfig.c: Likewise.
81972         * elf/ldd.bash.in: Likewise.
81973         * elf/sprof.c (print_version): Likewise.
81974         * iconv/iconv_prog.c: Likewise.
81975         * iconv/iconvconfig.c: Likewise.
81976         * locale/programs/locale.c: Likewise.
81977         * locale/programs/localedef.c: Likewise.
81978         * malloc/memusage.sh: Likewise.
81979         * malloc/mtrace.pl: Likewise.
81980         * nscd/nscd.c (print_version): Likewise.
81981         * nss/getent.c: Likewise.
81983         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81984         PF_CAIF, and PF_ALG.
81985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81987 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81989         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81990         (modules-names): Use them.
81991         (ifunc-test-modules, ifunc-pie-tests): Define.
81992         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81993         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81994         (test-extras): Likewise.
81995         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81996         $(compile-command.c).
81997         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81998         (all-built-dso): Define.
81999         (check-textrel.out, check-execstack.out): Depend on it.
82001         * configure.in: Don't override --enable-multi-arch.
82003 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82005         [BZ #6812]
82006         * nscd/hstcache.c (tryagain): Define.
82007         (cache_addhst): Return tryagain not notfound for temporary errors.
82008         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82009         failed.
82011 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82013         [BZ #10563]
82014         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82015         to make the syscall.
82016         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82018         [BZ #12378]
82019         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82020         and fall back to matching as normal character if the string ends before
82021         the matching ']' is found.  This is what POSIX requires.
82022         * posix/testfnm.c: Adjust test result.
82023         * posix/globtest.sh: Adjust test result.  Add new test.
82024         * posix/tst-fnmatch.input: Likewise.
82025         * posix/tst-fnmatch2.c: Add new test.
82027 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82029         * elf/Makefile (check-execstack): Revert last change.  Depend on
82030         check-execstack.h.
82031         (check-execstack.h): New target.
82032         (generated): Add check-execstack.h.
82033         * elf/check-execstack.c: Include "check-execstack.h".
82034         (main): Revert last change.
82035         (handle_file): Return zero if GNU_STACK is absent and
82036         DEFAULT_STACK_PERMS doesn't include PF_X.
82038 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82040         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82041         in child fails because the descriptor is already closed.
82042         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82043         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82044         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82046         [BZ #12397]
82047         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82048         syscall.
82050         [BZ #10484]
82051         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82052         temporary buffer used to handle multi lookups locally.
82053         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82055 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82057         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82058         loader is ld.so.
82060 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82062         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82063         alignment for SSE2.
82065 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82067         [BZ #12394]
82068         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82069         characters.  When rounding increased number of integer digits recompute
82070         number of groups.
82071         * stdio-common/tst-grouping.c: New file.
82072         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82074 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82076         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82077         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82079         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82080         void.
82081         * bits/select.h: Likewise.
82083 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82085         * po/ja.po: Update from translation team.
82087 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82089         [BZ #11155]
82090         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82091         implementation just like for lxstat, fxstatat, et al.
82093 2010-12-27  Jim Meyering  <meyering@redhat.com>
82095         [BZ #12348]
82096         * posix/regexec.c (build_trtable): Return failure indication upon
82097         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82099 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82101         [BZ #12201]
82102         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82103         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82104         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82105         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82107         [BZ #12207]
82108         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82110         [BZ #12204]
82111         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82112         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82114 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82116         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82117         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82118         script has SORT_BY_INIT_PRIORITY.
82119         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82120         NO_CTORS_DTORS_SECTIONS is defined.
82121         * elf/soinit.c: Likewise.
82122         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82123         NO_CTORS_DTORS_SECTIONS is defined.
82124         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82125         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82126         * sysdeps/sh/init-first.c: Likewise.
82127         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82129 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82131         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82132         always use the slow path.
82134 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82136         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82137         similar rule which adds the sysdep directories to the header search in
82138         order to pick up the correct platform stackinfo.h.
82139         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82140         perform test if it is, otherwise return successfully without testing.
82141         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82142         DEFAULT_STACK_PERMS define in stackinfo.h.
82143         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82144         defined in stackinfo.h.
82145         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82146         DEFAULT_STACK_PERMS defined in stackinfo.h.
82147         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82148         * sysdeps/ia64/stackinfo.h: Likewise.
82149         * sysdeps/s390/stackinfo.h: Likewise.
82150         * sysdeps/sh/stackinfo.h: Likewise.
82151         * sysdeps/sparc/stackinfo.h: Likewise.
82152         * sysdeps/x86_64/stackinfo.h: Likewise.
82153         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82154         PF_X for powerpc64.  Retain PF_X for powerpc32.
82156 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82158         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82159         accurately.
82160         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82161         GETDENTS_64BIT_ALIGNED.
82163 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82165         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82167 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82169         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82170         _GNU_SOURCE.
82172         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82173         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82174         Remove __restrict.
82175         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82176         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82178 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82180         [BZ #11655]
82181         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82182         are initialized.
82184 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82186         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82188 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82190         * po/it.po: Update from translation team.
82192 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82195         unused codes.
82197 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82199         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82201 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82203         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82204         specially.
82205         (gaih_getanswer_slice): Likewise.
82207 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82211 2010-05-31  Petr Baudis  <pasky@suse.cz>
82213         [BZ #11149]
82214         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82215         silently even in the chroot mode.
82217 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82219         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82220         last patch a bit.  Pretty printing
82222 2010-05-31  Petr Baudis <pasky@suse.cz>
82224         [BZ #10085]
82225         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82226         initialization of skip_initgroups_dyn.
82228 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82230         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82231         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82233 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82235         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82237 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82239         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82240         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82241         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82242         ($(objpfx)tst-fnmatch-mem): New rule.
82243         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82244         * posix/tst-fnmatch.c (main): Call mtrace.
82246 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82249         Support Intel processor model 6 and model 0x2c.
82251 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82254           signed comparison.
82256 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82258         [BZ #12205]
82259         * string/test-strncasecmp.c (check_result): New function.
82260         (do_one_test): Use it.
82261         (check1): New function.
82262         (test_main): Use it.
82263         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82264         Support strcasecmp and strncasecmp.
82266 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82268         [BZ #12194]
82269         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82270         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82272 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82274         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82275         IFUNC support.
82276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82277         memset-x86-64.
82278         * sysdeps/x86_64/multiarch/bzero.S: New file.
82279         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82280         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82281         * sysdeps/x86_64/multiarch/memset.S: New file.
82282         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82284         Set bit_Prefer_SSE_for_memop for Intel processors.
82285         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82286         Define.
82287         (index_Prefer_SSE_for_memop): Define.
82288         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82290 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82292         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82293         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82295 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82297         [BZ #12191]
82298         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82299         (__x86_64_raw_data_cache_size_half): Likewise.
82300         (__x86_64_raw_shared_cache_size): Likewise.
82301         (__x86_64_raw_shared_cache_size_half): Likewise.
82303         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82304         (__x86_64_raw_data_cache_size_half): Likewise.
82305         (__x86_64_raw_shared_cache_size): Likewise.
82306         (__x86_64_raw_shared_cache_size_half): Likewise.
82307         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82308         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82309         and __x86_64_raw_shared_cache_size_half.  Round
82310         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82311         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82312         to multiple of 256 bytes.
82314 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82316         [BZ #12167]
82317         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82318         of inacessible symlinks.  Verify result of symlink before returning it.
82319         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82320         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82322 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82324         * math/math.h (isinf): Fix typo in comment.
82326 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82328         * po/da.po: Update from translation team.
82330 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82332         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82333         is added to the list.
82335 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82336             Ulrich Drepper  <drepper@gmail.com>
82338         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82339         the global list here.  Move code to...
82340         (_dl_add_to_namespace_list): ...here.  New function.
82341         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82342         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82343         * elf/dl-load.c (lose): Don't remove the element from the list.
82344         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82345         (_dl_map_object): Likewise.
82347 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82349         [BZ #12159]
82350         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82351         into all bytes of SSE register.
82352         Patch by Richard Li <richardpku@gmail.com>.
82354 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82356         [BZ #12140]
82357         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82358         perturbing.
82360 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82362         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82363         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82364         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82365         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82367         submachine.
82368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82370 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82372         * include/dlfcn.h (__RTLD_SECURE): Define.
82373         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82374         mode & __RTLD_SECURE instead.
82375         (open_path): Rename preloaded parameter to secure.
82376         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82377         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82378         * elf/dl-deps.c (openaux): Likewise.
82379         * elf/rtld.c (struct map_args): Remove is_preloaded.
82380         (map_doit): Don't use it.
82381         (dl_main): Likewise.
82382         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82383         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82385 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82387         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82388         (sysd-rules-targets): Remove duplicates.
82389         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82390         rtld-%.$o dependency.
82392 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82394         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82395         _dl_map_object do it.
82397 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82399         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82400         fast fma builtins, define the macros in the C99 standard.
82401         (FP_FAST_FMAF): Likewise.
82402         (FP_FAST_FMAL): Likewise.
82403         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82405         * bits/mathdef.h: Update copyright year.
82406         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82408 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82410         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82411         builtins, define the macros in the C99 standard.
82412         (FP_FAST_FMAF): Likewise.
82413         (FP_FAST_FMAL): Likewise.
82414         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82415         multiply/add.
82416         (FP_FAST_FMAF): Likewise.
82418 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82420         [BZ #3268]
82421         * math/libm-test.inc (fma_test): Some new testcases.
82422         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82424         y and infinite z.  Do multiplication by C already in long double.
82425         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82427         y and infinite z.  Do bitwise or of inexact bit into u.d.
82428         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82429         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82430         * sysdeps/i386/fpu/s_fma.S: Removed.
82431         * sysdeps/i386/fpu/s_fmal.S: Removed.
82433 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82435         [BZ #3268]
82436         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82438         computation is not scheduled after fetestexcept.  Fix value
82439         of minimum denormal long double.
82441 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82443         [BZ #3268]
82444         * math/libm-test.inc (fma_test): Add some more tests.
82445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82446         correctly.
82448 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82450         * scripts/data/localplt-s390-linux-gnu.data: New file.
82451         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82453 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82455         [BZ #3268]
82456         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82457         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82458         instead of dbl-64.
82459         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82460         inlines.
82461         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82463         if one of x and y is very large and the other is subnormal.
82464         * sysdeps/s390/fpu/s_fmaf.c: New file.
82465         * sysdeps/s390/fpu/s_fma.c: New file.
82466         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82467         * sysdeps/powerpc/fpu/s_fma.S: New file.
82468         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82469         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82470         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82472 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82474         [BZ #3268]
82475         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82476         fma tests.
82477         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82478         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82479         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82480         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82481         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82482         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82483         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82485 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82487         [BZ #12078]
82488         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82489         * posix/bug-regex31.input: Add test case.
82491 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82493         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82494         * posix/bug-regex31.input: New file.
82496         [BZ #12078]
82497         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82498         (parse_sub_exp): Fix last change, use postorder.
82500         * posix/bug-regex31.c: New file.
82501         * posix/Makefile: Add rules to build and run bug-regex31.
82503         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82505         [BZ #12078]
82506         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82508         [BZ #12108]
82509         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82510         to have entries in sys_siglist.
82512         [BZ #12093]
82513         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82514         be NULL.
82516 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82518         [BZ #3268]
82519         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82520         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82521         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82522         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82523         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82524         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82525         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82526         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82527         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82528         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82529         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82530         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82531         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82532         * math/ftestexcept.c (fetestexcept): Likewise.
82533         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82534         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82535         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82536         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82537         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82538         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82539         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82541 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82543         [BZ #12107]
82544         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82545         newline.
82547 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82549         * string/bug-strstr1.c: New file.
82550         * string/Makefile: Add rules to build and run bug-strstr1.
82552 2010-10-05  Eric Blake  <eblake@redhat.com>
82554         [BZ #12092]
82555         * string/str-two-way.h (two_way_long_needle): Always clear memory
82556         when skipping input due to the shift table.
82558 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82560         [BZ #12005]
82561         * malloc/mcheck.c: Handle large requests.
82563         [BZ #12077]
82564         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82565         for strncmp and strncasecmp.
82566         * string/stratcliff.c: Add tests for strcmp and strncmp.
82567         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82569 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82571         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82572         __set_fpscr.
82574 2010-09-30  Andreas Jaeger  <aj@suse.de>
82576         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82577         (CGROUP_SUPER_MAGIC): Define.
82578         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82579         Handle btrfs and cgroup file systems.
82580         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82581         Likewise.
82583 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82585         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82586         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82588 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82590         [BZ #12067]
82591         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82592         trying to locate the ELF header.
82594 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82596         [BZ #11611]
82597         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82598         Mask out sign-bit copies when constructing f_fsid.
82600 2010-09-24  Petr Baudis <pasky@suse.cz>
82602         * debug/stack_chk_fail_local.c: Add missing licence exception.
82603         * debug/warning-nop.c: Likewise.
82605 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82607         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82608         implementing getdents64 using getdents syscall, set d_type if
82609         __ASSUME_GETDENTS32_D_TYPE.
82611 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82613         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82614         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82616 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82618         [BZ #12037]
82619         * posix/unistd.h: Undo change of feature selection for ftruncate from
82620         2010-01-11.
82622 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82624         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82625         detection.
82627 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82629         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82630         fanotify_mark.
82631         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82633 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82635         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82636         variables after CHECK_SP call.
82637         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82639 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82640             Ulrich Drepper  <drepper@redhat.com>
82642         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82643         re-relocationg ld.so.
82644         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82645         _dl_init_paths call.
82646         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82647         here anymore.
82649 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82651         * resolv/res_init.c (__res_vinit): Count the default server we added.
82653 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82654             Ulrich Drepper  <drepper@redhat.com>
82656         [BZ #11968]
82657         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82658         (____longjmp_chk): Use %ebx for saving value across system call.
82659         Add unwind info.
82661 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82663         * manual/Makefile: Don't mix pattern rules with normal rules.
82665 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82667         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82668         operation.
82669         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82670         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82671         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82672         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82674         Likewise.
82676 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82678         [BZ #11979]
82679         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82680         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82682 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82684         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82685         * sysdeps/x86_64/addmul_1.S: Likewise.
82686         * sysdeps/x86_64/lshift.S: Likewise.
82687         * sysdeps/x86_64/mul_1.S: Likewise.
82688         * sysdeps/x86_64/rshift.S: Likewise.
82689         * sysdeps/x86_64/sub_n.S: Likewise.
82690         * sysdeps/x86_64/submul_1.S: Likewise.
82692 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82694         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82695         Define __sched_param instead of SCHED_* and sched_param when
82696         <bits/sched.h> is included with __need_schedparam defined.
82697         * bits/sched.h [__need_schedparam]
82698         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82699         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82700         (__defined_schedparam): Define to 1.
82701         (__sched_param): New structure, identical to sched_param.
82702         (__need_schedparam): Undefine.
82704 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82706         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82707         (epoll_create1): Declare.
82709         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82711 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82713         [BZ #7066]
82714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82715         shifting retval into place.
82717 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82719         * nis/rpcsvc/nis.h: Update copyright notice.
82720         * nis/rpcsvc/nis.x: Likewise.
82721         * nis/rpcsvc/nis_callback.h: Likewise.
82722         * nis/rpcsvc/nis_callback.x: Likewise.
82723         * nis/rpcsvc/nis_object.x: Likewise.
82724         * nis/rpcsvc/nis_tags.h: Likewise.
82725         * nis/rpcsvc/yp.h: Likewise.
82726         * nis/rpcsvc/yp.x: Likewise.
82727         * nis/rpcsvc/ypupd.h: Likewise.
82728         * nis/yp_xdr.c: Likewise.
82729         * nis/ypupdate_xdr.c: Likewise.
82731         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82732         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82733         (pmap_getport): Use __libc_rpc_getport.
82734         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82735         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82736         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82738 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82741         fanotify_mark.
82743 2010-08-27  Roland McGrath  <roland@redhat.com>
82745         * sysdeps/i386/i686/multiarch/Makefile
82746         (CFLAGS-varshift.c): New variable.
82748 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82750         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82751         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82755         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82757 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82759         * sysdeps/x86_64/strlen.S: Unroll the loop.
82760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82761         strlen-sse2 strlen-sse2-bsf.
82762         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82763         __strlen_no_bsf if bit_Slow_BSF is set.
82764         (__strlen_sse42): Removed.
82765         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82766         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82768 2010-08-25  Roland McGrath  <roland@redhat.com>
82770         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82771         * sysdeps/x86_64/multiarch/varshift.c: New file.
82772         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82773         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82774         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82775         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82777 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82780         strlen-sse2 strlen-sse2-bsf.
82781         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82782         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82783         (__strlen_sse2): Removed.
82784         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82785         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82787         bit_Slow_BSF for Atom.
82788         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82789         (index_Slow_BSF): Define.
82790         (HAS_SLOW_BSF): Define.
82792 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82794         [BZ #10851]
82795         * resolv/res_init.c (__res_vinit): When no server address at all
82796         is given default to loopback.
82798 2010-08-24  Roland McGrath  <roland@redhat.com>
82800         * configure.in: Remove config-name.h generation.
82801         * configure: Regenerated.
82802         * config-name.in: File removed.
82803         * scripts/config-uname.sh: New file.
82804         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82805         ($(objdir)config-name.h): New target.
82807         * sunrpc/rpc_parse.h: Avoid nested comment.
82809 2010-08-24  Richard Henderson  <rth@redhat.com>
82810             Ulrich Drepper  <drepper@redhat.com>
82811             H.J. Lu  <hongjiu.lu@intel.com>
82813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82815         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82816         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82817         _mm_alignr_epi8 with _mm_loadu_si128.
82818         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82819         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82820         (__m128i_shift_right): Removed.
82821         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82822         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82823         * sysdeps/x86_64/multiarch/varshift.h: New file.
82824         * sysdeps/x86_64/multiarch/varshift.S: New file.
82826 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82828         * configure.in: Move assembler checks to before sysdep dir checking.
82830 2010-08-20  Petr Baudis  <pasky@suse.cz>
82832         * LICENSES: Sync the sunrpc license.
82834 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82836         * sunrpc/auth_des.c: Update copyright notice once again.
82837         * sunrpc/auth_none.c: Likewise.
82838         * sunrpc/auth_unix.c: Likewise.
82839         * sunrpc/authdes_prot.c: Likewise.
82840         * sunrpc/authuxprot.c: Likewise.
82841         * sunrpc/bindrsvprt.c: Likewise.
82842         * sunrpc/clnt_gen.c: Likewise.
82843         * sunrpc/clnt_perr.c: Likewise.
82844         * sunrpc/clnt_raw.c: Likewise.
82845         * sunrpc/clnt_simp.c: Likewise.
82846         * sunrpc/clnt_tcp.c: Likewise.
82847         * sunrpc/clnt_udp.c: Likewise.
82848         * sunrpc/clnt_unix.c: Likewise.
82849         * sunrpc/des_crypt.c: Likewise.
82850         * sunrpc/des_soft.c: Likewise.
82851         * sunrpc/get_myaddr.c: Likewise.
82852         * sunrpc/getrpcport.c: Likewise.
82853         * sunrpc/key_call.c: Likewise.
82854         * sunrpc/key_prot.c: Likewise.
82855         * sunrpc/openchild.c: Likewise.
82856         * sunrpc/pm_getmaps.c: Likewise.
82857         * sunrpc/pm_getport.c: Likewise.
82858         * sunrpc/pmap_clnt.c: Likewise.
82859         * sunrpc/pmap_prot.c: Likewise.
82860         * sunrpc/pmap_prot2.c: Likewise.
82861         * sunrpc/pmap_rmt.c: Likewise.
82862         * sunrpc/rpc/auth.h: Likewise.
82863         * sunrpc/rpc/auth_unix.h: Likewise.
82864         * sunrpc/rpc/clnt.h: Likewise.
82865         * sunrpc/rpc/des_crypt.h: Likewise.
82866         * sunrpc/rpc/key_prot.h: Likewise.
82867         * sunrpc/rpc/netdb.h: Likewise.
82868         * sunrpc/rpc/pmap_clnt.h: Likewise.
82869         * sunrpc/rpc/pmap_prot.h: Likewise.
82870         * sunrpc/rpc/pmap_rmt.h: Likewise.
82871         * sunrpc/rpc/rpc.h: Likewise.
82872         * sunrpc/rpc/rpc_des.h: Likewise.
82873         * sunrpc/rpc/rpc_msg.h: Likewise.
82874         * sunrpc/rpc/svc.h: Likewise.
82875         * sunrpc/rpc/svc_auth.h: Likewise.
82876         * sunrpc/rpc/types.h: Likewise.
82877         * sunrpc/rpc/xdr.h: Likewise.
82878         * sunrpc/rpc_clntout.c: Likewise.
82879         * sunrpc/rpc_cmsg.c: Likewise.
82880         * sunrpc/rpc_common.c: Likewise.
82881         * sunrpc/rpc_cout.c: Likewise.
82882         * sunrpc/rpc_dtable.c: Likewise.
82883         * sunrpc/rpc_hout.c: Likewise.
82884         * sunrpc/rpc_main.c: Likewise.
82885         * sunrpc/rpc_parse.c: Likewise.
82886         * sunrpc/rpc_parse.h: Likewise.
82887         * sunrpc/rpc_prot.c: Likewise.
82888         * sunrpc/rpc_sample.c: Likewise.
82889         * sunrpc/rpc_scan.c: Likewise.
82890         * sunrpc/rpc_scan.h: Likewise.
82891         * sunrpc/rpc_svcout.c: Likewise.
82892         * sunrpc/rpc_tblout.c: Likewise.
82893         * sunrpc/rpc_util.c: Likewise.
82894         * sunrpc/rpc_util.h: Likewise.
82895         * sunrpc/rpcinfo.c: Likewise.
82896         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82897         * sunrpc/rpcsvc/key_prot.x: Likewise.
82898         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82899         * sunrpc/rpcsvc/mount.x: Likewise.
82900         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82901         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82902         * sunrpc/rpcsvc/rex.x: Likewise.
82903         * sunrpc/rpcsvc/rstat.x: Likewise.
82904         * sunrpc/rpcsvc/rusers.x: Likewise.
82905         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82906         * sunrpc/rpcsvc/spray.x: Likewise.
82907         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82908         * sunrpc/rtime.c: Likewise.
82909         * sunrpc/svc.c: Likewise.
82910         * sunrpc/svc_auth.c: Likewise.
82911         * sunrpc/svc_authux.c: Likewise.
82912         * sunrpc/svc_raw.c: Likewise.
82913         * sunrpc/svc_run.c: Likewise.
82914         * sunrpc/svc_simple.c: Likewise.
82915         * sunrpc/svc_tcp.c: Likewise.
82916         * sunrpc/svc_udp.c: Likewise.
82917         * sunrpc/svc_unix.c: Likewise.
82918         * sunrpc/svcauth_des.c: Likewise.
82919         * sunrpc/xcrypt.c: Likewise.
82920         * sunrpc/xdr.c: Likewise.
82921         * sunrpc/xdr_array.c: Likewise.
82922         * sunrpc/xdr_float.c: Likewise.
82923         * sunrpc/xdr_mem.c: Likewise.
82924         * sunrpc/xdr_rec.c: Likewise.
82925         * sunrpc/xdr_ref.c: Likewise.
82926         * sunrpc/xdr_sizeof.c: Likewise.
82927         * sunrpc/xdr_stdio.c: Likewise.
82929         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82930         handling.
82932 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82934         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82936 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82938         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82939         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82940         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82941         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82942         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82943         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82944         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82945         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82946         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82947         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82948         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82949         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82950         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82951         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82953 2010-07-26  Anton Blanchard  <anton@samba.org>
82955         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82956         * malloc/arena.c (heap_trim): Likewise.
82958 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82960         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82961         here.  Not...
82962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82963         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82965 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82967         * sysdeps/i386/elf/Makefile: New file.
82969 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82971         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82972         from fanotify_init.
82973         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82974         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82976 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82978         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82979         of strncasecmp_l.
82980         * sysdeps/multiarch/strcmp.S: Likewise.
82982 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82984         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82985         strncase_l-nonascii.
82986         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82987         Add strncase_l-ssse3.
82988         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82989         * sysdeps/x86_64/strcmp.S: Likewise.
82990         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82991         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82992         * sysdeps/x86_64/strncase.S: New file.
82993         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82994         * sysdeps/x86_64/strncase_l.S: New file.
82995         * string/Makefile (strop-tests): Add strncasecmp.
82996         * string/test-strncasecmp.c: New file.
82998         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82999         warning.
83001         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83002         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83004 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83006         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83008 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83010         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83011         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83012         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83014 2010-05-01  Alan Modra  <amodra@gmail.com>
83016         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83017         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83018         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83019         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83020         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83021         tidying.  Don't tail-call __sigjmp_save for static lib.
83022         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83023         save location.
83024         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83025         (CALL_MCOUNT): Add eh info, and nop after bl.
83026         (TAIL_CALL_SYSCALL_ERROR): New macro.
83027         (PSEUDO_RET): Use it.
83028         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83029         Correct save location of integer regs and cr.
83030         (_dl_profile_resolve): Correct cr save location.  Delete nops
83031         after bl when SHARED.  Reduce cfi size a little by better
83032         placement of cfi directives.
83033         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83034         make a stack frame.  Instead use parm save area as a temp.
83035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83036         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83038         Don't make a stack frame for parent, use parm save area.
83039         Increase child stack frame to 112 bytes.  Don't save unused reg,
83040         and adjust reg usage.  Set up cfi on error recovery and
83041         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83043         (__makecontext): Add dummy nop after jump to exit.
83044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83045         Use correct parm save area and cr save, reduce stack frame.
83046         Correct cfi for possible PSEUDO_RET frame setup.
83047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83048         Branch to local label emitted by PSEUDO_RET rather than
83049         __syscall_error.
83051 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83053         [BZ #11904]
83054         * locale/programs/locale.c (print_assignment): New function.
83055         (show_locale_vars): Use it.
83057 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83059         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83060         field.
83061         (struct statfs64): Likewise.
83062         (_STATFS_F_FLAGS): Define.
83063         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83064         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83065         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83066         (ST_VALID): Define locally.
83067         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83068         __statvfs_getflags, use the provided value.
83069         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83070         __ASSUME_STATFS_F_FLAGS.
83072         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83074         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83075         Add sys/fanotify.h.
83076         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83077         fanotify_mask for GLIBC_2.13.
83078         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83079         fanotify_init and fanotify_mark.
83080         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83081         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83083         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83084         Add prlimit.
83085         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83086         prlimit64 for GLIBC_2.13.
83087         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83088         prlimit64.
83089         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83090         syscall.
83091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83093         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83094         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83096         add prlimit alias.
83097         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83099         [BZ #11903]
83100         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83101         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83103         * nss/Makefile: Add rules to build and run tst-nss-test1.
83104         * shlib-versions: Add entry for libnss_test1.
83105         * nss/nss_test1.c: New file.
83106         * nss/tst-nss-test1.c: New file.
83108         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83109         (__nss_configure_lookup): Set appropriate entry in
83110         __nss_configure_lookup to true.
83111         * nss/nsswitch.h: Define enum with indeces of databases in
83112         databases and __nss_database_custom arrays.  Declare
83113         __nss_database_custom.
83114         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83115         to avoid using nscd when custom rules are installed.
83116         * nss/getXXbyYY_r.c: Likewise.
83117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83119         * nss/nss_files/files-parse.c: Whitespace fixes.
83121 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83123         [BZ #11883]
83124         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83125         * posix/fnmatch_loop.c: Likewise.
83127 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83129         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83130         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83131         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83132         * Versions.def [GLIBC_2.13]: Add.
83134 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83136         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83137         Also fail if tpwd after pwuid call is NULL.
83139 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83141         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83142         when converting to ms.
83144 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83146         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83147         EOPNOTSUPP errors with ENOTTY.
83148         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83149         EOPNOTSUPP errors with ENOTTY.
83151 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83153         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83154         Add strcasecmp_l-ssse3.
83155         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83156         strcasecmp.
83157         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83158         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83159         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83161 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83163         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83165         * string/Makefile (strop-tests): Add strcasecmp.
83166         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83167         strcasecmp_l-nonascii.
83168         (gen-as-const-headers): Add locale-defines.sym.
83169         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83170         * sysdeps/x86_64/strcasecmp.S: New file.
83171         * sysdeps/x86_64/strcasecmp_l.S: New file.
83172         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83173         * sysdeps/x86_64/locale-defines.sym: New file.
83174         * string/test-strcasecmp.c: New file.
83176         * string/test-strcasestr.c: Test both ends of the range of characters.
83177         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83179 2010-07-29  Roland McGrath  <roland@redhat.com>
83181         [BZ #11856]
83182         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83184 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83186         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83187         for ld.so.
83189 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83191         * manual/memory.texi (Malloc Tunable Parameters): Document
83192         M_PERTURB.
83194 2010-07-26  Roland McGrath  <roland@redhat.com>
83196         [BZ #11840]
83197         * configure.in (-fgnu89-inline check): Set and substitute
83198         gnu89_inline, not libc_cv_gnu89_inline.
83199         * configure: Regenerated.
83200         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83202 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83204         * string/test-strnlen.c: New file.
83205         * string/Makefile (strop-tests): Add strnlen.
83206         * string/tester.c (test_strnlen): Add a few more test cases.
83207         * string/tst-strlen.c: Better error reporting.
83209         * sysdeps/x86_64/strnlen.S: New file.
83211 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83213         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83214         lower-latency instructions.
83216 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83218         * string/test-strcasestr.c: New file.
83219         * string/test-strstr.c: New file.
83220         * string/Makefile (strop-tests): Add strstr and strcasestr.
83221         * string/str-two-way.h: Don't undefine MAX.
83222         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83224 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83227         strcasestr-nonascii.
83228         (CFLAGS-strcasestr-nonascii.c): Define.
83229         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83230         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83231         Remove unused attribute.
83233 2010-07-20  Roland McGrath  <roland@redhat.com>
83235         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83236         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83237         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83238         like LD_HWCAP_MASK can disable hwcaps.
83240 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83242         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83244 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83246         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83247         call in strcasestr.
83248         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83249         __strcasestr_sse42_nonascii.
83250         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83251         strcasestr-nonascii.c.
83252         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83254 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83256         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83257         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83258         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83259         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83261 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83263         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83264         fcntl.
83266 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83268         [BZ #11577]
83269         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83270         dl_signal_cerror.
83272 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83274         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83275         _PC_PIPE_BUF using F_GETPIPE_SZ.
83277 2010-07-05  Roland McGrath  <roland@redhat.com>
83279         * manual/arith.texi (Rounding Functions): Fix rint description
83280         implicit in round description.
83282 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83284         * elf/Makefile: Fix linking for a few tests to make recent linker
83285         happy.
83287 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83289         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83290         $(common-objpfx)libc_nonshared.a.
83292 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83294         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83295         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83296         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83297         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83298         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83299         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83300         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83301         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83316         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83317         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83318         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83319         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83320         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83321         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83322         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83323         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83324         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83325         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83326         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83327         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83343 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83345         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83346         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83347         * string/memmove.c (memmove): Renamed to ...
83348         (MEMMOVE): ...this.  Default to memmove.
83349         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83350         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83351         (END_CHK): Define.
83352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83353         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83354         mempcpy-ssse3-back memmove-ssse3-back.
83355         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83356         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83357         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83358         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83359         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83360         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83361         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83362         * sysdeps/x86_64/multiarch/memmove.c: New file.
83363         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83364         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83365         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83366         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83368         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83369         Define.
83370         (index_Fast_Copy_Backward): Define.
83371         (HAS_ARCH_FEATURE): Define.
83372         (HAS_FAST_REP_STRING): Define.
83373         (HAS_FAST_COPY_BACKWARD): Define.
83375 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83377         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83378         Restore proper fallback handling.
83380 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83382         [BZ #11701]
83383         * posix/group_member.c (__group_member): Correct checking loop.
83385         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83386         OOM in getpwuid_r correctly.  Return error number when the caller
83387         should return, otherwise -1.
83388         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83389         call returning > 0 value.
83390         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83392 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83394         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83395         libc_nonshared.a from targets in modules-names.
83397 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83399         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83400         requires it.
83402 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83404         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83405         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83407         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83409 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83411         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83413 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83415         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83416         and F_GETPIPE_SZ.
83417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83418         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83421         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83422         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83424 2010-06-14  Roland McGrath  <roland@redhat.com>
83426         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83428 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83430         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83431         __REDIRECT followed by __THROW.
83432         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83433         * posix/getopt.h (getopt): Likewise.
83435 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83437         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83438         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83439         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83440         in AT_FLAGS.
83441         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83442         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83444 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83446         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83448 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83450         [BZ #11640]
83451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83452         Properly check family and model.
83454 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83456         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83458 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83460         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83462 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83464         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83465         symbol reference.
83467 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83469         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83470         symbol reference.
83472 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83474         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83475         and internal_recvmmsg.
83476         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83477         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83478         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83479         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83481         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83482         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83483         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83485 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83487         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83489 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83491         POWER7 optimizations.
83492         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83493         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83495 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83497         * version.h: Update for 2.13 development version.
83499 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83501         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83502         exceptions.  Return 0.
83504 2010-05-07  Roland McGrath  <roland@redhat.com>
83506         * elf/ldconfig.c (main): Add a const.
83508 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83510         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83511         (args_options): Add no-idn option.
83512         (ahosts_keys_int): Add idn_flags to ai_flags.
83513         (parse_option): Handle 'i' option to clear idn_flags.
83515         * malloc/malloc.c (_int_free): Possible race in the most recently
83516         added check.  Only act on the data if no current modification
83517         happened.
83519 See ChangeLog.17 for earlier changes.